on 09-05-2014 8:06 AM
Hi,
I am trying to append the status [APPROVED/REJECTED] from work-flow container variable into task internal table of same type.
inside a loop, In my condition when it goes to each approver the status has to recorded in the internal table.So that i can access
that in a User Decision task container.
I tried by appending workflow container to internal table of task.
But everytime it replacing but not appending..
Thanks in advance.
Hi Mohammed
What I understand is that your step "Customised Decision Task" is within a loop and in every loop, you are trying to append L_STATUS from the workflow to L_STATUS_ITAB of the task.
As far as I know, in every loop, workflow is going to create a NEW instance of the "Customised Decision Task" (or have you managed to keep an existing instance?) Check the workflow log, the work item ID will be different for every instance of this task in the loop. Hence, it's a new object/memory area and will always have a single value in L_STATUS_ITAB
Instead, create a container element in the WORKFLOW, say L_STATUS_ITAB_WF and append L_STATUS from the workflow to L_STATUS_ITAB_WF of the workflow.
In the binding from workflow to "Customised Decision Task" , pass L_STATUS_ITAB_WF to L_STATUS_ITAB of the task. (No append).
Regards,
Modak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You, Modak Gupta
Your solution got worked..
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.