Skip to Content

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

Function module for screen painter

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.

Tags:
Former Member
Former Member replied

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.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question