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

Screen Variants.

Former Member
0 Likes
960

Please give me some documents related to screen variants. Can we have screen variants for the tcodes created by SAP. like variants for SE11, SE16 and SE38. Also can we create Screen Variants for transactions created by users.

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
879

Hello.

Yes, you can define variants for all kinds of reports (standard ones, created by users) ...

A variant is a predefined choice of report/transaction parameters, that can be used in foreground or in background. You can define one for every program that has at least one parameter.

Regards,

Valter Oliveira.

4 REPLIES 4
Read only

Former Member
0 Likes
879

What you can do with a transaction variant

Insert default values into fields

Change the ready for input status for fields

Hide various screen elements, menu functions or entire screens

Adjust table control settings

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

Screen variants

To create a screen variant, use transaction SHD0. Use menu Goto -> Screen variants

The process to create a screen variant is similar to creating a Transaction variant. The difference between the two types is that a Transaction variant covers the whole transaction and therefore can have more than 1 screen, while a screen variant only can have 1 screen.

Read only

Former Member
Read only

valter_oliveira
Active Contributor
0 Likes
880

Hello.

Yes, you can define variants for all kinds of reports (standard ones, created by users) ...

A variant is a predefined choice of report/transaction parameters, that can be used in foreground or in background. You can define one for every program that has at least one parameter.

Regards,

Valter Oliveira.

Read only

Former Member
0 Likes
879

Yes,

we can save the screen entries of the transactions you have specified through path Goto--


>varients--


> Save as varients.

It can also be done through Tcode.

With best wishes,

Ram.