on 02-12-2014 6:33 PM
Hi Experts,
I have created a WD application which consists of more than 60 fields, consisting of a lot number of nodes from different structure. Now on action of submit I need to save all those field data to Ztable and as well as I need to trigger workflow.
I just followed the below link for triggering workflow from WDA and am clear on it(Passing Emp ID alone).
But my doubt is
1. How can I pass all field data values to BO, such that need to use it in table swr_cont. Whether am I need to create 60 attributes or is there any other way?
2. How to update all those screen field values to my Ztable.
Please help me in understanding.
With Regards,
Ramakrishnan M.
1. The impotent data to pass to the workflow is the key of the object you are working on, the rest of the data should be saved to your z-tables. now the workflow can read them:
2. save the data to the z-table before you call the SAP_WAPI_CREATE_EVENT to start the workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Ramakrishnan Murugan wrote:
1. How can I pass all field data values to BO, such that need to use it in table swr_cont. Whether am I need to create 60 attributes or is there any other way?
We need not to pass all data from WD application to workflow but only key data needs to be passed.
When we create a workflow object, we would define the key attributes ( like PERNR, or some UNIQUE_KEY ) & before tiggering workflow, this key data needs to be populated into SWR_CONT and pass to the FM/bapi.
Ramakrishnan Murugan wrote:
2. How to update all those screen field values to my Ztable.
To update the data into Ztable follow the below steps
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.