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

use perform in some test program

Former Member
0 Likes
597

HI,

i see in big program some perform ,and i want to test just this perform ,

maybe in other new program ,how i can do that?

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
579

Many Options:few are may be some like below examples:

With include Program B in Main program A.

report A.
include B.
perform <routine name>.
"and form could be written in B

Simply by giving program name with perform.

PERFORM <form name> IN PROGRAM (program name)
 USING XXX changing YYY.

4 REPLIES 4
Read only

Former Member
0 Likes
580

Many Options:few are may be some like below examples:

With include Program B in Main program A.

report A.
include B.
perform <routine name>.
"and form could be written in B

Simply by giving program name with perform.

PERFORM <form name> IN PROGRAM (program name)
 USING XXX changing YYY.

Read only

madan_ullasa
Contributor
0 Likes
579

Hi,

If you want to test it in the same program just put a break point at that point to test it.....

Read only

Former Member
0 Likes
579

Hi ,

It is better to test the Perform in the same program itself as it may import values from the program.

As told just put a break in the Perform and step into (F5) of the code of the Subroutine to check for the underlying functionality.

Regards,

Radhika.

Read only

Former Member
0 Likes
579

Please donot forget to pass the correct parameters in the correct order after the using/changing clause.

Also, like others said, debug the subroutie(perform) in the same program, understand why it has been used and how the variables passed are affected before using it in another program.

Thanks,

Saipriya