2007 Sep 20 4:24 AM
I have defined a SUB Routine ( FORM and ENDFORM) in program_1 how can call the same routine into antoher program program_2?
I have defined a SUB Routine ( FORM and ENDFORM) in program_1 how can call the same routine into antoher program program_2?
2007 Sep 20 5:15 AM
Hi,
Yes, you can call sub routine in other program.
ex- prog1.
form a.
endform.
prom2.
perform a from (prog1).
Regards,
2007 Sep 20 5:23 AM
hi
use follow syntax
perform sub1(zprogram)
regards
Nagesh.Paruchuri
2007 Sep 20 5:23 AM
Hi Venu,
Syntax is: Perform <form name> (reportname).
thanks,
maheedhar
2007 Sep 20 5:24 AM
Hi..
To call a subroutine from External Program
PERFORM <formname>(<PROGRAM>) [ parameters ] IF FOUND.
Eg:
PERFORM F_GET_DATA(ZPRG01) IF FOUND.
REWARD IF HELPFUL.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |