F4 help based on criteria.
i am using a F4 help for Bplan that is benefit plan but im not grtting the field displayed on the selection screen.
the code used is :
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_benft.
SELECT bplan barea ltext
INTO CORRESPONDING FIELDS OF TABLE it_benefit
WHERE barea = 'US'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
retfield = 'BPLAN'
value_org = 'S'
value_tab = it_benefit.
this is not working. can anyone suggest something on this??