cancel
Showing results for 
Search instead for 
Did you mean: 

RSWUWFML2 with batch run not working

ericsj
Contributor
0 Kudos

I used RSWUWFML2 to send purchase order approval workitem to Outlook email, When run the program RSWUWFML2 follow by SCOT manually , everything work fine.

But when I schedule the program RSWUWFML2 by batch job with same parameter using SM36 to run every 10 minute, it work when the batch job run for the 1st time, from the second run onward it not working eventhough there is many new workitem to be send. Then I create a purchase order and manually execute program RSWUWFML2, only that 1 workitem I create is selected to send. I am confuse what went wrong when run RSWUWFML2 by batch job???

Please help.

best regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I faced this issue. I request you to change the Job class as A. Please create the the Job with a User Id for which email address is maintained in Su01d. Also please check that the agent to whom the workitem is being sent has an email address maintained in SU01d. Even if it doesn't work check SMTP Settings in SCOT transaction.

<b>Please reward points if useful</b>

Thanks

Arghadip

ericsj
Contributor
0 Kudos

Hi,

I have shceduled the batch job with the condition as what you have mentioned, problem still the same.

And I also the batch job sometime work and sometime not, that means there are missing workitem email in between batch job. Any t-code can trace the missing item that not pickup by RSWUWFML2?.

best regards,

Former Member
0 Kudos

RSWUWFML if it does not work use this program and you can schedule this every 5 minutes. Do not puta any filter. Please make sure you do not maintain any standard Task.

<b>Please reward points if useful</b>

martin_nooteboom
Active Contributor
0 Kudos

Hi Eric,

Please check if your first batch is still running when the second needs to be started. If this is the case change the interval to a longer period. You said you scheduled every 10 minutes. Is this really necesary? Think about it, are these items such high priority the user needs to know immediately?

Regards,

Martin

ericsj
Contributor
0 Kudos

Hi,

I think it is a bug/limitation of RSWUWFML2 when schedule 2 or more batch jobs in short interval time, the program not working as expected.

What happen was I scheduled RSWUWFML2 to send notification for task Release a PO (a copy of task TS20000166), and a separate batch job to send for task PO released effected ( a copy of task TS20000168) at 10 minute interval, due to want to have different email header text and body text. In this way the RSWUWFML2 not working as expected, missing workitem not send from time to time.

Then I delete the 2 batch jobs and redefine to schedule 1 batch job for both task, then it works fine. Not sure why, but at least it works now.

Thanks for your response.

best regards,