cancel
Showing results for 
Search instead for 
Did you mean: 

SWI2_ADM1 (RSWINTRO) Background Job

Former Member
0 Kudos

I am trying to find a way to alert the IT/Business Users on the Work Items that have the Agents missing. I tried the obvious by scheduling the RSWINTRO as a background job only to find that it was not generating any Spool Output to email. I tried to search the forums but not find any specific answer.

I also want to go a step ahead and run the Agent Rules periodically as a job to find and assign Agents.

I cannot imagine that this was not solved before using standard functionality. Any ideas for the two things I want to achieve above?

Thanks

Sita

Accepted Solutions (1)

Accepted Solutions (1)

ramki_maley
Active Contributor
0 Kudos

Hello Sita,

For the notifications, you can:

  • Define a Workflow Admin (this can be done at the template level)
  • Check the 'Terminate Id Rule Resolution Without Result' flag for the rule(s). When no agents are found for a step, workflow goes into an error status, and the WF admin is notified via SAP Office.
  • If you have SMTP configured, the admin can auto forward the SAP Office messages to their email account.

To run the agent rules periodically, you can very easily develop a custom report using the SAP WAPIs.

Cheers,

Ramki.

Answers (2)

Answers (2)

former_member185167
Active Contributor
0 Kudos

Hello,

As suggested by the others, there is no standard job for this because having no Agents should be a rarity. Everything possible should be done in the workflow design to avoid this or you may end up having workitems sent to all users.

The Workflow Admin can run SWI2_ADM1 on a daily basis to double-check.

regards

Rick Bakker

Former Member
0 Kudos


Useful T-codes for all the steps which are suggested by Ramki:

1.) To Define workflow admin - SWU3: you can maintain individual SAP ID as Admin or else if you want to declare a group of person as Admin then use either HR position or Workcenter.

2.) Please check T-code SCOT for SMTP configuration and T-Code SOST for mail sending status.

Let us know if you have any issue on this.

BR,

Prakash