Application Development and Automation 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: 
Read only

how to get value request and help request for parameters

Former Member
0 Likes
853

hi gurus

can anyone suggest me

how to get value request and help request for parameters

thanks&regards

kals.

3 REPLIES 3
Read only

Former Member
0 Likes
754

hi:

see this ex: Here i wanted value request for s_bukrs. similarly u can do it for help request too.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_BUKRS-LOW.

PERFORM VALUE_REQ USING S_BUKRS-LOW.

FORM VALUE_REQ USING P_BUKRS.

I_FIELDTAB-TABNAME = 'T001'.

I_FIELDTAB-FIELDNAME = 'BUKRS'.

APPEND I_FIELDTAB.

SELECT BUKRS

FROM T001

INTO TABLE I_VALTAB.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = I_FIELDTAB-FIELDNAME

TABLES

VALUE_TAB = I_VALTAB

FIELD_TAB = I_FIELDTAB

RETURN_TAB = I_RETTAB

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

IF SY-SUBRC = 0.

P_BUKRS = I_RETTAB-FIELDVAL.

ENDIF.

Read only

Former Member
0 Likes
754

Hi Kalyan,

Use FM F4IF_INT_TABLE_VALUE_REQUEST.

or If you are using Module Pool Programming do the foll:

Eg:

in the properties box of that field

give name = SFLIGHT-CARRID

Program = check input field, give possible entries as 1.

Regards,

Sunil

Read only

Former Member
0 Likes
754

Hi Kalyan,

You can use se FM F4IF_INT_TABLE_VALUE_REQUEST

and pass the internal table containing all the values needed for F4 help or

Assign the searchhelp for the parameter which you can see the search help tab in the Data Dictionary ,select the field and press the search help tab you will get the search helps available for that or

Look into the value table inside the domain in value range.

these are the possible ways os assigning F4 help for a parameter.

Reward if useful.

Thanks & Regards,

Khan.