Skip to Content

PO release canceled/Rejected WORKFLOW WS65400030

Hi,

We have requirement when PO approver reject the PO, then PO creator should get an Email Notification.

We have set the system for WORKFLOW WS65400030 As per note 595732

Create an entry for the event REJECTION_START with transaction SWE2 (Change View "Event
Type Linkages": Overview) and the following data :
Object Category : BO BOR Object
Type Object Type : BUS2012
Event : REJECTION_START
Receiver Type : WS65400030
Receiver Call : Function Module
Receiver Function Module : SWW_WI_CREATE_VIA_EVENT_IBF
[X] Linkage activated
Create the event REJECTION_STOP with transaction SWE3 (Change View "Instance Type
Linkages": Overview) :
Object Category : BO BOR Object Type
Object Type : BUS2012
Event : REJECTION_STOP
Receiver Type : WORKITEM
Receiver Call : Function Module
Receiver Function Module : SWW_WI_COMP_EVENT_RECEIVE_IBF
[X] Linkage activated


And As per note 2156953 WE have set the 1) Activate type linkage for the Object type BUS2012, Event REJECTION_START and Receiver type
WS65400030.- T-code SWETYPV

As per Workflow WS20000075 Iam creating PO, The Email Notification went to PO approver, When Approver reject the PO, the Notification not goes to PO creator, We have configured the Workflow WS65400030 as below


Here with configured as below screen shot

SWDD


swdd-screen-shot.png

SWE2

swe2-config.png

SWE3


swe3-instance-linkage.png

PFTC

pftc-and-trigerring-event-and-terminating-event.png

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Dec 12, 2017 at 07:22 AM

    Hi

    If your question is why task TS65400035 is not sent to the PO creator.

    Task TS65400035 from workflow WS65400030 is a dialog task, so first you'll have to assign an agent to the task if you want it to be the creator of the PO you need to have an expression to find the creator of the PO.

    Then as it is a dialog task it will generate a workitem not a notification, you could then use extended notification to send a mail to the agent determine in the task.

    Cheers

    Stephane

    Add comment
    10|10000 characters needed characters exceeded


    • We have made the Task TS65400035 as General Task, ( reason wanted to add all the users )When PO rejected by approver when i Ran the Program

      RSWUWFML2 with Task TS65400035, It said "

      Sending notifications for work items

      1 work items were read. None were sent "

      Then I checked the PO creator SBWP, Then he/she have PO Rejected information in their SAP Inbox. Then how to send mail or notification to user , who has created the PO about PO rejection.

      ts65400035.png

      Thanks

      sapman man

      ts65400035.png (12.0 kB)
  • Dec 15, 2017 at 04:10 PM

    We have made the Task TS65400035 as General Task, ( reason wanted to add all the users )When PO rejected by approver when i Ran the Program

    RSWUWFML2 with Task TS65400035, It said "

    Sending notifications for work items

    1 work items were read. None were sent "

    Then I checked the PO creator SBWP, Then he/she have PO Rejected information in their SAP Inbox. Then how to send mail or notification to user , who has created the PO about PO rejection.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 17, 2017 at 07:36 PM

    any resolution for above !

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2017 at 07:08 AM

    Hi,

    Can you check and in SWEL , is there events triggered after rejection or not .

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 15, 2017 at 08:24 PM

    hi,

    SWDD configured WS65400030 as per note and General task maintained as per attributes in PFTC for task TS65400035.

    Whenever PO created as if release trigged as per Worklfow WS20000075 as per the PO Workflow triggred and mail went to PO approve with attachment to approve the PO.

    Same PO was rejected by approver, But Here PO creator were not getting information that PO rejected as an mail. ( User got the Info in SBWP)

    Herewith attached SWDD, PFTC and after rejection WORK flow diagram.

    In STD is it mail should to go to PO creator of rejected PO info, or shall we do development?


    swdd-65400030.png

    another-swdd-screen.png

    pftc.png

    swi1.png

    Add comment
    10|10000 characters needed characters exceeded