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: 

want to create program for scheduling another program

Former Member
0 Kudos

Requirement :

I have one report ABC and I want to create program XYZ for scheduling the report ABC (without executing the program ABC )

Variant should be created by using function module (FASU_V_CREATE_VARIANT_RFC ) example vaiant :WXY

XYZ program will contain :

1) program name : ABC

2) variant name : WXY

could anyone please help me out??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Your logic will be somewhat like this.

1. Create the job using JOB_OPEN and get the job number.

2. Create the variant using funciton module.

3. SUBMIT ABC VIA job jobnumber from above. Check help on SUBMIT using variant and via job.

4. Call JOB_CLOSE to close the job.

1 REPLY 1

Former Member
0 Kudos

Your logic will be somewhat like this.

1. Create the job using JOB_OPEN and get the job number.

2. Create the variant using funciton module.

3. SUBMIT ABC VIA job jobnumber from above. Check help on SUBMIT using variant and via job.

4. Call JOB_CLOSE to close the job.