‎2007 May 02 5:08 PM
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??
‎2007 May 02 5:16 PM
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.
‎2007 May 02 5:16 PM
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.