Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use Value-Request on Screen Field

Hi

I m facing a problem .. the scenario is i have to limit search help on Screen 100 field . but the following line is not working

AT SELECTION-SCREEN ON help-REQUEST FOR wa-soffice.

kindly help me out

Regards

Ammad

Former Member
replied

Assuming you made the corrections as mentioned by Marcin & values are populated successfully in VALUES_TAB. You should try making these changes to the function call & check :

DATA: IT_RET LIKE DDSHRETVAL OCCURS 0 WITH header line. "-->Add the Return Table

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'VKBUR' "--> This should be the field of VALUES_TAB which should be returned to RETURN_TAB
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'WA-SOFFICE'
value_org = 'S'
TABLES
value_tab = values_tab.
RETURN_TAB = it_ret. "You have to use RETURN_TAB to get the value back to the screen field

BR,

Suhas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question