cancel
Showing results for 
Search instead for 
Did you mean: 

Input Help values

shiva_suvarna
Participant
0 Kudos

Hi friends

Is there any FM to get the input Help values ( fixed , check table values, search help values ) if i specify the field.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shiva,

As Ajay put it, F4IF_INT_TABLE_VALUE_REQUEST is the standard FM that is used to program a Search Help.

Remember that you can create a F4 value request by creating a DDIC for F4 as well, if you want it to be assoiciated with teh DDIC.

Resort to the Fm mentioned above only if this has to be for the program ONLY.

You just need to populate the values that need to appear when you press F4 into an internal table. Ofcourse u will have to give the field name and other details.

Remember 2 reward suitable points.

Reg,

PP.

Former Member
0 Kudos

DATA : BEGIN OF itab OCCURS 0,

matnr LIKE mara-matnr,

END OF itab.

parameter : p_matnr like mara-matnr.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.

itab-matnr = 'VAMSI1'.

APPEND itab.

itab-matnr = 'VAMSI2'.

APPEND itab.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'MATNR'

dynpprog = 'Y_VAMSI'

dynpnr = '1000'

dynprofield = 'P_MATNR'

value_org = 'S'

TABLES

value_tab = itab

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3

.

You need to use the fm the above said way. If you want more than one field to be displayed declare as many fields in the internal table as you need.

If you want to use for SELECT-OPTIONS, you need to assign S_MATNR-LOW or HIGH to dynprofield.

Vamsi

Answers (1)

Answers (1)

Former Member
0 Kudos

You can check the documentation of FM F4IF_INT_TABLE_VALUE_REQUEST to see if it serves your purpose.

athavanraja
Active Contributor
0 Kudos

check out

BAPI_HELPVALUES_GET

BAPI_HELPVALUES_GET_SEARCHHELP

and its documentation.

Regards

Raja