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.

Standart - AS02

Purpose : view only General tab.

Enhancement - AS02

To create the transaction variant, proceeds as below :

  1. login to SAP and choose this path : Tools -> AcceleratedSAP  -> Personalization -> SHD0-Transaction Variants
  2. Enter transaction code AS02, and enter the name of Variant (example ZAS02).
  3. Choose create button or F5. The system automatically call transaction code AS02.
  4. Enter the value on the General Tab.
  5. Enter name of screen variant and short text.
  6. 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.
  7. Choose Continue function to proceed next screen, and repeat step 3-6 for all screen.
  8. In the last screen choose exit and save button.
  9. Enter short text for the transaction.
  10. And choose Save button to save your transaction variant.

Starting Transaction Variant, proceeds as below:

  1. Choose Tools -> AcceleratedSAP  -> Personalization -> SHD0-Transaction Variants.
  2. Enter Transaction Code AS02 and Variant Name ZAS02.
  3. 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:

  1. Choose Tools -> AcceleratedSAP  -> Personalization -> SHD0-Transaction Variants.
  2. Enter Transaction Code AS02 and Variant Name ZAS02.
  3. Choose Goto -> Create Variants Transaction.
  4. Enter the name of Transaction code and short text.
  5. Choose Save to save the Variant Transaction.

Entry Filed under: TECHNICAL. Tags: , , .

8 Comments Add your own

  • 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

    Reply
  • 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.

    Reply
  • 3. Andy  |  May 7, 2008 at 7:21 pm

    Good post Husnie about the transaction variant. I tries this and it worked perfectly fine.

    Reply
  • 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.

    Reply
  • 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

    Reply
  • 6. riyas  |  October 28, 2008 at 9:08 am

    please send me transaction codes and e books related to mm module

    Reply
  • 7. SAPexpert  |  February 3, 2009 at 2:06 pm

    Very informative post. Keep it up :)

    Best regards
    SAPexpert

    Reply
  • 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

    Reply

Leave a Comment

Required

Required, hidden

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


Top Posts

Categories

RECENT POSTS

Recent Comments

Archives

Blog Stats

Meta