2014 Nov 05 7:53 AM
Hello Experts,
I have a requirement to delete jobs programatically.
ie. What we do in transaction SM37-> Provide filter conditions -> Edit-SelectAll -> Delete. I want to perform it using an ABAP program.
The Jobname, Username, Status and Start date and End date will be parameters in my pgm.
Is there any FM to delete the jobs based on the condiitions provided by the user?
Help needed.
Thanks.
2014 Nov 05 8:03 AM
You should be able to use standard report RSBTCDEL.
All the FMs you need to use to do this programmatically can be found in this report.
Notably
BP_JOB_SELECT
BP_JOB_DELETE
Hope that helps.
Thanks,
Katan
Hello Experts,
I have a requirement to delete jobs programatically.
ie. What we do in transaction SM37-> Provide filter conditions -> Edit-SelectAll -> Delete. I want to perform it using an ABAP program.
The Jobname, Username, Status and Start date and End date will be parameters in my pgm.
Is there any FM to delete the jobs based on the condiitions provided by the user?
Help needed.
Thanks.
2014 Nov 05 8:03 AM
You should be able to use standard report RSBTCDEL.
All the FMs you need to use to do this programmatically can be found in this report.
Notably
BP_JOB_SELECT
BP_JOB_DELETE
Hope that helps.
Thanks,
Katan
2014 Nov 05 8:19 AM
I guess i'll have to do SELECT first and based on the list selected I have to do DELETE right?
Thanks.
2014 Nov 05 8:22 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |