Application Development 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: 

perform

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

8 REPLIES 8

Former Member
0 Kudos

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.

0 Kudos

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.

0 Kudos

Try to include that include containing internal table in the subroutine pool.

Former Member
0 Kudos

Hi,

Create that internal table within ur main program.

Thanks

Rajesh Kumar

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

hi use as below

PERFORM (RNAME) IN PROGRAM (PNAME) IF FOUND.

Then you will not get a dump.

regadrs,

Bhupal

0 Kudos

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.