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 statement

Former Member
0 Kudos

Hi Experts,

There is a Perform statement in SAP 4.5b:

PERFORM 2150_FIND_COUNTRY/CAT_PC.

So when we replicate this into ECC version it throwing error like:

Syntactical Error:The "/" chacater is reserved for identification of namespaces . It must be entered twice . The name of a namespace must be atleast 3 characters long.

So we changed to PERFORM 2150_FIND_COUNTRY_CAT_PC.Then it worked fine.

But is it the way to do it?..How can we know that this Perform statement is used in how many and what programs?..

It should not effect to allother pgms which calls this Form.

I know Where used list for Prgram but not for Perform Statement.

Regards

Ravi,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

There is no such table which stores the occurances of PERFORM statement in any program.

So you can't find like that.

If needed we use SCAN ABAP source Code to find the same into takens...

reward if useful

regards,

ANJI

4 REPLIES 4

Former Member
0 Kudos

Hi,

There is no such table which stores the occurances of PERFORM statement in any program.

So you can't find like that.

If needed we use SCAN ABAP source Code to find the same into takens...

reward if useful

regards,

ANJI

Former Member
0 Kudos

You could do a where-used list on the form name in the very same way that you do for the Porgram name.. it will list all known instances where the form is called.

The problem occurs only when there is another program that calls this form dynamically - I am not aware of any ways to trap this. Maybe you can look for notes around this form name to see if SAP has this documented?

Hope this helps.

Sudha

Former Member
0 Kudos

Hi,

Use the Report RSRSCAN1 to search for that Perform or you can use the function module RPR_ABAP_SOURCE_SCAN to search for that perform

Regards

Sudheer

0 Kudos

hi sudheer,

the FM name you had specified is present in which version. also the program you had given searches for that form anly in the program name specified. it doesnt give the where used list for all the objects where all it is present

thanks,

Navneeth.K