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 subroutine call

Former Member
0 Likes
767

how to perform dynamic subroutine call

3 REPLIES 3
Read only

Former Member
0 Likes
445

Hi,

In the Program where you are writing the PERFORM statement: write as below:

PERFORM <Subroutine Name>(give the other Program name where this subroutine has to be called dynamically) USING <paramters>.

In the Other program you will just call this perform with FORM... ENDFORM...

The PERFORM will not appear in that program.

Regards,

Anji

Read only

0 Likes
445

HI,

In my case, I have developed a routine to pass data to some other server using COMMUNICATION statement, i am not using two executable programs rather from ABAP/4 program to some ETL. In this scenario how can i do this dynamic PERFORM can you give any example.

Regards.

Read only

Former Member
0 Likes
445

HI,

PERFORM <Subroutine Name> IN PROGRAM USING <paramters>.

Kishore.