‎2007 Jun 15 9:21 AM
‎2007 Jun 15 9:27 AM
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
‎2007 Jun 15 9:27 AM
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
‎2007 Jun 15 9:29 AM
Hi,
PERFORM subroutine_of_a IN PROGRAM a TABLES .... USING .... CHANGING...
Regards
‎2007 Jun 15 9:31 AM