Skip to Content
Author's profile photo Shah Nawaz Shabuddin

How To Collect a Variant and ABAP Program in a Transport

Business Scenario

“Sometimes, you would need to collect a variant of an ABAP program and transport across systems (D/Q/P).”


You wish to have an automatic ticketing mechanism in which each process chain failure will generate a ticket ( in our case it’s Remedy) and thus the efforts are tracked. So in each of your process chain’s you want to check the failure(s) and intimate to the Firefighting team.

To achieve this you have setup a custom program step (in all chains) to generate a message with complete details of failure and you would want this program to get executed with a predefined variant across all boxes (DEV/QAS/PRD).

For this to happen, you may want to transport the variant along with the program step. Variants are not automatically collected in transports as we build them, nor when we drag a process chain into transport manager (even when using the before and after setting). 

Solution Description

Here are the steps you need to follow to add a variant (note there is a different process to add the variant and the program and each needs to be added separately).

 Note: Below given is a predefined program that sends the message to ITO team, I have made use of this program in our process chains. 


This program is used to create Incident tickets for Firefighting team.

The Step by Step Solution 

  • Open the process chain in editable mode.
  • Double click the Program step that contains the Variant.
  • In this case we are double clicking on Program – “Inform ITO…”          


  • Click on the change icon to the right of Program Variant (as shown below)


  • Here you select Utilities from the menu bar at the top, then select Transport Request. 



  • Click the Execute (clock) icon.  This brings up a list of variants for you to Transport.
  • image

  • Check the box next to the variant you need to transport and click Continue.



  • You will be prompted for a transport.  Click the paper icon for ‘Create Request’.  Then you can create a new transport for the variant.


Once this is done, the Process step (not the actual program) along with the required variants is collected into your transport request.


  • Next, you need to collect the Program.  From within the Process Maintenance:  ABAP Program screen you now go to the Menu bar and select Variant Menu–> Transport and then it will bring you to Transport Connection.  The same is shown in below snap.


  • Now the tranport dialogue box will appear and you can add this program to the same Transport Request which we had used earlier to collect the variant.   

Assigned tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Kumud Singh
      Kumud Singh

      Report RSTRANSP can be directly used to push variants into Transport.



      Author's profile photo Dirk Wittenberg
      Dirk Wittenberg
      Hi Shah,

      I guess "Process chain maintenance" is something special for business warehous ? I'm only working within the ERP system and thus I've never heard of it.

      Kumut you're right, within the ERP report RSTRANSP should suffice.


      Author's profile photo Former Member
      Former Member

      First, I loved this blog.  Lots of screen shots.  That keeps me interested, and makes it easier for me to do later.  And I know how hard it is.  I rarely have pictures in mine :{

      Author's profile photo Shah Nawaz Shabuddin
      Shah Nawaz Shabuddin
      Blog Post Author
      Hello Kumud, Dirk and Michelle,

      While I pickup kumud's valid input, I agree with Michelle as well. Yes. there are several ways to solve a single problem.

      Especially I loved  Michelle's saying "It depends... it depends on which way you prefer to..."

      Thanks indeed for sharing your thoughts, supportive comments. I'll try to appear on WIKI soon.


      Author's profile photo Former Member
      Former Member
      YES!  A WIKI - be sure to post the link here.  I seem to get further behind the more I think about SCN.  I have ideas for blogs, WIKIs, and articles bouncing around in my head.   BUT I never seem to get everything done.

      A WIKI is a nice way to collaborate.  I of course, love blogs that introduce the WIKI.  I tend to keep up with blogs more than WIKIs.

      Yes, it is SAP isn't it?  It depends seems to be answer to everything.  It can be frustrating at times.  What do I use when?  Sometimes I wonder about that.  There is never a perfect answer.

      At times it can be empowering.  You can use what fits you most!  And I love that.  Also it always keeps you / me thinking.

      Thank you in advance for the WIKI!


      Author's profile photo Former Member
      Former Member
      quite an informative.