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

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

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

Hi Clemens

THANK you for your answers.

can you be clear with the terms dyntab <dline> outtab <out> <line> <source> <dest>......

The following code displays the data in internal representation, but i want it in correct format say it should display float values,date,time ,etc...........

LOOP AT <fsepo1> ASSIGNING <record>.
  DO.
    ASSIGN COMPONENT sy-index OF STRUCTURE <record> TO <field>.
    IF sy-subrc = 0.
      lv_field = <field>.
    IF lv_record IS INITIAL.
       lv_record = lv_field.
     ELSE.
     CONCATENATE lv_record lv_field INTO lv_record  SEPARATED BY '   '.
     ENDIF.
    ELSE.
      EXIT." DO
    ENDIF.
  ENDDO.
  APPEND lv_record TO lt_output.
  CLEAR lv_record.
ENDLOOP.

39 REPLIES 39