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

FM with table control

Former Member
0 Likes
389

Hi Experts,

I am doing Function module name: 'DYNP_VALUES_READ'

& Function Module name: F4IF_INT_TABLE_VALUE_REQUEST

i donot know about that function module with table control pgm.

plz send me that pgm!!

if solved then i will provide ur reward point!!!

Regards,

S.Suresh.

2 REPLIES 2
Read only

Former Member
0 Likes
350

Hi suresh,

Use Function Module F4IF_INT_TABLE_VALUE_REQUEST.

This Function Module returns the values selected in an internal table. Very

handy when programming your very own F4 help for a field.

Example:

data:

begin of t_values occurs 2,

value like kna1-begru,

end of t_values,

t_return like ddshretval occurs 0 with header line.

t_values = 'PAR*'.

append t_values.

t_values = 'UGG'.

append t_values.

call function 'F4IF_INT_TABLE_VALUE_REQUEST'

exporting

retfield = 'BEGRU'

value_org = 'S'

tables

value_tab = t_values

return_tab = t_return

exceptions

parameter_error = 1

no_values_found = 2

others = 3.

if sy-subrc = 0.

read table t_return index 1.

endif.

thanks

karthik

reqward me if usefull

Read only

Former Member
0 Likes
350

Hi Suresh,

Do you want a Function module taht displays a table for an internal table in a pop up?

If yes:

then try:

POPUP_WITH_TABLE_DISPLAY

Regards,

ravi