Transaction and Screen Variants for specific User groups and adopting it in the standard Transactions
In the document Transaction and Screen Variants for limiting Standard Transactions ,we have learned how to create Transaction and Screen variants and then assigning it to the Z-Transaction.
But in some of the cases requirement can be to assign the transaction variant in the standard transaction only for specific users or for all the users.Then SHD0 has the functionality to fulfill this requirement.To understand this we will take the same transaction used earlier i.e. CV01N.Assuming that transaction variant is already created by the method described in the previous document.
Case-1. Assigning the created Transaction and screen variant to the standard transaction for specific users
a.) Create a variant group say ZDMS.
b.) Enter the user to which Transaction variant is to be assigned and click on Assign.
c.) Click on Set Proposal
Now create a Transaction Variant as desired which is explained in the earlier document.Suppose you have created that then your screen will look like this
Now when that particular assigned user uses that standard transaction, in our case which is CV01N the screen will be that of the transaction variant created.
We can add as many user we want.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.
Case-2 Assigning the created Transaction and screen variant to the standard transaction irrespective of the user
After creating the desired Transaction Variant, go to the Standard Variants Tab and then Click on Activate Button.
Now for the standard transaction in our case that is CV01N has adopted the screen of the created transaction variant irrespective of any user.
For removing this transaction variant,just Click on the Deactivate button.
Hope this document is self explanatory one to fulfill your requirements.