on 09-09-2008 10:38 PM
Hi All,
I'm using 'SAP_WAPI_START_WORKFLOW' for Triggering my Custom Workflow.
I need to pass Table to INPUT_Container. Direct Elements i can Pass directly in TABLES parameter ( INPUT_CONTAINER ) as name value pairs.
Thanks in Advance,
Rema
Hi ,
I declared a Table of same type and passed the values and it is working. Element i passed as Container element and Value is my table.
SWC_SET_ELEMENT is giving dump in this case.
Thanks for all the help.
Rema.
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 create a work area of the same structure as that of the table to be passed. Fill the workarea the same way as you fill an entry in the internal table. Pass the workarea directly through the function module.
Hope this will help.
Regards,
Samson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am taking one example here.
Supposse i have to pass possible agents(2-3 or more as per requirement) manually to workflow.
1)Define your container as follows(in your code):
swc_container lt_event_container.
swc_create_container lt_event_container.
2)Then declare workflow container element 'ZUSER' with necessary type(For my example structure type is 'SWHACTOR') or structure of that table and declare it as multiline and tick both import export parameters also.
3)then in your code fill table zagents (type SWHACTOR) fill this table & pass as below:
swc_set_table
lt_event_container
'ZUSER' zagents.
4)Don't forget to write this on top of your code. include<CNTN01>.
Hope magic Works!
Reply back.
Regards,
Purvesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you need to use Macros SWC_SET_TABLE Container to achieve your purpose.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.