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: 

Find Z copy of standard programs

Former Member
0 Kudos

Hello,

I would like know how find programs Z copy of standard, i need to locate all,

Thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This transaction allows you to find all cloned programs:

/sdf/cd_cca

8 REPLIES 8

kiran_k8
Active Contributor
0 Kudos

Not possible unless a documentation is maintained in either the zprogram or somewhere.

Kiran.

former_member195402
Active Contributor
0 Kudos

Hi,

if you have naming conventions, you have a chance.

All of our Z programs for copies of SAP programs starting with "R" must have a prefix "Z" instead of "R". If wen need more_variants, the further copies will have a numbered suffix.

For SAP module pools and function groups it is a little more difficult. "Z" has to be additionally set between "SAPL" or "SAPM" and SAP suffix. But it is only allowed for some very rare reasons. Z copies always cause problems for they will not be updated by SAP notes or update packages.

But this are our conventions. You cannot find copies from RVADRD01 to Z1.

Regards,

Klaus

Edited by: Klaus Babl on Mar 17, 2011 12:13 PM

Former Member
0 Kudos

This message was moderated.

matt
Active Contributor
0 Kudos

There is the company www.panayainc.com who have software that can analyse your system, which, among other things, can find cloned programs. I've no idea how it does it, nor how accurate it is.

The only time you should clone a program is when you need the original functionality, and your modified functionality. For all other changes to standard, you should use exits, enhancements and, as last resort, repairs.

Repairs are safer than clones because they are recorded in the system. Clones are not.

0 Kudos

You can find copies on several ways, e.g.

- identical report titles

- usage of SAP statndard includes and special FMs

- entries in T390 and TNAPR

- ...

but there is no way to detect all copies, e.g. copies of SAP note programs with prefix "Z".

Regards,

Klaus

Former Member
0 Kudos

probably virtually impossible, in most installations, without a review/analysis of every Z transaction code and called program.

Former Member
0 Kudos

Thanks all!

Former Member
0 Kudos

This transaction allows you to find all cloned programs:

/sdf/cd_cca