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: 

Display Variant

Former Member
0 Kudos

What is a display variant ? and how do we create one for a Z program on the selection screen?

thanks

7 REPLIES 7

suresh_datti
Active Contributor
0 Kudos

HI,

Display Varinat is for the reports that use ALV display. I think it can only be saved after outputting the report. It can be Global or User speicific.

regards,

Suresh Datti

Former Member

a variant is to store the values of the selection-screen for a particular program.

to create a variant:

go to the selection-screen of the program , give all your input values & click on "SAVE"button on tool bar.

you will see a new screen there give your variant name & description. & click on save.

now you created a variant for that program. you can have any no of variants for a program.

this VARIANT IS MANDATORY, IF you are executing the program in background mode.

regards

srikanth

former_member188685
Active Contributor
0 Kudos

hi,

if you want to display the variants run transaction

<b>massvar</b>

vijay

Former Member
0 Kudos

DP,

Take a look at this sample SAP program.

BALVST01 - Test program ALV: Simple list flight model

Bruce

Former Member
0 Kudos

Hi,

The content and structure of the list depends on display variants.

For more information. Check this link...

http://help.sap.com/saphelp_erp2004/helpdata/en/93/744f33546011d1a7020000e829fd11/frameset.htm

Regards,

Maheswaran.B

Former Member

hi

You can save the changed results list display format as a display variant, for reuse at a later date.

Proceed as follows:

Choose:

Settings --> Display Variants --> Save Display Variants… for template and implementation projects

Settings --> Display Variant --> Save…

or the Save Display Variant pushbutton for customizing projects.

...

Enter a name and a description for your display variant.

Set the User-Specific checkbox if the display variant is not to be available to other users.

Specify whether you also want to save the sort and subtotals criteria in your display variant.

Choose Save.

Your settings are saved as a display variant. To display it later, choose:

Settings --> Display Variants --> Select Display Variant… for template and implementation projects

regs

Arun

Former Member
0 Kudos

hi,

variants can be used to save the values in the parameters and it can be retrieved when needed.

1) Go to transaction SE38 and enter the program name.

2) Click the radio button next to the "Variants" subobject and click the "Change" button

3) On "ABAP: Variants" screen, select menu path "Utilities -> Transport request"

4) Enter the variant(s) you want to copy into the "Variant name" box.

5) Click the execute button and save the data to a new change request.

for more info check this link.

http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm

regs,

jaga