‎2007 Apr 26 5:16 PM
Does anyone know the name of the standard Module that execute an specific match-code by passing the import and export parameters?
‎2007 Apr 26 5:21 PM
‎2007 Apr 26 5:23 PM
Hi,
Check this..
In PROCESS ON VALUE-REQUEST event...call the search help for the field using the function module F4IF_START_VALUE_REQUEST
Then from the return internal table move the values to the table control internal table..
Check this example of how to use this function module..
TYPE-POOLS: shlp.
DATA: sh TYPE shlp_descr_t.
DATA: lt_f4 LIKE ddshretval OCCURS 0 WITH HEADER LINE.
PARAMETERS: p_plnty TYPE plnty.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_plnty.
DATA: interface LIKE ddshiface OCCURS 0 WITH HEADER LINE.
DATA: v_plnnr TYPE plnnr.
DATA: v_plnal TYPE plnal.
sh-shlpname = 'PLKS'.
sh-shlptype = 'SH'.
CALL FUNCTION 'DD_SHLP_GET_DIALOG_INFO'
CHANGING
shlp = sh.
interface-shlpfield = 'PLNNR'.
interface-valfield = 'V_PLNNR'.
APPEND interface.
interface-shlpfield = 'PLNAL'.
interface-valfield = 'V_PLNAL'.
APPEND interface.
sh-interface[] = interface[].
DATA: t_return LIKE ddshretval OCCURS 0 WITH HEADER LINE.
DATA: v_subrc TYPE sysubrc.
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
shlp = sh
disponly = ' '
IMPORTING
rc = v_subrc
TABLES
return_values = t_return.
Thanks,
Naren