How reflect in EM the annulation of events
I have a Procurement visibility scenario, in this moment we have the following document flow:
Purchase order -> Inbound delivery -> Goods receipt -> Invoice verification -> Payment
Now In this moment we have the process in the invoice verification step, when I see in the Purchase Order, the Purchase order history, we can see Goods receipt and Invoice Receipt executed. In EM the expected events u201CReceive advanced shipping notificationu201D, u201CReceive acknowledgmentu201D, u201CReceive Goodsu201D and u201CReceive Invoiceu201D are notified (green in /SAPTRX/EH_LIST -> Event handler Overview).
Ok, now we going to annul the invoice verification document and see what happen in the transactional and in EM. We ingress to the MR8M transaction (Cancel Invoice Document) and made the procedure.
Now we check in the purchase order history and the system reflects the change without problem. After, we are going to verify in EM (/SAPTRX/EH_LIST) and the event handler don´t reflect any change, in this case we have a difference between SAP ECC and SAP EM, because in SAP ECC the system show the event in u201Czero statusu201D again, and in EM the event itu2019s in status of Closed.
Ok, we going to make the same procedure with the goods receipt event, in this case we ingress to MBST transaction.
Again we check in the purchase order history, the system reflects the change without problem. After, we are going to verify in EM (/SAPTRX/EH_LIST) and the event handler don´t reflect any change, in this case we have a difference between SAP ECC and SAP EM, because in SAP ECC the system show the event in u201Czero statusu201D again, and in EM the event itu2019s in status of Closed.
In both cases EM don´t reflect de annulation of the transactional documents, what could be the reason of this behavior, the relevance functions defined in SAP ECC?????
In the following link you can see the description made with images for more clarity:
I appreciate a lot your help with this issue.
Steffen Georg Butschbacher replied
in the procurement visibillity process such annulations are not handled. If you want to have them you could create new Event Types and send unexpected events to EM. Similar to what i described in your other post.
On EM site you need a new multi task activity that reacts on these annulation event codes. To reset the reported event you can use activity:
EE_RESET Reset the Actual Dates and Status for an Expected Event ACT_RESET_EE
After the execution of this activity the event is reset from reported to expected.