Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

not pusing the data into input field

Former Member
0 Likes
368

i am enhancing already existing search help i.e with some condition(only few relevent values should be available for search help based on condition) i have used

F4IF_INT_TABLE_VALUE_REQUEST  with this i am getting the values in search help pop but not getting available for input once i click on it i.e i am getting values in ''value_tab but i am not getting values in 'RETURN_TAB ' .

i am enhancing already existing search help i.e with some condition(only few relevent values should be available for search help based on condition) i have used

F4IF_INT_TABLE_VALUE_REQUEST  with this i am getting the values in search help pop but not getting available for input once i click on it i.e i am getting values in ''value_tab but i am not getting values in 'RETURN_TAB ' .

1 REPLY 1
Read only

former_member213851
Active Contributor
0 Likes
336

Hi Sap Mail,

You need to use  FM DYNP_VALUES_UPDATE to pass selected values on the selection screen.

Eg:

DATA  : dyfields LIKE dynpread OCCURS 1 WITH HEADER LINE.

     DYFIELDS-FIELDNAME = 'S_MATNR-LOW'.             "Selection screen field where value needs to be populated

     DYFIELDS-FIELDVALUE = LI_RET_TAB-FIELDVAL. " Value from Internal table that is to be populated

      APPEND DYFIELDS.

    CALL FUNCTION 'DYNP_VALUES_UPDATE'

      EXPORTING

        DYNAME                     = SY-CPROG

        DYNUMB                     = SY-DYNNR

      TABLES

        DYNPFIELDS                 = DYFIELDS

      EXCEPTIONS

        INVALID_ABAPWORKAREA       = 1

        INVALID_DYNPROFIELD        = 2

        INVALID_DYNPRONAME         = 3

        INVALID_DYNPRONUMMER       = 4

        INVALID_REQUEST            = 5

        NO_FIELDDESCRIPTION        = 6

        UNDEFIND_ERROR             = 7

        OTHERS                     = 8.

Best Regards,

Sachin