Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction variant

Former Member
0 Kudos

Hi All,

Can somebody please tell me what a "transaction variant" is and what it is used for ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

good

Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

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 as of 4.6x.

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

Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02).

Next allocate the transaction variant to this variant transaction.

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

go through this link

http://help.sap.com/saphelp_nw04/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm

thanks

mrutyun

9 REPLIES 9

suresh_datti
Active Contributor
0 Kudos

It can be created using Tcode SHD0 and is very usefulfor enabling/disabling certain fields in a std transaction without any code changes.

Pl check this

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/7d/f639f8015111d396480000e82de14a/frameset.htm">SAP help</a>

Regards,

Suresh Datti

0 Kudos

Transaction Variants is used to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

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 as of 4.6x.

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

http://help.sap.com/saphelp_nw04/helpdata/en/7d/f63a0a015111d396480000e82de14a/content.htm

Former Member
0 Kudos

check these links, you will get the idea.

regards

srikanth

Message was edited by: Srikanth Kidambi

Former Member
0 Kudos

hi

good

Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.

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 as of 4.6x.

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

Transaction SE93 - Create a variant transaction (e.g. for VA02 = ZVA02).

Next allocate the transaction variant to this variant transaction.

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

go through this link

http://help.sap.com/saphelp_nw04/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm

thanks

mrutyun

Former Member
0 Kudos

Thank you all very much...

Former Member
0 Kudos

Hi mahesh,

Use 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).

chk the links:

http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm

http://www.sapgenie.com/abap/tvar.htm

reward if helpful.

regards,

keerthi.

Former Member
0 Kudos

Hi keerthi Kiran,

Can you please clarify how we can allocate the transaction variant we created, to the new transaction code ?

0 Kudos

go to se93>transaction name->create->transaction with varient>enter transaction name>enter variant name->save.

create

0 Kudos

hi mahesh,

go thru the SDN links given by me earlier. they have step by step procedure.it will help you.

regards

srikanth