Skip to Content
author's profile photo Former Member
Former Member

Transaction variant

Hello,

How to create a variant for MM01. is it ABAPers work or BASIS consultant work.

Pls povide me step by step method.

Urgent.......

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 07:00 AM

    Hi sameer.

    Creating Transaction Variants in SAP programs

    If you want to hide unwanted screens and fields in any standard SAP program without changing it, the use of the Transaction Variant is the best solution. Creating a Transaction Variant alters the layout of the screen. This tip offers two ways to perform this task.

    Case one for creating Transaction Variants

    Step 1:

    Execute transaction SHD0 and create a Transaction Variant against the original transaction.

    Step 2:

    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.

    Step 3:

    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.

    Step 4:

    Now execute the transaction you create through create Transaction Variant and enjoy the results.

    Case two for creating Transaction Variants

    Step 1:

    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on (e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.

    Step 2:

    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.

    Step 3:

    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.

    Step 4:

    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).

    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.