Skip to Content
Author's profile photo Former Member

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

Assigned tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Excellent Job.. 🙂

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Nisit!

      Author's profile photo Former Member
      Former Member

      Very Useful...Thanks for your efforts.

      Best Regards

      Khushi

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Khushi!

      Author's profile photo Mohsin Abbasi
      Mohsin Abbasi

      Tremendous Work Bro........ 🙂 . really informative seriously.

      Best Regards

      Mohsin Abbasi

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Mohsin!

      Regards,

      Siddharth

      Author's profile photo Sijin Chandran
      Sijin Chandran

      There is already a related document addressing this topic.

      http://scn.sap.com/docs/DOC-29078

      Only the Example Tcode is different .

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Sijin,

      There may be several documents for a single topic.
      The one which you have mentioned is not the single document for this topic.There may be many.

      Regards,

      Siddharth

      Author's profile photo Sijin Chandran
      Sijin Chandran

      Then whats the use by just duplicating stuffs....

      There is no difference at all , same concept same idea same thing...

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Sijin,

      I have learnt that thing that's why I shared my knowledge.It may be possible that there are many documents but they are either arranged haphazardly or not clearly guiding.
      I have presented them in a most simple way.

      Please talk to me either on my mail or in private message.Please don't violate SCN rules and spoil this document.

      Regards,

      Siddharth

      Author's profile photo Matthew Billingham
      Matthew Billingham

      Sijin Sij is not violating SCN rules by pointing out that there is a similar document addressing the same issue. It is entirely appropriate to make challenges.

      As I understand the rules, so long as the documents meet a minimum quality standard, are not immensely basic and obvious, and do not copy from each other (or anyone else), duplicate content is permitted. One might be clearer than the other to some people.

      Author's profile photo Anshu Lilhori
      Anshu Lilhori

      Hi Sidddharth,

      Its always good to search before posting and thereby making sure that almost identical scenario or concept is already posted or not.

      I understand you have put efforts to make the document but in a longer run you will find these tips useful.

      Regards,

      AL

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Anshu for the valuable tip!

      I l take care of this issue in near future.

      Regards,

      Siddharth