08-02-2012 8:24 AM
Dear all
I have done a dialog prog , in that i have defined subscreen to pass select options . i have done search help for that select options field . i can get f4 help for that but when when i selecting any value in that help (pop up window) that not appearing in the select option field (s_bwtar) , help me to rectify this
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_BWTAR-LOW.
DATA : BEGIN OF IT_HELP OCCURS 0,
BWTAR TYPE MBEW-BWTAR,
END OF IT_HELP.
SELECT DISTINCT
bwtar
FROM MBEW
INTO CORRESPONDING FIELDS OF TABLE it_help.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'S_BWTAR'
dynpprog = sy-repid
dynpnr = '400'
window_title = 'Year' " #EC NOTEXT
value_org = 'S'
DISPLAY = 'F'
TABLES
value_tab = IT_HELP
* return_tab = lt_select_values
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
08-02-2012 8:42 AM
As far I can see, you have commented the return_tab parameter.
Uncomment the line, loop at return tab and move fieldval to s_bwtar-low.
Regards.
08-02-2012 8:42 AM
As far I can see, you have commented the return_tab parameter.
Uncomment the line, loop at return tab and move fieldval to s_bwtar-low.
Regards.
08-02-2012 9:05 AM