Search help from an internal table
I have a dialog screen in which I want a F4 search help on one of the fields . However , this should pop out values from an internal table instead of a databse table , Can this be done.
Abhishek Jolly replied
Code this in the event, Process On Value Request for the field.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
RETFIELD = <name of return field in internal table>
DYNPPROG = <Report Name i.e sy-repid>
DYNPNR = <Screen number>
DYNPROFIELD = <screen field name>
VALUE_ORG = 'S'
VALUE_TAB = <internal Table with values>
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
Message was edited by: