Pages

Wednesday, 4 September 2013

How to create ABAP Webdynpro type of search help

In HCM Processes and forms, we can use ABAP wdp search help.

To do this,
1. Assume we would like to trigger the search help using button, add a new button
2. Put the client code below in correspond event
mouseDown* event
$record.CONTROL_PARAM.ISR_EVENT = "USER_EVENT_POPUP"
$record.HRASR_FORM_WINDOW.DATA[*].FIELD.value = "HRRCF_C_POSITION"

click* event
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");

This will be the screen using HRRCF_C_POSITION ABAP WDP search help.


If you want to enhance this ABAP WDP component, use transaction code SE80 to open HRRCF_C_POSITION under "Web Dynpro Comp. / Intf." dropdown, and implement pre / post exit on this ABAP WDP.

No comments:

Post a Comment