on 04-23-2008 2:23 PM
Hi All,
Please help me,
We have SRM 5.5 (SAPKIBKT11). We use the BADI BBP_WFL_APPROV_BADI
and WS14000145 with 3-step approval (example, Manager1,Manager2,Manager3)
When the PO - hold, in approval I see 3 approval, but when I to push in button "Order" in approval I see only: Workflow started/Result: Approved (,i.e. work workflow without Approval for PurchOrder) all approvals disappear. And all three of approvals don't get the authorization flow. In the BADI in approval_table I have this approvals.
Best regards,
Guzal.
Hi, Martin,
Thank you for your answers,
Yes in the BADI I use No_Further_approval_needed, the fragment of my BADI:
WHEN 3.
ls_approver-approval_index = 3.
ls_approver-approval_agent = 'USKOMORNIKO_DA'.
ls_approver-name = 'Manager3'.
ls_approver-approval_description = 'Third approval step'.
APPEND ls_approver TO approval_table.
WHEN OTHERS.
no_further_approval_needed = 'X'.
ENDCASE.
Best regards,
Guzal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Imthiaz Ahmed,
I'm order PO directly after doing a "CHECK" and status WS14000146 - Logically deleted.
Best regards,
Guzal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Martin
Thank you for reply.
I'm trace WS14000145 through the tr. SWUD and I see that it start.
Work item selection:
10063 Background Step Set Status of Purchase Order to Released
10062 (Sub)workflow Update Purchase Order After Approval/Rejection
10061(Sub)workflow Subworkflow for N-Step (BADI) Approval PO
10060 (Sub)workflow Wait for BUS2202 Events (Subworkflow)
10059 (Sub)workflow BAdI approval for Purchase order no. 4400050008, GUID 480E86C61B6900BA000000000A012E1E
Workflow log:
Workflow and task Status Result
1) BAdI approval for Purchase Completed WF started
order no. 4400050008, GUID
2)Subworkflow for N-Step (BADI) Logically Deleted
Approval PO
3) Update Purchase Order After Completed Step Executed
Approval/Rejection
4) Set Status of Purchase Order Completed Purchase Order
to Released status set to
Released
And I set the external break-point in the BADI, I see that the Badi is called.
In the tr. SWI2_FREQ I see:
TS14007956 Set Purchase Order to Released Background Step
WS14000076 Wait for BUS2201 Events (Sub)workflow
WS14000077 Update PO After Approval (Sub)workflow
WS14000145 Approval N-Step for PO (BADI) (Sub)workflow
WS14000146 Subworkflow N-Step for PO (BADI) (Sub)workflow
WS14000154 Reviewer Workflow for PO Approval (Sub)workflow
Best regards,
Guzal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Martin,
Thank you for you answers.
The start conditions of WS14000145 is active (&EC Purchase Order.CreatorUser.Activity Group& CE Z_SRM_ADMIN), for WS14000075 - not active.
Best regards,
Guzal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guzal,
Probably the start conditions still point to the automatic approval workflow or the event linkage is not activated. Check the start conditions or activate the event linkage to WS14000145 and deactivate it for WS14000075.
Regards,
Martin
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.