Skip to Content
Author's profile photo Vinod Vemuru

Golden tips while transporting substitutions/validations

Reader Note: Below tips are by assuming, reader is aware of substitution/validation concept in SAP.

Introduction:

Substitution and validation is one of the most important function which many functional consultants are not comfortable with.

Substitutions are used to substitute the transaction data based on custom business logic. Data source can be a constant value, field to field assignment or user exit.

Validations are used to do custom business specific validations (Which is not covered by standard SAP).

Both are called during document posting.

There are already couple of articles in SCN explaining the details of substitution and validation. So, I will not go into details on what is the purpose and how to use them.

I would like to stress on points to be considered while transporting the changes related to Substitution/Validation.

During development:

1. Compare the existing steps in production system with development system. This has to be done manually for each step as there is no version comparison option. There is a high risk that someone can do change in development and leave it without reverting. As the change is not automatically recorded in TR, unintentional changes would get moved to production system when a new change is moved.


2. Only one step in validation/substitution can’t be included in TR. When we transport a validation/substitution, all the steps included in a folder would get transported (Even though there are no changes). Due to this, before releasing the TR, we need to make sure that all the steps in validation/substitution in production system and in the development system are in Sync. If this is not done, there is chance that unintentional validation/substitution steps will get transported to production system which may have serious implications as these are called for every FI document creation.

Other alternative could be to delete the entries manually from TR which are not related to our change (Best option I feel). But, this has to be done with utmost care as required entries shouldn’t be deleted.

3. If, any change is being made in user exit (for validation/substitution), make sure that all the related transports move to production system at same time. This avoids any dumps that can occur due to syntax errors.

After transport:


4. When validation/substitution is moved from one system to another system, it is advised to run the program RGUGBR00 (validations/substitutions regeneration). This ensures proper linking of the changes done in customization/user exits.

5. After moving the TR, do monitor the system proactively to see if any dumps are happening because of substitution/validation changes.

Please feel free to comment/add any other suggestions which are missed here

Best Regards,

Vinod Vemuru

Assigned Tags

      26 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sanil Bhandari
      Sanil Bhandari

      Thanks, it is a very useful information

      Regards

      Sanil Bhandari

      Author's profile photo Former Member
      Former Member

      Good One...Thanks.

      Best Regards,

      Naresh K.

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Sanil, Naresh 🙂

      Regards,

      V V

      Author's profile photo Erwin Leitner
      Erwin Leitner

      Hello,

      Thank you very much for useful information. 🙂 ➕

      all the best Erwin

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Erwin. Have a great day 🙂

      Author's profile photo CA. Prasad Atmakuri
      CA. Prasad Atmakuri

      Thanks for sharing 🙂

      Regards

      Prasad

      Author's profile photo Ranu Eugene
      Ranu Eugene

      Hi Vinod,

      Very good and useful document.

      Frankly speaking I am working on one of the substitution and will keep all the tips given by you in the Mind before moving the TR.

      Thanks again.

      Keep up the good work. 🙂

      Best of Luck. 🙂

      Regards,

      Eugene

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Prasad, Eugene.

      Yes. We prepared this checklist after facing a big issue in production. Thought this information would be helpful for many people and hence shared here 😉

      Sorry Eugene. I didn't realize your first name is Eugene. Used to address you as Ranu 🙁

      Thanks,

      V V

      Author's profile photo Ranu Eugene
      Ranu Eugene

      No issues at all Vinod and as we all know that legend William Shakespeare quoted once that "What's in a name??"". 😉

      So don't be sorry and keep smiling. 🙂

      ps:This signature is only for you. 😉

      Best  of Luck. 🙂

      Regards

      Ranu

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Haha...Good one Ranu 😛

      Author's profile photo Lakshmi Sama
      Lakshmi Sama

      Hello Vinod,

      Very useful doc and thanks for sharing your knowledge.

      Regards,

      Lakshmi S

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Lakshmi 🙂

      Author's profile photo Srinu S
      Srinu S

      Hi Vinod,

      Very helpful document shared.thanks for sharing 🙂

      Srinu.

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Srinu 🙂

      Author's profile photo Arvind Pereira
      Arvind Pereira

      Hi Vinod,

      Very useful information.

      Regards

      Arvind Leo Pereira

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thanks Arvind 🙂

      Author's profile photo Vladimir Osipenko
      Vladimir Osipenko

      Thnx 4 valuable info! ➕

      Wonder why SAP AG after all these years since 1972 still does not publish  their "fancy" documentation in that transparent way 🙂 .

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      Thank you Vladimir. SAP is keep doing their best in releasing documentation. Things are changing fast, new releases are keep coming. I feel, SAP documentation is still one of the best in industry except few loop holes here and there 🙂

      Author's profile photo Former Member
      Former Member

      Very nice  document.  Thanks for it.

      One more thing to keep in mind is sets.  If you maintain sets directly in production then you should be very careful while transporting validations. 

      One of our fresh joinee included sets also in transport and all the sets got overwritten in production. ☺

      Sadhana.

      Author's profile photo Vinod Vemuru
      Vinod Vemuru
      Blog Post Author

      You are right Sadhana. Each and every entry in TR should be carefully validated before releasing.

      Author's profile photo Partha Sarathi Samantaray
      Partha Sarathi Samantaray

      Hi Vinod,

      Thanks for the details! I have a query regarding the inclusion/exclusion of sets. I have created a new substitution and when I am trying to include this substitution in the TR manually through GCT0, there are three check boxes. I removed the check from the middle box ''Set'', as I don't want any sets to be moved along. Anyways this is a fresh substitution and I have not maintained any set in that,so no question of any Set to be moving. However, my concern was , if the sets maintained for other substitutions are excluded in the TR or not. I don't want any of the sets to be included in the TR.

      Appreciate a quick response.

      Regards

      Partha

      Author's profile photo Amit Singh
      Amit Singh

      Thanks, sir....your old 2013 tips still helping us even in 2019 .....

      It's worth to read all your tips on SCN.

       

      Amit Singh.

       

      Author's profile photo Amit Singh
      Amit Singh

      I have one question, Which one called first, Validation or substitution?

       

      Thanks,

      Amit Singh

      Bangalore

      Author's profile photo Madhu Arabandi
      Madhu Arabandi

      1.Sir I have one doubt.who will run that program.functional consultant or abaper

      2.1st we developed in golden client in development server.next we need to do unit testing or not sir??

      And which sever we need to run program sir.

       

       

      Author's profile photo Sergiu Iatco
      Sergiu Iatco

      You can implement in development sistem this tool Validation & Substitution comparison tool. Setup RFC Connections with transaction SM59 for test and production systems and your are ready to compare substitutions between systems with one click in an ALV report. 

      Author's profile photo Satyanarayana C V V
      Satyanarayana C V V

      This information is very useful.

      How to resolve incase sets are moved to production while moving the TR ?