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

How to create variant for table/view ?

Former Member
0 Likes
1,582

Hi,

When I go through SM30, I find a radio button called variant. I don't know the effect.

Can anyone tell me how to create variant for table / view ?

I want to know when we need to create variant for table/view.

Best regards,

Chris Gu

Hi,

When I go through SM30, I find a radio button called variant. I don't know the effect.

Can anyone tell me how to create variant for table / view ?

I want to know when we need to create variant for table/view.

Best regards,

Chris Gu

2 REPLIES 2
Read only

Former Member
0 Likes
550

hi ,

Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.

For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.

If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant

Procedure

To create a new variant:

...

1. On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.

2. On the variant maintenance initial screen, enter the name of the variant to be created.

Note the naming convention for variants (see below).

3. Choose Create.

If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.

4. If there is more than one selection screen, select the screens for which you want to create the variant

5. Choose Continue.

The (first) selection screen for the report appears.

If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.

6. Enter the desired selection values, including multiple selection and dynamic selection.

7. Choose Continue.

Read only

Former Member
0 Likes
550

Hi,

Thanks for your reply.

Your solution is to create variant for report. My problem is how to create variant for view.

Please consider .

Thanks again.

Best regards,

Chris