Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

calling Searchhelp dynamically

Former Member
0 Kudos

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.

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos

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