Skip to Content
Former Member
Mar 27, 2014 at 03:07 PM

How do we identify SC that are stuck in awaiting approval status?



Extended Classic Scenario 7.01

We have Shopping Carts set up for auto approval. From time to time some Shopping Carts get stuck in awaiting approval status and we need to manually force them to go. We have not been able to identify a root cause for this so we would like to create an abap that would identify those SCs that are stuck then submit BBP_REQREQ_TRANSFER to transfer those SCs.

The problem we are having is finding the correct combination of status's that will capture those SCs that are truly awaiting approval.

We first find all those SC with status = I1015 (awaiting approval)

Then we exclude those with status i1040 (deleted) and i1129 (followon document created)

It seems in our testing that sometimes the status i1129 has an "X" in the inactive column. Should those then be reprocessed and therefore not excluded?