Application Development and Automation 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: 
Read only

Transaction variant

Former Member
0 Likes
830

Hi

I have created a Z-table with maintenance view.

Now I would like to create a transaction code for this table and use the SM30 transaction as transaction.

Someone told me to use transaction variant, but how do I create this?

Thanks // Peter B

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
774

Note: Transaction variants can only be used with dialog transactions.

How to create a transaction variant

Transaction variants are created with transaction: SHD0

In the field Transaction on SHD0 enter the transactioncode for the screen you want tpo modify (E.g. VA03)

In the field Variant on SHD0 enter the name you want to give the transaction variant (E.g. ZVA03)

Press Create

Now the screen for the transaction is shown and you can enter default values in the fields of the screen

Press Enter. Now a screen that enbles you to make further customizing (Hide, Output only, Invisible, Mandatory) if the screen fields is shown.

After you have finished customizing the screen press Enter to go to the next screen or ave and exit to save the Transaction variant

To run the transaction varian, you must create a new Transaction code in SE93 that referes to the Transaction variant. Choose Transaction with variant as Start object.

Note: The transaction variant can also be called from a program that imcludes a call to function module RS_HDSYS_CALL_TC_VARIANT

Source: saptechies

Hi

I have created a Z-table with maintenance view.

Now I would like to create a transaction code for this table and use the SM30 transaction as transaction.

Someone told me to use transaction variant, but how do I create this?

Thanks // Peter B

4 REPLIES 4
Read only

Former Member
0 Likes
775

Note: Transaction variants can only be used with dialog transactions.

How to create a transaction variant

Transaction variants are created with transaction: SHD0

In the field Transaction on SHD0 enter the transactioncode for the screen you want tpo modify (E.g. VA03)

In the field Variant on SHD0 enter the name you want to give the transaction variant (E.g. ZVA03)

Press Create

Now the screen for the transaction is shown and you can enter default values in the fields of the screen

Press Enter. Now a screen that enbles you to make further customizing (Hide, Output only, Invisible, Mandatory) if the screen fields is shown.

After you have finished customizing the screen press Enter to go to the next screen or ave and exit to save the Transaction variant

To run the transaction varian, you must create a new Transaction code in SE93 that referes to the Transaction variant. Choose Transaction with variant as Start object.

Note: The transaction variant can also be called from a program that imcludes a call to function module RS_HDSYS_CALL_TC_VARIANT

Source: saptechies

Read only

Former Member
0 Likes
774

hi,

goto TCODE SE93 give a name , select the radio button transaction with variant.

In the next screen in field transaction give tcode SM30 and select the check box to skip the first screen.

In bottom default values table

select viewname and give your table name as value.

select update and give the value as 'X'.

Save the transaction, now u can use the Tcode to update the table.

Read only

0 Likes
774

I assume you mean "Transaction with parameters".

I get it to work but what do you mean with Select update and give the value as 'X'

Thanks // Peter B

Read only

0 Likes
774

Yes...It's transaction with Parameters. you can use SHDO and go with the steps as in my earlier post