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

Display Variant

Former Member
0 Likes
13,212

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

thanks

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

thanks

7 REPLIES 7
Read only

suresh_datti
Active Contributor
0 Likes
3,858

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

Read only

Former Member
3,858

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

Read only

Former Member
0 Likes
3,858

hi,

if you want to display the variants run transaction

<b>massvar</b>

vijay

Read only

Former Member
0 Likes
3,858

DP,

Take a look at this sample SAP program.

BALVST01 - Test program ALV: Simple list flight model

Bruce

Read only

Former Member
0 Likes
3,858

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

Read only

Former Member
3,858

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

Read only

Former Member
0 Likes
3,858

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