2008 Apr 29 1:01 PM
hi gurus
can anyone suggest me
how to get value request and help request for parameters
thanks®ards
kals.
2008 Apr 29 1:02 PM
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.
2008 Apr 29 1:03 PM
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
2008 Apr 29 1:08 PM
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.