cancel
Showing results for 
Search instead for 
Did you mean: 

SC item approval - Approval preview does not display approvers

Former Member
0 Kudos

Hi all,

I am using WS14500015 for shopping cart item based approval. Everything is working fine with the approval messages dispatched to the respective recipients. My problem is that the 'Approval Preview' is not returning the approvers as expected. Specifically, it display 'No Approvers' in the 'Details for Item-Based Approval' table even though the SC is visible in the approvers inbox.

I notice that Ad-Hoc approval is not defined against WS14500015 which is necessary for approval preview in the SC completion workflow. Is this the reason why it is not working or does it use and alternative method.

Many Thanks

Paul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

Thanks very much for your feedback.

In reply to Brian's suggestions

1. I checked to see if WS14500013 was defined as general task; it was not and this has has now been rectified. Went through the other workflows also.

Double checked the contents of the tables:

APPROVAL_TABLE, ITEM_APPROVAL_TABLE, ITEM_APPROVAL_OBJECT.

All appeared OK.

Created a simple one line SC. Invoked approval preview and the message: 'Approval step without ad-hoc capability. No preview possible' was displayed. This is odd since WS14500015 and sub-workflows do not use AD-HOC approval. Or am I not understanding this correctly.

Followed Smitas suggestions but to no effect.

Here are the contents of the said tables which I lifted from the workflow tables:

Again, many thanks for your responses...

**APPROVAL_TABLE****

NAME="APPROVERLIST:ApproverList:" <APPROVAL_INDEX>0000000001</APPROVAL_INDEX>

<APPROVAL_BRANCH>0000000001

<APPROVAL_AGENT>USMGRR11000

<APPROVAL_STATE>0000000002

<INITIAL_AGENT>USMGRR11000

<INITIAL_INDEX>0000000002

**ITEM_APPROVAL_OBJECT***.

NAME="ITEMAPPOBJTABLE:ItemAppObjTable:" - <item>

<SC_GUID>957117374BC6434882B0BFD5462A2724</SC_GUID>

<APP_CRIT_NAME1>COST_CTR</APP_CRIT_NAME1>

<APP_CRIT_NAME2>ORDER_NO</APP_CRIT_NAME2>

<APP_CRIT_NAME3 />

<APP_CRIT_VALUE1>R11000</APP_CRIT_VALUE1>

<APP_CRIT_VALUE2 />

<APP_CRIT_VALUE3 />

<APPROVAL_OBJECT_GUID>9E6EFAC500B681458284BBB60BF99C8A

*****ITEM_APPROVAL_TABLE***,

NAME="APPROVALITEMLIST:ApprovalItemList:"

<item>

<APPROVAL_OBJECT_GUID>9E6EFAC500B681458284BBB60BF99C8A <APPROVAL_ITEM_GUID>1137519335F51C4DB3D2844A8AD484C0

Former Member
0 Kudos

Dear Paul,

We are currently facing exactly the same problem. Were you able to resolve this problem finally?

Could you please help with a few pointers?

Thanks a lot.

Christine

Former Member
0 Kudos

Hi

<b>Try these OSS notes.</b>

<u>731637 Consulting: How can the item-based approval be used?

900283 BADI WFL/Item-based approval: Creating message

777630 Item approval: Step description in the applet

844964 Item approval: Approver disappears in item view

844101 Item approval: Added approver

770527 EBP 3.0+: Rejection of incorrect SC items

724600 Detail for reviewer displayed in item-wise approval

723840 Item-based approval: Incorrect approver details</u>

Incase it does not help, raise an OSS message with SAP.

Regards

- Atul

Former Member
0 Kudos

Thanks for the inputs Atul.

Will update this thread if our problem gets resolved.

We are currently on SP8 so some of the OSS notes are not valid for our SP level.

Regards

Christine

Former Member
0 Kudos

Paul-

I have seen this same error while implementing the workflow. I can suggest 2 things that may be causing this error.

1. Verify WF WS14500013 is classified or general or as you require. Also verify your approval task is properly classified. Per OSS 731637.

2. I have seen these error due to coding issue where not all of the approval badi tables are not properly populated although the workitem does move as expected.

Double check the results which are being produced in the

APPROVAL_TABLE

ITEM_APPROVAL_TABLE

ITEM_APPROVAL_OBJECT

Debug your BADI and vefiry all tables are totally correct.

Please post your table info if you continue to have issues.

Regards-

b

Former Member
0 Kudos

Hi Paul,

Have you debugged your BADI and found out that correct data is filled in the approvals tables. If yes and workitem goes to correct approvers. Try to refresh or go to check status again and then see the approval preview.

NOw if it correct then I am also facing the same prob. I have logged a message in OSS for this. sometime my preview is not correct but when I go in check status its properly refreshed. From long we are communication with SAP on this.

Regards,

Smita