Pages

Wednesday, 4 September 2013

Implement input helps from the ABAP Dictionary (DDIC) in Adobe form

As we know, normally we will fix the drop down value serve as search help.
Or we can trigger ABAP WDP application to display search help.

Here this is another method that you can implement the old method of HR form which using ISRSCENARIO to populate input helps from ABAP Dictionary(DDIC) in Adobe form.

Here how we achieve this :
1. First add a button onto form which will be used to pop up search help
2. In the click* event of the button, add this JavaScript code
xfa.record.CONTROL_PARAM.ISR_EVENT.value = "USER_EVENT_CHECK";
xfa.record.GENERAL_DATA.HEADER.EXT_REF_NUMBER.value = "VALUE_HELP";
3. In the exit* event of the button, replace the wording REPLACE_THIS with the field name which has bound to a data element contains search help.
var fieldName = "REPLACE_THIS";
as var fieldName = "PLANS";

Example, update button will call up position search help.


No comments:

Post a Comment