2012 Jun 21 9:09 AM
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 ' .
2012 Jun 21 8:08 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |