Used Transaction Variants to make your fields Mandatory, Hidden or Display

You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs.  Additional features such as making the variant as default on the standard SAP transaction code is only available on 4.6x.

Steps :-

Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.

Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02).  Next allocate the transaction variant to this varianttransaction.

Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remembers any extra transaction codes.

In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate asstandard variant)

An example for using transaction variant (restricting the field displayfor CO11N - Goods movement) :-

If you want to restrict changes to the fields in Goods movement forone group of users.

1.  Create a transaction variant for CO11N
2.  Create a new transction code for the transaction variant and assign an authorization object to it
3.  Divide the users into this two transaction code. Those who can change the field using CO11N.  For those that have limited
     field change, give them the authorizationfor ZCO11 (this is a new transaction code you have to create).

SAP Basis Reference Books:
SAP Basis Components, System Administration, Security, ALE and iDoc Books

Back to Basis Menu:
SAP BC (Basis Components) Hints and Tips

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.