Changing the SAP Standard – Transaction Variant
December 21, 2007
In some business, sometime we need to adjust business transaction by hiding all information not relevant and displaying only the important information.As a case, asset master data maintenance only permitted to change only General data. In this case you have modify the screen of asset maintenance, for detail case see image below :
Standard : display screen of AS02.

Purpose : view only General tab.

To create the transaction variant, proceeds as below :
- login to SAP and choose this path : Tools -> AcceleratedSAP -> Personalization -> SHD0-Transaction Variants
- Enter transaction code AS02, and enter the name of Variant (example ZAS02).
- Choose create button or F5. The system automatically call transaction code AS02.
- Enter the value on the General Tab.
- Enter name of screen variant and short text.
- Choose the option you want to display screen : Output only , Mandatory, Invisible, etc. In this case set tab Time Dependent, Allocation, Origin, and Depre. Area as invisible by ticking invisible box on optional dialog.
- Choose Continue function to proceed next screen, and repeat step 3-6 for all screen.
- In the last screen choose exit and save button.
- Enter short text for the transaction.
- And choose Save button to save your transaction variant.
Starting Transaction Variant, proceeds as below:
- Choose Tools -> AcceleratedSAP -> Personalization -> SHD0-Transaction Variants.
- Enter Transaction Code AS02 and Variant Name ZAS02.
- Choose Test button or F8.
To make this Transaction Variant can be executed individually, you need to created Variant Transaction. The step proceeds as below:
- Choose Tools -> AcceleratedSAP -> Personalization -> SHD0-Transaction Variants.
- Enter Transaction Code AS02 and Variant Name ZAS02.
- Choose Goto -> Create Variants Transaction.
- Enter the name of Transaction code and short text.
- Choose Save to save the Variant Transaction.
Entry Filed under: TECHNICAL. Tags: enhancement, sap, transaction.
8 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Radha | April 8, 2008 at 11:06 pm
I was trying to understand the SHD0 transaction and tried to use that for KE51 – create proft center . but it is giving the error
Variants are possible only for dialog transactions.
Message no. MS417
Diagnosis
You cannot create variants for variant or parameter transactions.
Procedure
Variant transaction: Adjust the variant
Parameter transaction: Adjust the parameter(s)
Is this mean , we cann’t use SHD0 for hiding the feilds while creating profit centers
I greately appreciate your input on this
Radha
2.
husnie | April 19, 2008 at 9:50 am
As far as i know, transaction variants only created for dialog transactions and reporting transactions. You can define whether the transaction is dialog transaction or not by executing this way:
1. In the Object Navigator (SE80), choose workbench, and edit object.
2. Dialog box Object Selection will be appear, placed radio button on Transaction field and entry your transaction code (i.e AS02, KE51). Then click display button (F7).
3. If the properties of transaction code appear, mean that the transaction is dialog transaction.
3.
Andy | May 7, 2008 at 7:21 pm
Good post Husnie about the transaction variant. I tries this and it worked perfectly fine.
4.
Effluent | June 19, 2008 at 6:10 am
Somehow i missed the point. Probably lost in translation
Anyway … nice blog to visit.
cheers, Effluent.
5.
Pradeep Achuthan | September 9, 2008 at 6:56 am
The using transation/OZSA02 movement is very good in Sale posting. But using AS02 but error oquied? give me any suggession of new version.In the programe of sale posting.? /Zsa03 using in not good. What will be manage the sale posting programme.
Thanks Regards
Pradeep Achuthan
EMKE Group
Sultanate of Oman
6.
riyas | October 28, 2008 at 9:08 am
please send me transaction codes and e books related to mm module
7.
SAPexpert | February 3, 2009 at 2:06 pm
Very informative post. Keep it up
Best regards
SAPexpert
8.
Christian | February 3, 2009 at 3:00 pm
Hello,
I found out a problem and it is when you create the custom transaction (for the Standard one + the screen variant) the system tries to go back to the standard transaction and give an authorization problem.
If for exmple we created ZMM02 which is the transaction MM02+ a screen variant, when the user saves the system tries to go to MM02 and because the user hav no authorization for MM02 it gives an error.
Do you know any solution for this?
Thanks,
Christian