2007 Feb 12 3:56 PM
Hi,
I am working on a program which runs daily to delete some expired records.
I am internally calling a report which is run in the background from the main program.now i want to create a dynamic variant using which i have to submit the values to the internal report.How can i do that?
I am using job_open,job_submit to schedule the job in the background.
I want to pass the dynamic variant and the internal report name to the JOB_SUBMIT fm.
I tried out this using RS_CREATE_VARIANT...but that fm is used only to create a dynamic variant for the same program but not the program which is called from that.
Please help me out.
Thanks,
Vijaya.
2007 Feb 12 4:12 PM
HI,
Instead you can call the second program using the SUBMIT ...AND RETURN statement .
You can dynamically pass different values to the selection screen.
Will this option help you?
Regards
Subramanian
2007 Feb 13 7:27 AM
Thanks for replying...
I can't do that...i don want the program run in the background immediately..it shud be scheduled in SM37 and i will run it when ever i feel like.
Thanks,
Vijaya.