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

dynamic function module call

Former Member
0 Likes
4,646

Hi all,

can anybody suggest me how to handle import, export and tables parameters in a dynamic function module call if they are associated with TABLE types.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
4,439

You might be interested in reading this [http://help.sap.com/abapdocu_702/en/abapcall_function_dynamic.htm].

Hi Sam,

it always depends on what you want.

You expect external representation of data (decimal and thousand separator, date format) but you get internal data representation. If you have fields in appropriate dynamically created structure/table, you can CREATE DATA lr_OUT TYPE CHAR LENGTH <output length> and then use WRITE TO to convert to externasl representation.

Get the ouput length from describe field or CL_ABAP_TYPEDESCR.

But, honestly, isn't that obvious?

Regards

Clemens

39 REPLIES 39