cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible for a workflow to send it to specific folder in SBWP?

walkerist
Participant
0 Kudos

Hi, currently the existing workflow sends all approval mails in SBWP. The issue is the approver is handling multiple sales organizations and it can take thousands of mails. Is it possible when the workflow is triggered, for example the sales org is S001, there will be a folder in the SBWP named S001 and the credit and debit approval will be sent there. Same for Sales Org S002, instead of all the approval request of sales org be sent in one inbox.

Is the expectation possible? Credit/Debit approval request for Sales Org 0001 will be sent to the Sales Org 1 folder while the approval request for Sales Org 0002 will be sent to Sales Org 2 folder in both in SBWP.

Lastly, currently the approval request when received it like this. Except the sales org is not included in the title. Is it possible that the sales org be included when the approval request is sent?

Accepted Solutions (0)

Answers (2)

Answers (2)

SBach
Advisor
Advisor

There are 4 ways of grouping of workflow tasks in SBWP

See: https://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/2e4a7ef0cb18c3e10000000a421937/frameset.htm

You could also think about a dynamic column to sort. But that is performance critical if logic is complex

Workitem title you can enhance with attributes. You could also think of using FIORI MyInbox-App as Inbox. There you can also enhance via a custom attribute or the title.

Sandra_Rossi
Active Contributor

I think SBWP has maximum one level below "Grouped according to task", i.e. the task title.

Probably the best you can do is to change the workflow by creating 1 task per sales organization (hopefully there are not too many ones, otherwise it's not realistic to create many dummy tasks):

Workflow
  Grouped according to task
    Credit and Debit Approval - S001
      Approval for Sales Doc - 000123
      Approval for Sales Doc - 000124
    Credit and Debit Approval - S002
      ...

If needed, you could create your custom program instead of using SBWP... (programs like RH_INBOX_VIEW_CREATE, SWLD_INPLACE1, ...)

Concerning your last question, why would it be a problem to add a second placeholder in the title of the workitem, as you already have a placeholder for the Sales Order number.