Application Development and Automation 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: 
Read only

Which function module to delete job log?

Former Member
0 Likes
1,647

Hi, I submit report via jobname and jobcount. After I close job and run it, we can see jobname is still in job log by SMX. But client doesn't want to see it, so who can kindly tell me which function module can delete jobname from job log?

Thanks a lot.

Jack

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,120

check the FM : SCMA_DELETE_JOB

Hope this will help your requirement.

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
1,120

try CALL FUNCTION 'BP_JOB_DELETE'

If you have used JOB_OPEN before the SUBMIT to create the job, you can automatically delete the job upon successful completion by setting the parameter DELANFREP = 'X' in the JOB_OPEN function call.. this way the user will only see the logas for cancelled/aborted jobs..

~Suresh

Message was edited by: Suresh Datti

Read only

ferry_lianto
Active Contributor
0 Likes
1,120

Hi Jack,

Have you looked FM SCMA_DELETE_JOB?

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
1,121

check the FM : SCMA_DELETE_JOB

Hope this will help your requirement.

Read only

Former Member
0 Likes
1,120

HI,

1) Functio nModule <b>BP_JOB_DELETE</b> to delete the job, The job log is deleted as well

2) To delete background jobs in bulk, use the SAP program <b>RSBTCDEL</b>.

Regards

Sudheer

Read only

ferry_lianto
Active Contributor
0 Likes
1,120

Hi Jack,

Did you check my reply???