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

Calling include dynamically

Former Member
0 Likes
960

Hello all.

Does anybody know how to call an include dynamically?

Or call an abap program dynamically passing a global internal table and the called programa fills this internal table and returns it to the caller program to generate a log report?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
727

Is this what you are looking for?.

DATA: program(10)   TYPE c VALUE 'PROGRAM1',

           subroutine(4) TYPE c  VALUE 'TEST'.

PERFORM (subroutine) IN PROGRAM (program) USING t_table.

Reward points if helpful.

Mauro.

3 REPLIES 3
Read only

Former Member
0 Likes
728

Is this what you are looking for?.

DATA: program(10)   TYPE c VALUE 'PROGRAM1',

           subroutine(4) TYPE c  VALUE 'TEST'.

PERFORM (subroutine) IN PROGRAM (program) USING t_table.

Reward points if helpful.

Mauro.

Read only

rosenberg_eitan
Active Contributor
0 Likes
727

Hi,

IMHO it is better to describe the task you need to do and not

how to implement some technical solution that might do the job.....

Regards .

Read only

Former Member
0 Likes
727

Thanks for your help.