Skip to Content

Transaction and Screen Variants for limiting Standard Transactions

Introduction-
The Standard Transactions for the selection screen provides some fields which are either not used or meant to be displayed for some users.For this purpose, either we have to enhance the standard code with the help of ABAP or we can do it without ABAP with the help of Transaction variants.
The transaction variants can enhance the selection fields of the standard transaction by either restricting the editing or making them invisible for some users by user group.This tool can also create the transaction code of the variant made.

Transaction Code- SHD0

Usage-
In this document we will be making one field in the selection screen as grey i.e. non editable and will make some fields invisible.This screen variant will be then assigned to a new Transaction Code.

Steps-

1. T-code- SHD0
Enter the Transaction which you want to modify and enter the name of transaction variant.


/wp-content/uploads/2013/07/sc1_247862.jpg

2. Press on Create button and enter the fields which you want to make non editable for the user and leave other fields rest which you want to hide.
/wp-content/uploads/2013/07/sc2_247863.jpg

3. Press Enter and then a new screen pops up.Select the checkbox according to your requirement.Here we are hiding Document Part,Document Version,Template border and its fields and making Document Type non editable.

/wp-content/uploads/2013/07/sc3_247889.jpg

4. Click On Save and Exit and enter Short Text for this variant./wp-content/uploads/2013/07/sc4_247890.jpg

5. Save it and Click on GoTo> Create Variant Transaction. Assign a name for transaction code and short description./wp-content/uploads/2013/07/sc6_247891.jpg

6. Enter the name of our Transaction variant in the next screen and checkbox on Cross Client if required and save it./wp-content/uploads/2013/07/sc7_247895.jpg

7. A new transaction named ZCV01N is now created as desired./wp-content/uploads/2013/07/sc8_247896.jpg

Hope this article proves to be helpful!

Also refer the document :

Transaction and Screen Variants for specific User groups and adopting it in the standard Transactions

13 Comments
You must be Logged on to comment or reply to a post.