05-31-2007 7:12 AM
Hi I have to call one of the search helps dynamically from BADI.
I am using F4IF_FIELD_VALUE_REQUEST..
My requirement here is...in one of the fields of search help, a value should be filled at the time of popup.
How to do this?
Thanks & Regards,
Kalyan.
05-31-2007 7:16 AM
Hello Kalyan
In order to change the search help you can use the CALLBACK parameters (CALLBACK_PROGRAM and CALLBACK_FORM).
The callback form has a defined interface which is described in the description of the parameter CALLBACK_FORM:
The form must have the following interface:
FORM <NAME> TABLES RECORD_TAB STRUCTURE SEAHLPRES
CHANGING SHLP TYPE SHLP_DESCR
CALLCONTROL LIKE DDSHF4CTRL.
The F4 help works internally with a complex description of the search
help passed in parameter SHLP. It can be a search help defined in the
ABAP Dictionary (only for module F4IF_FIELD_VALUE_REQUEST). The
...
<b>SHLP </b>is a complex type where you can change the layout of the search help, the returned values and pose restrictions on the search help values.
Regards
Uwe