cancel
Showing results for 
Search instead for 
Did you mean: 

Approval Preview when the workflow is finished

Former Member
0 Kudos

Hello,

We have implemented the BADI to get multiple level approvals in Shopping Carts. When we display the approvers via Approval Preview the system works fine if the workflow is in process, but when the workflow is finished we donu2019t display anything.

We have SRM 4.00 and the support package SAPKIBKS13 for SRM_SERVER 500

Thanks in advance, Juan Manuel

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Juan Manuel,

Check wiki below:

[adhoc approver|http://wiki.sdn.sap.com/wiki/display/SRM/adhoc+approver]

If it does not solve your problem, your ABAP code in BAdI implementation should not be correct: you will have to debug...

Regards.

Laurent.

Former Member
0 Kudos

Hello Laurent,

Many thanks for your information, but in our case we canu2019t access to debug the BADI when the workflow is finished. Only we can access when the wfl is in progress. We fix a breakpoint in the BADI but the system does not stop, if we press Approval Preview once the workflow is finished

Thanks in advance

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Did you check the last outcome in WFL_Approval Badi? Are you getting app the approvers till this end?...

Thanks

Former Member
0 Kudos

Yes, we get and view all approvers correctly, but when the last one approve the SC, all the approves disappears in Approval Preview and we get the message u201CWorkflow startedu201D

Former Member
0 Kudos

Hi,

Please check for following excrepts from SAP help sites:

1. OSS Note 1093840, content here may help to debug.

2. You are using ad hoc agent objects to determine your agents, do not use rules directly as this limits the functionality

available especially during approval preview and can have knock on effects in the display

3. Mark any steps you have added that are not approval steps as "step not in workflow log" - the applet display is based on

the graphical workflow log and unexpected steps can cause unexpected effects in the applet display

4. Make sure you follow the same pattern based approach if you are adding extra approval steps, e.g. make sure the approval

step itself has the same group name as the other approval steps

Also additionaly check for workflow log(SWi6) . If WF is working fine.

Thanks