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,699

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,492

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

Hi Sam,

I don't see the problem of this code. I did not see your code except one line. I don't know why you are discussing instead of doing.

I think if really the last thing missing is putting data from dynamic created table to output table, what's the problem?

loop at dyntab assigning <dline>.
  append initial line to outtab assigning <out>.
  do.
  assign component sy-index of <line> to <source>.
    if sy-subrc <> 0.
      exit.
    endif.
  assign component sy-index of <out> to <dest>.
  write <source> to <dest>.
  enddo.
endloop.

Regards

Clemens

P.S. I'd love to see more than 2 lines of your code

39 REPLIES 39