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: 

Parameter transaction

former_member201227
Active Participant
0 Kudos

Hi friends,

Can u please explain, what a parameter transaction is? How it differs from report transaction?

Thanks & Regards,

Sharmila

1 ACCEPTED SOLUTION

Former Member
0 Kudos

How to 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 by changing the layout through hiding fields and screens.

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

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

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

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

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

1. Create a transaction variant for CO11N

2. Create a new transaction 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 authorization for ZCO11 (this is a new transaction code you have to create).

Create Parameter transaction for SM30

Assuming that you want the user to maintain a table or view using SM30 but you do not want them to see the initial screen of SM30. For e.g. V023 - Material Group.

Steps tested in 4.6x :-

SE93 - Type in a transaction name e.g. ZV023

Click create - choose parameter transaction

In the Create Parameter transaction screen, fill in the following fields :-

Transaction SM30

Tick Skip initial screen

Tick Inherit GUI attributes

Name of screen field Value

VIEWNAME V023

UPDATE X

Press F8 or click the Test button for testing.

Save it and with the required authorization, the user will be able to use transaction code ZV023 to maintain the material group.

Reward points.

Thanks,

Gaurav

5 REPLIES 5

Former Member
0 Kudos

Hello Sharmila,

The Parameters transaction is nothing but

Parameter transactions allow you to preassign values to the fields on

the initial screen.

If you supply all of the necessary entries for the initial screen in

this way, you can suppress the screen when the transaction is executed.

Don't forget to reward points

Regards,

VAsanth

Former Member
0 Kudos

Hi Sharmila

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.

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)

Read the application help provided in SHD0 trxn.

Regards,

Prakash

<b>Please reward points if helpful</b>

Former Member
0 Kudos

Hi,

This is form <b>SAP official Documentation.</b>

<a href="http://help.sap.com/saphelp_di471/helpdata/EN/eb/5fab44d79b11d296190000e82de14a/frameset.htm">Maintaining Transactions</a>

<b>Parameter Transaction</b>

Parameter transactions allow you to preassign values to fields on the initial screen of a transaction.

To create a parameter transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Transaction with parameters (Parameter transaction).

You can hide the initial screen of a parameter transaction if you have specified values for all of its fields.

<b>Report Transactions</b>

In a report transaction, you use a transaction code to start an executable program (type 1). An executable program usually has three steps - data entry (selection screen), data processing (often using a logical database ), and data output (list).

To create a report transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and selection screen (report transaction).

When you define a report transaction, you can specify the selection screen and variant with which you want it to start.

You can also protect the report transaction against unauthorized use. To do this, enter the name of an authorization object in the corresponding field. For further information about authorizations in the R/3 System, refer to The SAP Authorization Concept.

To enter values for the fields of the authorization object, choose Values.

Regards,

Arun Sambargi.

Message was edited by: Arun Sambargi

Former Member
0 Kudos

How to 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 by changing the layout through hiding fields and screens.

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

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

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

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

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

1. Create a transaction variant for CO11N

2. Create a new transaction 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 authorization for ZCO11 (this is a new transaction code you have to create).

Create Parameter transaction for SM30

Assuming that you want the user to maintain a table or view using SM30 but you do not want them to see the initial screen of SM30. For e.g. V023 - Material Group.

Steps tested in 4.6x :-

SE93 - Type in a transaction name e.g. ZV023

Click create - choose parameter transaction

In the Create Parameter transaction screen, fill in the following fields :-

Transaction SM30

Tick Skip initial screen

Tick Inherit GUI attributes

Name of screen field Value

VIEWNAME V023

UPDATE X

Press F8 or click the Test button for testing.

Save it and with the required authorization, the user will be able to use transaction code ZV023 to maintain the material group.

Reward points.

Thanks,

Gaurav

0 Kudos

Hi Gaurav,

I need the fields for selection, for table maintenance. I changed the Name of screen field Value as

VIEWNAME V023

UPDATE_LTD X

This displays all the fields of the table or view. But, I need only some specific fields to be displayed in the 'Fields for selection' screen. Is it possible?

Thanks & Regards,

Sharmila