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 performs...

Former Member
0 Likes
884

hi experts

Please tell me how to call performs dynamically...

4 REPLIES 4
Read only

Former Member
0 Likes
533

Hello,

Yes as long as you pass the parameters in the way it is expected by the subroutine.

You can have a statement like this in program B to call a subroutine in program A

PERFORM subroutine_of_a IN PROGRAM a TABLES .... USING .... CHANGING...

Please check this link for detail information and sample codes.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db978335c111d1829f0000e829fbfe/content.htm

Regards,

VAsanth

Read only

Former Member
0 Likes
533

Do u mean doing the PERFORM operation in a program1 but the FORM is in some other program2?

If this is the case, using INCLUDE <program2>, u can perform it.

Thanks,

Max

Read only

Former Member
0 Likes
533

Hi,

PERFORM subroutine_of_a IN PROGRAM a TABLES .... USING .... CHANGING...

Regards

Read only

Former Member