Skip to Content
0
Aug 02, 2012 at 07:24 AM

f4 search help value not appearing in the selection-option field

773 Views

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.