on 02-20-2018 11:36 AM
Hi,
I have a custom event for an incoming invoice business object BUS2081 , I want to know where the custom event container values are filled from for one of the event binded values in workflow the value is not correct . i need to check that.
thanks,
balu
In your workflow, go to basic data - start events and check the binding defined.
In some cases, these values are populated from container values passed from the program where the workflow is triggered.
Regards,
Gautham.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use a Check Function in your event linkage to set container values - in your Check FM, call SAP_WAPI_CREATE_EVENT and fill your container before the call.
Have you checked transaction SWETYPV to see what the linkage shows for ZBUS2081?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please read
https://wiki.scn.sap.com/wiki/display/SI/Workflow+Troubleshooting+and+Debugging
Pay particular attention to 3. SWU0 Tx: EVENT SIMULATION - you should be able to debug what is being passed to your workflow from there!
Hi,
thank you very much for the reply I had checked the link and I had checked the binding for the event and the workflow container and every thing is ok but the the purchasing group in the event container itself is wrong . where as for the PO for that corresponding MIR4 invoice the purcahsing org is correct. please suggest ?
thanks,
balu
Take a look at the docu for transaction SWUD. If you go here, you can choose 'Test Environment', enter your Workflow Template, and choose Container Monitor. Then you can start the workflow and see what is being passed in.
Every time the container is changed, you'll see the before and after values.
Otherwise, since you're talking about an invoice and a PO, I'd check how you are getting/storing the Purchasing Org in the various BOR Objects.
Hello Susan,
thanks again for the reply, yes I had seen the SWUD transaction where we can see the container monitor and how those values changes . But I want to debug the event and want to know how the values are filled in the event container.
The initial event container values are wrong before it got binded with workflwo container. so two questions like standard event created changed deleted how to know when this custom event is triggered I know using event create function modules but i want to know for an BO zbus2018 when the custom event will be triggeered is it when the invoice changed or created or deleted?
and how the custom event container values are filled.
thanks,
balu
Hi, Balakrishna,
There once was a similar question, please have a look: https://answers.sap.com/questions/277506/question-on-workflow-custom-events.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.