What is a 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. tcode is SHD0.

How do you use SHD0 transactions in SAP?

SHD0 – Create a Transaction Variant in SAP

  1. Step 1 – Identify Technical Names of Fields.
  2. Step 2 – Create a Transaction Variant.
  3. Step 3 – Add the Transaction Variant to User Roles.
  4. Step 4 – Create an Infotype Menu.
  5. 1 thought on “SHD0 – Create a Transaction Variant in SAP”

What is the use of SHD0 in SAP?

SHD0 is a transaction code used for Transaction and Screen Variants in SAP. It comes under the package SMOD. When we execute this transaction code, SAPMSHD0 is the normal standard SAP program that is being executed in background.

What are transaction variants used for?

Variants should be used to simplify transaction flow by reducing the complexity of screens and transactions. You may, however, add certain elements to a screen by creating a corresponding GuiXT script (see GuiXT).

What is an SAP variant?

Purpose: A variant allows you to save your selection parameters on your input screen. This will minimize the need to enter selection parameters each time you run a SAP report. When a SAP report is processed, the standard layout is used for that particular T-code.

How do I create a variant transaction?

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.

How do you create a variant in SHD0?

How do you select a variant in SAP?

Procedure

  1. Call up the report for which you want to define a selection variant.
  2. In the selection screen of the report, choose Goto Variant Save as variant.
  3. Give the variant a name and define additional criteria for the display of the variant.
  4. Specify the selection screen to which the variant is assigned.

How are transaction variants created in SAP shd0?

Transaction Variants are created trough the SHD0 t-code. The initial screen SHD0 is given below. To create a transaction variant we mention the name of the parent transaction, give a name of the variant and click the create button. In our example below, we create a transaction variant ZSU01 for the very common SU01 tcode.

Is the shd0 T code a security tool?

Though strictly not a security tool, transaction variants can have applications in security by helping to prevent users from updating fields which are not protected through authorization objects Transaction Variants are created trough the SHD0 t-code. The initial screen SHD0 is given below.

How to save a transaction variant in SAP?

Scroll down to review all the settings and save your work by pressing Save button or by pressing F11 key on your keyboard. You will be asked by the SAP system to provide a development package and asked again to confirm and save. Carry on till you receive the message that the transaction variant and screen variant were saved.

How to find the technical name of a field in SAP?

The technical names of these fields are RP50G-CHOIC and RP50G-SUBTY . You can easily identify the technical name of a field by positioning the mouse cursor in this field and pressing F1 key. In the Help window, you should click on the technical information button .