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 abapers,

how to create a transaction variant for a tcode me11 and me12. please help me.

thanks

pardeep

4 REPLIES 4

Former Member
0 Kudos

create varient for transaction code

Go to SE41 and check STATUS.

make sure 'SAVE' function code assigned ro not .IF not assign SAVE function code

0 Kudos

hi sravan

i am unable to understand this. could you please explain me.

thnks

pardeep

0 Kudos

In the SAP Reference IMG, you can create transaction variants. Choose Basis Components ® Application Personalization ® Tailoring of Application Transactions ® Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.

To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).

Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).

To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.

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

Read the SAP help

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

Reward if useful.

Former Member
0 Kudos

Try something like this:

REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.

PARAMETERS: bukrs TYPE bseg-bukrs MEMORY ID buk,

belnr TYPE bseg-belnr MEMORY ID bln,

gjahr TYPE bseg-gjahr MEMORY ID gjr.

CALL TRANSACTION 'FB03'.

Regards.