Upgrade tips…what’s worse than a modification?

I was going through a list of upgrade tip articles collected by Demir Barlas (here) in his SAP Watch blog (here).  Most of them look unobjectionable, but one touches on a pet peeve.  Amit Jain calls them out here (original SDN post here):

6) Cloned programs — Cloned programs are customer programs copied from standard programs… [they] are coded by copying the standard program to a Z-program, having the standard includes or standard function modules.  This causes issues after the upgrade, because the standard includes or functional modules might not work with our custom code.

Clones are insidious, because developers don’t think they’re system modifications.  They’re right: they’re worse than system modifications.  I’ve never heard a compelling case for cloning.  Directly modifying the standard program — while not exactly encouraged by SAP — is a more straightforward and honest approach:

  1. There’s no more pretending that a clone isn’t a modification.   Taking standard code, modifying it, tacking on a “Z” to the name, then claiming it isn’t a modification seems disingenous.
  2. Clones hide from SAP monitoring and other system features.  In an upgrade, SPAU has features that attempt to account for mods when updating the code base.  It is much simpler to deal with mods in SPAU than by searching through the new SAP program.
  3. Clones create non-value added work.  For example, all of the dependencies to/from the cloned program have to be re-established manually during an upgrade.  Never mind the manual bookkeeping involved…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: