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: 

SUBMIT with a new Variant

Former Member
0 Kudos
91

Dear all,

I want to call a report via 'SUBMIT'. Hereby I have to create a new variant.

My Questions:

1) How can I create the variant with selection parameters (Not manual) mybe via Functionmodul?

3 REPLIES 3

kesavadas_thekkillath
Active Contributor
0 Kudos
51

Check fm RS_VARIANT_CONTENTS to get the variant contents

Check fm SUBMIT_REPORT "here you can pass the variant name and program

MarcinPciak
Active Contributor
0 Kudos
51

You don't need a variant to submit the program, this is only required for background jobs.

When using submit , you can easily pass the parameters one by one, or specify them (and their values) in special table and then pass it at once during program submition.

Check [SUBMIT|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SHORTREF.htm]

Regards

Marcin

Former Member
0 Kudos
51

Yes u right but I get an other Variant name when I execute this job!!!

Normaly you have a name Like 'Vari_test' when u executed in online!

best reagrds