cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BBP_PD shows SC status approved, but item still in approver's inbox

vishal_sharda2
Participant
0 Likes
176

Hi Experts,

I am working on a requirement where shopping carts are created thru portal, but approval/rejection needs to take place thru custom code.

I am using FM   BBP_PD_SC_STATUS_CHANGE_WF to approve the SC. Upon execution of SC, the BBP_PD logs shows following log which indicates SC is approved.

Stats:

           Status         Description                    Inactiv

HEADER     I1015          Awaiting Approval              X

HEADER     I1021          Created

HEADER     I1038          Complete

HEADER     I1106          Shopping cart ordered

HEADER     I1129          Approved

However, the item is still there in approver's inbox. Also, in requestor inbox it shows as 'Awaiting Approval'.

Can you please advice where I am going wrong.

Thanks in Advance!

-Vishal Sharda.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Vishal

When you use FM   BBP_PD_SC_STATUS_CHANGE_WF to approve or reject,

and header status is changed without touching workflow. So the workflow maybe have inconsistency.

Instead, please try FM /SAPSRM/FU_WF_RFC_DECISION to approve or reject.

IV_HEADER_GUID =

IV_MODE = APPROVAL

IV_BOTYPE =

IV_WIID = Workitem ID of Approval task

IV_DECISION = APPROVED or REJECTED

best regards
Michael