on 01-23-2013 3:40 PM
Hello,
We are using SRM 5.5 - clasic escenario.
SC are approved by workflows.
In table SWIWIOBJCT I can find users and the times of approval steps when they have been completed.
However the table does not show who will be the next approval agents.
How can I find these following approval agents?
Is there a table, a function or transactions to consult this information.
Our workflows are based on positions in the Organizational Structure.
Thanks for any help.
Aart
Hi Aart,
You can use FM BBP_WFL_DIN_APPR_CONTAINER_GET in which you have to enter workflow ID of Shopping cart. This FM gives details of all the approvals even if they have not approved the cart which you are facing issue.
Hope this helps.
Thank you
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ritesh,
I
Upon entering the FM, The folowing import parameters appear:
IV_MAIN_WORKITEM_ID (here I put the Main Workitem ID with leading zeros (example. 000000095918)
But what do I have te enter in the next two inputparameters? What do they mean?
IV_IS_VIEW_ITEM_LEVEL
IV_READ_FROM_DB
I cant get the approval agents to appear as the putput results.
Thanks for any help.
Aart
Hi Aart,
That is very strange behavior. It looks like your custom workflow is not filling the container of the remaining approvals as well. As i see it called 4 level workflow but for level 3 and level 4 agents are not determined in your workflow. Please see screen shot below, we are using n-step BADI workflow where our agents are determined at time of ordering for all levels. I would recommend you to check workflow if it behaved as per your business requirement or not?
Hope this helps.
Thank you
Ritesh
Hi,
Finaly to solve the problem we created a table in which we put for every workflow step the function module which determined for that particular step the approval agent.
Our workflows are all "Z" and also de function modules were engineered.
That why the standard solution did not work.
Thanks for the replies.
Aart
Hi Aart,
Next Approval agent may vary depends on various condition,
It will determined at runtime only, so I think It we will not get that in the table .
By debugging or in SWI1 tcode only you can see the possible agents.
check it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.