I am triggering a workflow using the function module SAP_WAPI_START_WORKFLOW, workflow gets triggered and i am using the function module SAP_WAPI_WRITE_CONTAINER to write the values in workflow container,
now i am trying to bind these values to task container, by doing that i am not able to see the values in task container, i see the values in workflow container,
i tested with a element which have initial value, that value comes in task container, where as the elements that i have created using the above wapi fun.module does not gets in the task container?
Can anyone help me out on this please.
Thanks in advance.
Not that it is an answer to your question, but is there any particular reason why you use SAP_WAPI_WRITE_CONTAINER after starting the workflow instead of passing parameters via the container when you call SAP_WAPI_START_WORKFLOW? That does not sound like a good solution to me, but you can probably make it work somehow.
When you say you see the values in the workflow container, are you talking about design-time container or run-time container? You have to see them in the design-time container, i.e. as already mentioned you have to define these container elements in both the multistep task (workflow template) container and the single task container.