2007 May 23 1:44 PM
Hi,
I have a program wich clean Ztables, but now I have to evaluate in one of table date, if month(date) less than two month of sy-datum, program must delete all records with this features, I need to know how to send to execute another program wich evaluate it.
Thanks in advance.
Regards
Tokio
2007 May 23 1:49 PM
2007 May 23 1:49 PM
2007 May 23 2:01 PM
Hi Pavan, and how execute this program with out user trigger it usin SUBMIT, thanks.
Regards
Tokio
2007 May 23 2:07 PM
Ho Tokio,
If i understand correctly ... you need to execute a report program which will delete some old records as batch job.
but whenever you run program A, it identifies some records needs to be deleted then we need to run program B as backgrond job(it will takecare of deletion part).
If this is correct, you can create a job for program B, and maintain as AFTER EVENT. and in program A raise an event.
Thanks
Pavan
2007 May 23 1:58 PM
Hi Tokio,
In order to submit the Program as a job you may use the following function modules.
1. JOB_OPEN --> to open the job.
2. JOB_SUBMIT
3. JOB_CLOSE.
Please let me know if u have further queries
Regards,
Pradeep Chintala.
2007 May 23 2:24 PM
Hi Pradeep
I will follow your advice and let you know.
Regards,
Tokio
2007 May 23 2:28 PM
within same program, select the data and then u can delete the data from the Ztable. This program can be scheduled in background via SM36 and can run whenever required as specified in SM36.
2007 Aug 31 7:24 PM
Thanks to all for answering
Through T/C SM36 I schedule program execution.