‎2006 May 30 11:17 AM
Hi,
on screen of module pool there is one field,,which function module should be used to get value table records for that field.
Thanx.
‎2006 May 30 1:05 PM
HI Pillac,
Use the FM DYNP_VALUES_READ to get the
value of in the screen field.
Use the FM F4IF_INT_TABLE_VALUE_REQUEST to
display the value table.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = dynpfields
EXCEPTIONS
OTHERS = 11.
MOVE dynpfields-fieldvalue TO l_value.
Use this l_value to build the value table.
Onc eit is done use the following FM.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD1'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = l_fieldname
value_org = 'S'
TABLES
value_tab = t_f4_list
RETURN_TAB = t_return_tab.
‎2006 May 30 11:22 AM
‎2006 May 30 11:23 AM
hi pillac,
i think u should implement ur own logic in the pbo of screen to get values into that field.
regards,
keerthi.
‎2006 May 30 11:24 AM
‎2006 May 30 11:52 AM
‎2006 May 30 12:05 PM
hi pillac,
try fm 'F4IF_INT_TABLE_VALUE_REQUEST'.
hope this helps,
priya.
‎2006 May 30 1:05 PM
HI Pillac,
Use the FM DYNP_VALUES_READ to get the
value of in the screen field.
Use the FM F4IF_INT_TABLE_VALUE_REQUEST to
display the value table.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = dynpfields
EXCEPTIONS
OTHERS = 11.
MOVE dynpfields-fieldvalue TO l_value.
Use this l_value to build the value table.
Onc eit is done use the following FM.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD1'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = l_fieldname
value_org = 'S'
TABLES
value_tab = t_f4_list
RETURN_TAB = t_return_tab.