10-22-2008 7:14 AM
Hi,
In my report I have one perform statement which is
PERFORM modify_pr_to_prna(ZTPSEPPSP034I).
here ztpseppsp034i is of type I.when am executing this prog it's going to dump, because include is of type I.
How can I modify my include as subroutine type, to avoide dump, I need to use the perform statement as it is without any modification.
10-22-2008 7:17 AM
Hi,
Delete the inlcude ZTPSEPPSP034I and recretate it as subroutine pool. Before deleting download the contents and reupload it.
Or
Put
Include ZTPSEPPSP034I.
statement in first line of code and change perform as:
PERFORM modify_pr_to_prna.
Thanks & Regards,
Navneeth K.
10-22-2008 7:17 AM
Hi,
Delete the inlcude ZTPSEPPSP034I and recretate it as subroutine pool. Before deleting download the contents and reupload it.
Or
Put
Include ZTPSEPPSP034I.
statement in first line of code and change perform as:
PERFORM modify_pr_to_prna.
Thanks & Regards,
Navneeth K.
10-22-2008 7:40 AM
Hi,
Thanks for the rply.
When am creating like subroutine pool, it's giving error message one internal table is unknown. Am getting that include from previous include. How to avoid this.
10-22-2008 7:52 AM
Try to include that include containing internal table in the subroutine pool.
10-22-2008 7:47 AM
Hi,
Create that internal table within ur main program.
Thanks
Rajesh Kumar
10-22-2008 7:49 AM
Hi,
thanx for response, but that internal table is getting dat from all previous includes.
If I declared here means the data i.e getting into this tablw won't reflect.
10-22-2008 7:53 AM
Hello,
When we are calling any include program from our program then we have to use IN program statement for subroutins.
You create the subroutine pool it at the time of cretion of ZTPSEPPSP034I.
it will work fine.
PERFORM y_f_do_bdc_prog IN PROGRAM
ZTPSEPPSP034I.
or if u r using any using statements u can use USING variable.
Edited by: Santosh Marupally on Oct 22, 2008 8:54 AM
10-22-2008 7:54 AM
hi use as below
PERFORM (RNAME) IN PROGRAM (PNAME) IF FOUND.
Then you will not get a dump.
regadrs,
Bhupal
10-22-2008 8:09 AM
Hi,
thanx for rply even now am getting dump & it's showing error analysis as below:
If the system determines at runtime that a program called with SUBMIT
or a routine accessed by an external PERFORM
cannot be executed (because the program is type I instead of 1
or M), that program must be terminated.