How do I create a transaction variant in SAP?

In order to create a new transaction variant following steps should be performed in transaction SHD0:

  1. Run transaction SHD0.
  2. Choose the transaction you want to create a variant, in the example we will use FB50.
  3. Go to the tab “Transaction Variant”
  4. Choose a name for the transaction variant.

What is SAP transaction variant?

Transaction Variant is a personalization technique through which you can change the standard transaction according to your requirment like you want to hide some fields, disable some fields, and want to make some fields mandatory you can do it through transaction variant.

What is the purpose of transaction variant in SAP?

Main purpose of this T-Code is to customise any standard SAP transaction in a minimum time, by which a new version will be created of standard SAP T-code without any actual modification.

How do I create a transaction variant for FB60?

To create the new layout as per the user requirement, we need to create a screen variant. Execute the transaction SHD0 and Got to tab Screen variant. Enter transaction code ‘FB60’, screen variant name, program name and screen number.

How do you create a standard variant in SAP?

After providing the name of the transaction variant you are going to create, click on the create button or press ‘F5’ to create the transaction variant. This will take you to the original transaction, and record the screen fields to the screen variants which are going to be created in this process. Press Enter.

How do you create a variant in SAP background job?

Creating Dynamic Variant for SAP Batch Jobs

  1. Go to SE38 transaction; enter Program name and execute; then enter all the values in the input fields which are needed and click on “Save” button.
  2. System will take you to variant screen; enter the name and description of the variant.

What are SAP variants?

Variants allow you to save your selection parameters in the input screen. It minimizes the need to enter selection parameters each time you run a SAP report. Variants can be stored for ANY SAP REPORT as long as the. Save Button is available in the SAP Menu bar for the report.

What is SHD0 SAP?

As we know it is being used in the SAP BC-ABA (ABAP Runtime Environment in BC) component which is coming under BC module (BASIS). SHD0 is a transaction code used for Transaction and Screen Variants in SAP. It comes under the package SMOD.

How do I set default display variant in SAP?

Go to tab transaction variant Click on Display/Change button highlighted above. This will enable the options to assign screen variants to transaction variant. Click on Insert row button. Enter the screen variant created in the first step and press enter.

How do I assign a transaction variant to a user?

Just assign the User to the Variant group and Set the proposal for each user. For removing any user first Reset the proposal and then Delete Assignment for each of the user. After creating the desired Transaction Variant, go to the Standard Variants Tab and then Click on Activate Button.

How do I create a variant attribute in SAP?

Enter a short, meaningful description of the variant. This can be up to 30 characters long. Select this field if you want the variant to be available for background processing but not in dialog mode. Select this field if you want to prevent your variant being changed by other users.

How do I run a variant in SAP?

  1. On the initial screen of the ABAP Editor, enter the name of the program that you want to run.
  2. Choose Execute with Variant. A dialog box appears, in which you can enter a variant.
  3. Choose the F4 key. A list of all variants defined for the program is displayed.
  4. Select a variant.
  5. Choose Execute to run the program.

How to create transaction variant with no code?

1. Go to transaction SHD0. In the initial screen enter the transaction code (in this case CO01) for which we are going to create the transaction variant. Enter the name of the transaction variant (say YCO01) in the “Transaction Variant” field and then click the “Create” button. 2.

How to create SAP transaction variant to restrict user?

Start Transaction SHD0, and specify the original Transaction Code (ME22) and a name for the new layer (Z001) in the Transaction Variant field. Click on the Create icon to use the transaction. After you click create icon you will be redirected to ME22 Screen, input any purchase order number, and pop-up screen will appeared.

How do I test a transaction variant in SAP?

After above step on confirmation, click on ‘Exit and Save’ Tab. Now system will ask for saving the Transaction Variant. It has to be saved in either a New Request of can be saved as ‘Local Object’. We can now test the transaction Variant in the Initial Screen by Clicking on ‘Test’ Button.

When to use transaction variant in vendor master creation?

It can be used in a way that if we dont want any bunch of users to view or enter any thing in a particular field then we can do this without going for any customization. The below Document will give steps for using Transaction Variant for Vendor Master Creation [FK01]: