Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Incorrect item status shown in check status for rejected SC

Hello,

I would like to have some advices regarding SC header status and SC item status update when SC is approved or rejected by an approver. Our SRM version is SRM 4.0 with SP SAPKIBKS13 for software component SRM_SERVER 5.0. We created a BAPI in order to allow users to approve (totally)/reject (totally) SC using a customer portal: this means approvers do not connect to SRM to approve/reject SC. This BAPI called by RFC uses function module BBP_PDH_WFL_DB_UPDATE_BACK.

Importing parameters used are:

1- IV_OBJECT_ID (SC number),

2- IV_OBJECT_TYPE (BUS2121),

3- IV_ACTION (H for reject or F for approve),

4- IV_OBJECT_CHANGED (empty for approval or rejection).

We noticed no differences between SC approbation directly in SRM or using customer portal.

When final approbation is done, approval status is "Approved by" and SC header/item status are also "Approved".

Nevertheless, for rejection, there is a delta between both possibilities.

Indeed, when rejection is done in SRM:

- SC total value displayed is zero,

- approval status displayed is "Rejected by",

- SC header status displayed is "In your inbox" due to task TS10407972 u2013 "Change Rejected Shopping Cart" from workflow WS10400051 u2013 "Final Proc. After Approval Alternative 2",

- SC item status displayed is "Rejected",

- in table CRM_JEST, active header system status is "Awaiting approval" u2013 I1015 (no item status exist).

But, when using our BAPI:

- SC total value displayed is the same as before rejection (its value does not becomes zero),

- approval status displayed is "Rejected by",

- SC header status displayed is also "In your inbox",

- but SC item status displayed is "Awaiting approval",

- in table CRM_JEST, active header system status is "Awaiting approval" u2013 I1015 (no item status exist).

For problem with total value is zero, i implemented OSS notes:

- 1155048 u2013 "Tax amount of rejected shopping cart becomes zero",

- 1157120 u2013 "Rejected shopping cart total value in 'check status' is zero",

but this did not solve this first issue.

Does anyone have an idea for this ?

For SC item status, i noticed that "Rejected" is displayed for item SC status if field DEDUCT_IND from table BBP_PDIGP is set.

I did not find what is the standard treatment to set this field when rejecting SC in BBPBWSP_SIMPLE transaction. How could i do to update this field using a standard FM in order to not have a delta regarding the way used to reject SC ?

Thank you. Laurent

Not what you were looking for? View more on this topic or Ask a question