on 04-12-2018 7:06 PM
Hi,
Is it possible to pass data from workflow to event container. As per this document we can:
https://wiki.scn.sap.com/wiki/display/ABAP/Binding+Definition+in+Workflow
My workflow is being triggered through a custom class event. I have a user decision step which, on approval, is associated with a task creating a contract via. ME31K BDC. Most of the things are fine but now i want error/success message of BDC to be returned to calling program i.e., where im triggering start eventWork of WF. Is it possible. Please advise.
Thank you!
Hi,
You're thinking sequentially, whereas with workflow it is better to think things modular.
What is the end result of the program? If it is updating a table then that task can also be done in the workflow.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What I am saying if the process is like:
program starts an event
event gets picked up by workflow and does something
after it does something a Z table needs to be updated consisting of data present in the program and data received after a step in the workflow.
In that case when triggering the event, add container fields for updating the Z table so that you can use that in an additional step in your workflow. Now the process is more streamlined.
Kind regards, Rob Dielemans
Hi,
It is possible. Since it is your custom Class event trigger, I hope you are using the BDC inside a class method.
when you use that method in the task , binding will give shows all the import and export parameter of that class to bind to task.
You can then bind that task elements back to Workflow container.
I hope you get it now. let me know if you still need information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
May not possible.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You can get data in workflow container which was mappend to event container during start. It is possible let your background task where you can bdc capture the messages and pass back to task container which are binded back to workflow container then you can use further
Thanks
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.