---
title: "Transaction Variants in SAP: What Are They and How Can You Use Them?"
description: Learn how to use SAP transaction variants to customize screen layouts and improve user experience by controlling field visibility based on user roles.
image: https://blog.sap-press.com/hubfs/Transaction%20Variants%20in%20SAP_%20What%20Are%20They%20and%20How%20Can%20You%20Use%20Them_.jpg
---

[![rheinwerk-sappress-logo-header-1](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://blog.sap-press.com/) [Blog](https://blog.sap-press.com)

- Books 
    - Get an overview of our books and courses on every relevant SAP topic. 
          - [Programming](https://sap-press.com/programming/)
          - [Administration](https://sap-press.com/administration/)
          - [BI](https://sap-press.com/business-intelligence/)
          - [Finance](https://sap-press.com/finance-controlling/)
          - [Logistics](https://sap-press.com/logistics/)
          - [HR](https://sap-press.com/human-resources/)
          - [CRM & Sales](https://sap-press.com/marketing-sales/)
          - [HANA](https://sap-press.com/hana/)
          - [Introductions](https://sap-press.com/introductions/)
          - [E-Bites](https://sap-press.com/e-bites/)
          - [Certification Guides](https://www.sap-press.com/certification-guides/)
          - [Rheinwerk Courses](https://www.sap-press.com/online-courses/)
- Book Subscription 
    - Get unlimited access to all SAP PRESS books! 
          - [SAP PRESS Subscription](https://sap-press.com/subscriptions/)

[FICO](https://blog.sap-press.com/tag/fico)

# Transaction Variants in SAP: What Are They and How Can You Use Them?

![Chintan Joshi](https://blog.sap-press.com/hubfs/Headshot-SAP%20Press-2.jpg)  by [Chintan Joshi](https://blog.sap-press.com/author/chintan-joshi)

Transaction variants are a powerful tool in SAP that can be used to restrict the display of fields for a particular screen, based on which users are accessing the data.

 

## Structure of Transaction Variants

This is what the structure of transaction variants looks like in an SAP system. The user group contains different users who have different screen access. The transaction variant contains any number of screen variants for a particular transaction code. The screen variant allows the control of fields.

 

![Structure of Transaction Variants](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-56-17-0209-PM.png?width=930&height=509&name=image-png-Aug-15-2025-01-56-17-0209-PM.png)

 

## Prerequisite: Enable Variant Setting

Note that transaction variants can only be created for transaction codes with the standard variant setting enabled. You can see the checkbox for this setting in the figure below.

 

![Display Dialog Transaction](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-56-40-4269-PM.png?width=730&height=479&name=image-png-Aug-15-2025-01-56-40-4269-PM.png)

 

## Use Case: Hiding Tabs in Transaction MIRO for a Specific User

In this blog post, I will explain how you can control the fields displayed on the screen for transaction code MIRO. For instance, say a business wants to hide the G/L account and Material tabs for transaction code MIRO for a particular user (CJOSHI) only.

 

![Tabs to Hide](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-56-59-1635-PM.png?width=899&height=479&name=image-png-Aug-15-2025-01-56-59-1635-PM.png)

 

## Step-by-Step Guide to Creating a Transaction Variant

In order to hide these tabs, you can follow these steps.

 

## 1 Create a Screen Variant

It is necessary to know the program name and screen number for creating a screen variant. In our case, we will use program SAPLMR1M and screen number 6010.

 

## 2 Use Transaction Code SHD0

Enter all the necessary information as shown in the figure below and click on “Create” to proceed.

 

![Using Transaction Code SHD0](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-57-42-0256-PM.png?width=900&height=464&name=image-png-Aug-15-2025-01-57-42-0256-PM.png)

 

![Reference](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-58-03-6692-PM.png?width=900&height=548&name=image-png-Aug-15-2025-01-58-03-6692-PM.png)

 

Once you’ve entered all the required fields and pressed Enter, the system will display the following pop-up, which allows you to control fields.

 

![Display Popup](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-58-42-7868-PM.png?width=899&height=436&name=image-png-Aug-15-2025-01-58-42-7868-PM.png)

 

Here, the G/L account and Material tabs can be set as Invisible. Check those options. Then click “Exit and Save.”

 

Next, enter the description of the screen variant and click “Save.”

 

![Changing the Screen Variant](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-58-58-2717-PM.png?width=899&height=373&name=image-png-Aug-15-2025-01-58-58-2717-PM.png)

 

Next, assign screen variant ZTABMIRO to the transaction variant.

 

![Assigning ZTABMIRO](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-59-15-7150-PM.png?width=705&height=433&name=image-png-Aug-15-2025-01-59-15-7150-PM.png)

 

## 3 Assign the Screen Variant to a Transaction Variant

After entering the transaction variant name, click on the change icon and then click on the plus icon in order to assign a screen variant.

 

![Changing Screen Variants](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-59-33-7027-PM.png?width=856&height=461&name=image-png-Aug-15-2025-01-59-33-7027-PM.png)

 

![Assigning Screen Variants](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-01-59-54-5381-PM.png?width=900&height=510&name=image-png-Aug-15-2025-01-59-54-5381-PM.png)

 

Save the assignment.

 

## 4 Create and Assign a Variant Group

Next, create variant group ZFI1 and assign the user (in our case, CJOSHI) to the respective group.

 

![Creating Group ZFI1](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-00-08-8435-PM.png?width=899&height=595&name=image-png-Aug-15-2025-02-00-08-8435-PM.png)

 

Create the variant group.

 

![Creating the Variant Group](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-00-26-6528-PM.png?width=898&height=788&name=image-png-Aug-15-2025-02-00-26-6528-PM.png)

 

First, assign user CJOSHI to group name ZFI1 and then click “Set Proposal.”

 

![Assigning a User](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-00-38-9198-PM.png?width=900&height=683&name=image-png-Aug-15-2025-02-00-38-9198-PM.png)

 

## 5 Activate the Standard Variant

Next, activate the standard variant. This will stop the user from displaying G/L account and Material tabs for transaction code MIRO.

 

![Activating the Standard Variant](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-00-51-8087-PM.png?width=773&height=481&name=image-png-Aug-15-2025-02-00-51-8087-PM.png)

 

![Assigning the Standard Variant](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-01-04-0163-PM.png?width=899&height=360&name=image-png-Aug-15-2025-02-01-04-0163-PM.png)

 

## Allowing Full Access for Other Users

Once you set this up, the screen variants will also stop other users from displaying the tabs you hid. In order to enable those tabs for other users to see (for example, user SAKET), follow this procedure.

1. Create a standard variant by copying the standard variant MATERIAL\_BUCHEN. Transaction variant MATERIAL\_BUCHEN is a standard variant that allows all fields to be displayed.

![Creating a Standard Variant](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-01-21-6678-PM.png?width=879&height=508&name=image-png-Aug-15-2025-02-01-21-6678-PM.png)

 

![Copying the Standard Variant](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-01-34-5007-PM.png?width=900&height=526&name=image-png-Aug-15-2025-02-01-34-5007-PM.png)

1. Create variant group ZFI2 and assign it to standard variant ZFI2MIRO.

![Creating Variant Group ZFI2](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-01-46-1748-PM.png?width=899&height=458&name=image-png-Aug-15-2025-02-01-46-1748-PM.png)

1. Assign user SAKET to variant group ZFI2 and click “Set P”

![Creating Variant Group ZFI2](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-02-02-1360-PM.png?width=900&height=618&name=image-png-Aug-15-2025-02-02-02-1360-PM.png)

1. Activate the standard variant ZFI2MIRO.
2. Execute transaction code MIRO from user ID SAKET. As you can see in the next figure, the tabs appear for this user’s screen.

![Entering T-Code MIRO](https://blog.sap-press.com/hs-fs/hubfs/image-png-Aug-15-2025-02-02-59-8797-PM.png?width=899&height=360&name=image-png-Aug-15-2025-02-02-59-8797-PM.png)

Please note that transaction variants must be created in combination with a variant group name and transaction code.

 

## Conclusion

Transaction variants in SAP offer a flexible way to tailor screen layouts based on user-specific needs. By combining screen variants, transaction variants, and variant groups, you can easily hide or display fields and tabs within a transaction such as MIRO. However, care must be taken to ensure that other users retain necessary access by assigning them to different variant groups. When set up correctly, this functionality enhances user experience, supports compliance, and simplifies user interfaces based on job roles.

 

[Learn more about logistics with SAP on this page](https://learning.sap-press.com/sap-s4hana-logistics).

 

This post originally published in 8/2025.

## Recommendation

[![Using SAP S/4HANA](https://blog.sap-press.com/hs-fs/hubfs/social-suggested-images/1956-Jan-04-2023-04-33-57-3584-PM-2-1-1.jpg?width=170&name=1956-Jan-04-2023-04-33-57-3584-PM-2-1-1.jpg)](https://www.sap-press.com/using-sap-s4hana_5065/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=guest_joshi&utm_content=1956)

**Using SAP S/4HANA**

Get to work in SAP S/4HANA with this introductory guide! Learn how to navigate your user interface, manage and report on your data, customize your reports, and tailor the system to your preferences. Then walk through daily tasks for several key lines of business: procurement, sales, and finance. This is the complete guide to your SAP S/4HANA workday!

[Learn More](https://www.sap-press.com/using-sap-s4hana_5065/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=guest_joshi&utm_content=1956)

![Chintan Joshi](https://blog.sap-press.com/hubfs/Headshot-SAP%20Press-2.jpg)

**by [Chintan Joshi](https://blog.sap-press.com/author/chintan-joshi)**

Chintan Joshi is an award-winning SAP authority and author widely recognized for his expertise in financial transformation, SAP S/4HANA architecture, and enterprise-wide automation. With over 16 years of professional experience, Chintan has served as a judge for the SIIA CODiE Awards and was honored as an SAP Financials Topic Leader by the global SAP community. He specializes in rescuing high-value SAP implementations and architecting custom financial automation solutions—such as the Plant-Creation Cockpit—that resolve complex cross-module dependencies and enhance financial accuracy. A frequent presenter at leading industry conferences, including SAP Controlling, Chintan’s work bridges the gap between technical ABAP logic and strategic financial stewardship. His expertise helps organizations worldwide adopt Universal Allocation, strengthen costing methodologies, and optimize end-to-end SAP financial processes.

[FICO](https://blog.sap-press.com/tag/fico) [Administration](https://blog.sap-press.com/tag/administration) [Logistics](https://blog.sap-press.com/tag/logistics) [What Is?](https://blog.sap-press.com/tag/what-is)

[![Share on facebook](https://7528309.fs1.hubspotusercontent-na1.net/hub/7528309/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/facebook-color.png?width=24&name=facebook-color.png)](https://www.facebook.com/share.php?u=https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://7528302.fs1.hubspotusercontent-na1.net/hub/7528302/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/linkedin-color.png?width=24&name=linkedin-color.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://7528304.fs1.hubspotusercontent-na1.net/hub/7528304/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/twitter-color.png?width=24&name=twitter-color.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://7528311.fs1.hubspotusercontent-na1.net/hub/7528311/hubfs/raw_assets/public/mV0_d-web-default-modules_hubspot/img/email-color.png?width=24&name=email-color.png)](mailto:?subject=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Demail&body=Check+out+https%3A%2F%2Fblog.sap-press.com%2Fwhat-are-transaction-variants-in-sap%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Comments

### Latest Blog Posts

[![SAP OKB9 Explained: Automatic Account Assignment for FI-CO Postings](https://blog.sap-press.com/hs-fs/hubfs/SAP%20OKB9%20Explained_%20Automatic%20Account%20Assignment%20for%20FI-CO%20Postings.jpg?height=600&name=SAP%20OKB9%20Explained_%20Automatic%20Account%20Assignment%20for%20FI-CO%20Postings.jpg)](https://blog.sap-press.com/sap-okb9-explained-automatic-account-assignment-for-fi-co-postings)

[FICO](https://blog.sap-press.com/tag/fico)

## [SAP OKB9 Explained: Automatic Account Assignment for FI-CO Postings](https://blog.sap-press.com/sap-okb9-explained-automatic-account-assignment-for-fi-co-postings)

[Read More](https://blog.sap-press.com/sap-okb9-explained-automatic-account-assignment-for-fi-co-postings)

[![Optimizing Transaction KKAK for High-Volume SAP Environments](https://blog.sap-press.com/hs-fs/hubfs/From%20Overnight%20Batch%20to%20Daily%20Insight_%20Optimizing%20Transaction%20KKAK%20for%20High-Volume%20SAP%20Environments.jpg?height=600&name=From%20Overnight%20Batch%20to%20Daily%20Insight_%20Optimizing%20Transaction%20KKAK%20for%20High-Volume%20SAP%20Environments.jpg)](https://blog.sap-press.com/from-overnight-batch-to-daily-insight-optimizing-transaction-kkak-for-high-volume-sap-environments)

[FICO](https://blog.sap-press.com/tag/fico)

## [Optimizing Transaction KKAK for High-Volume SAP Environments](https://blog.sap-press.com/from-overnight-batch-to-daily-insight-optimizing-transaction-kkak-for-high-volume-sap-environments)

[Read More](https://blog.sap-press.com/from-overnight-batch-to-daily-insight-optimizing-transaction-kkak-for-high-volume-sap-environments)

**Subscribe to our blog!**Get notified about future blog updates.

- <https://www.facebook.com/sappress>
- <https://twitter.com/sappress>
- <https://linkedin.com/company/sap-press>
- <https://www.instagram.com/sap_press/>
- <https://blog.sap-press.com/rss.xml>

### The official SAP PRESS Blog

As the world’s leading SAP publisher, SAP PRESS’ goal is to create resources that will help you accelerate your SAP journey. The SAP PRESS Blog is designed to provide helpful, actionable information on a variety of SAP topics, from SAP ERP to SAP S/4HANA. Explore ABAP, FICO, SAP HANA, and more!

### SAP Blog Topics

- [All Topics](https://blog.sap-press.com)
- [Logistics](https://blog.sap-press.com/tag/logistics)
- [Programming](https://blog.sap-press.com/tag/programming)
- [FICO](https://blog.sap-press.com/tag/fico)
- [Administration](https://blog.sap-press.com/tag/administration)
- [Business Intelligence](https://blog.sap-press.com/tag/business-intelligence)
- [What Is?](https://blog.sap-press.com/tag/what-is)
- [Featured](https://blog.sap-press.com/tag/featured)
- [CRM & Sales](https://blog.sap-press.com/tag/crm-sales)
- [Video](https://blog.sap-press.com/tag/video)
- [Human Resources](https://blog.sap-press.com/tag/human-resources)

### Blog curated by

[![Rheinwerk Publishing & SAP PRESS Logo](https://blog.sap-press.com/hubfs/rheinwerk-sappress-logo-header-1.svg)](https://sap-press.com) [Visit the SAP PRESS Store](https://sap-press.com)

### About

- [Home](https://sap-press.com/)
- [About Us](https://sap-press.com/the-publisher/)
- [Contact](mailto:info@rheinwerk-publishing.com)
- [Legal Notes](https://sap-press.com/legal-notes/)
- [Privacy Policy](https://sap-press.com/privacy/)
- [Terms of Use](https://sap-press.com/terms/)
- [Guest Posting](https://blog.sap-press.com/guest-posting)

© 2026 Rheinwerk Publishing, Inc. | Change Privacy Options

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Chintan Joshi",
    "url" : "https://blog.sap-press.com/author/chintan-joshi"
  },
  "dateModified" : "2026-08-26T15:39:10.561Z",
  "datePublished" : "2025-08-29T13:00:00.000Z",
  "headline" : "Transaction Variants in SAP: What Are They and How Can You Use Them?",
  "image" : [ "https://blog.sap-press.com/hubfs/Transaction%20Variants%20in%20SAP_%20What%20Are%20They%20and%20How%20Can%20You%20Use%20Them_.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.sap-press.com/what-are-transaction-variants-in-sap",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.sap-press.com/hubfs/Logo-1.jpg"
    },
    "name" : "Rheinwerk Publishing, Inc."
  }
}
```