Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module for screen painter

Former Member
0 Likes
990

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
808

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.

6 REPLIES 6
Read only

Former Member
0 Likes
808

hi

try this FM

<b>F4_FIELD_ON_VALUE_REQUEST</b>

Read only

Former Member
0 Likes
808

hi pillac,

i think u should implement ur own logic in the pbo of screen to get values into that field.

regards,

keerthi.

Read only

Former Member
0 Likes
808

Use the Function Module:

DD_DOMVALUES_GET

Regards,

ravi

Read only

Former Member
0 Likes
808

Hi,

try with this FM <b>DDUT_DOMVALUES_GET</b>

Regards

vijay

Read only

Former Member
0 Likes
808

hi pillac,

try fm 'F4IF_INT_TABLE_VALUE_REQUEST'.

hope this helps,

priya.

Read only

Former Member
0 Likes
809

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.