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: 

To get pushbutton for variant

former_member305388
Active Contributor
0 Kudos

Hi all,

I am submitting a report in a report. I want to get the pushbutton for several variants, in the submitted program. Now, I am able to send a single variant using:

SUBMIT rep VIA SELECTION-SCREEN

USING SELECTION-SET vari

USING SELECTION-SETS OF PROGRAM prog

or using

SUBMIT rep VIA SELECTION-SCREEN

WITH SELECTION-TABLE seltab

Can anybody suggest on how to get the pushbutton too..

I guess it should be done using classes and methods...

Is there any other method.. without using classes and methods?

Thanka a lot.

3 REPLIES 3

Former Member
0 Kudos

If you want to submit program with multiple variants then you can do one by one.

0 Kudos

Sorry, I can't do it. User should be able to fetch any variant based on the list.. So, I need to give that pushbutton...

Former Member
0 Kudos

Hi srinivas,

I Understand your problem and i can suggest you two solutions:

1) You can read all varients from table called VARID and show it in a customised screen before submitting the program.

OR

2) You can very well get the input from user in the selection screen of program 1 and submit the program with the varient.

Hope it may helps you:)

Regards,

Sreenivasa Sarma K.