Skip to Content

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

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 02, 2012 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.