cancel
Showing results for 
Search instead for 
Did you mean: 

create job to Clear Spool Requests for specific user

former_member200876
Active Participant
0 Kudos

Dear All

i want to create background job to clear only spool requests to one specific user , for specific dates .

Accepted Solutions (1)

Accepted Solutions (1)

jie
Advisor
Advisor
0 Kudos

Hello Mohammed,

Report RSPO1041 can handle it.You can run this report with variant(deletion data,user etc) in the
background to achieve your expectation.

Best Regards

Jie Bai

former_member200876
Active Participant
0 Kudos

Dear Jie Bai

many thanks for your reply , i created my variant and specify user , also i create job & i'm waiting to execute it

i'll update you once i get result

Best Regards

M. Ezzat

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear

for deleting spool job of particular user as there is no std PGM but there is report through which you can delete old jobs with the report RSPO1041

you can write custom program to delete job for particular user

following command will delete all spool files for user JKJK

DLTSPLF FILE(*SELECT) SELECT(JKJK)

Regards

former_member200876
Active Participant
0 Kudos

Dear Rajendra


many thanks for your reply , i created my variant and specify user , also i create job & i'm waiting to execute it

i'll update you once i get result

Best Regards

M. Ezzat

Sriram2009
Active Contributor
0 Kudos

Hi Mohammed

There no SAP standard program to clear the spools for one specific user. you have to create the custom code program either transaction code SP01 or SAP standard program "RSPO1041"

Regards

Sriram

former_member200876
Active Participant
0 Kudos

Dear Sriram

many thanks for your reply , i created my variant and specify user , also i create job & i'm waiting to execute it

i'll update you once i get result

Best Regards

M. Ezzat

jie
Advisor
Advisor
0 Kudos

Hello Sriram,

In the report RSPO1041 you can specify the creator to delete only his old spools.
Did you try it?

Best Regards

Jie Bai

Sriram2009
Active Contributor
0 Kudos

Hi

For creating the custom code you can use either one of the program, this is think you have to ask ABAPer.

BR

SS

former_member200876
Active Participant
0 Kudos

Dear Sriram

many thanks for your reply , i created my variant and specify user , also i create job & i'm waiting to execute it , but it failed to clear , shall you explain more

Best Regards

M. Ezzat