on 04-13-2012 6:34 PM
Hi there,
Using SRM 7 extended classic scenario
We had a situation on April 6th where a user created a self approved shopping cart. However, before the SRM system was able to generate a PO number, the user went in to edit the shopping cart. The shopping cart got approved, but no PO number was generated.
I checked RZ20 and can indeed see the error message there. I also checked SM12 and there are no lock entries as it is now 7 days since the shopping cart was created.
I executed FM BBP_PD_SC_RESUBMIT in production, entered in I_OBJECT_ID and I_PO_GUID. This however, did nothing.
I was able to recreate this scenario in our development environment, but I noticed one difference. The status of the shopping cart in our development system was I1111 (Item in Transfer Process) but in production, the status is I1129 (Approved). From analyzing the development and production shopping carts in BBP_PD, I can also see that the production shopping cart does not have an object key.
PROD | DEV | ||
Status | Description | Status | Description |
I1015 | Awaiting Approval | I1015 | Awaiting Approval |
I1021 | Created | I1021 | Created |
I1038 | Complete | I1038 | Complete |
I1106 | Shopping cart ordered | I1106 | Shopping cart ordered |
I1129 | Approved | I1129 | Approved |
N/A | N/A | I1111 | Item in Transfer Process |
When I execute the FM in development I enter _OBJECT_ID, OBJECTKEY and I_PO_GUID and this creates the SRM PO number successfully
Where can I go from here
Thanks for your help.
Bernard.
Hello,
Try to execute BBP_PD_SC_TRANSFER, providing the cart header GUID.
If follow on document is not being created, probably there is an exception occurring due this process.
You can try to debug this transfer to find out the issue.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try this also -
FM -- BBP_PD_SC_RESUBMIT
From RBEI,
Snehal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi REBI SRM,
Ethe issue got resolved as I ran the FM BBP_PD_SC_TRANSFER. After this the follow on document are created. The issue probably poped up because the cart creator opened the cart in edit mode after 4-5 mins the cart was cerated, so the system might have tried to update the cart at the same time but failed to do so(found this in BBP_PD).
Also, there is only one approval for this cart and that too is auto approved by the system.
Thanks for your help.
Hi Nitesh,
But as per your above information it shows approved state only.
I think it is stuck with approved state.
Please run this report, it will help -->
This is the new report BBP_SC_AUTO_RETRANSFER to change the status from
I1129 | Approved |
I1111 Item in Transfer Process
to
I1112 Error in transfer/ transmission
Or Try this -
For the above case - SC may have both status:
- "Approved" is a functional status, result of approval WF
- "Error in transfer" is a technical status, result of transfer process.
BBP_PD_SC_UPDATE and all BBP_PD* functions are always used to update SRM documents.
All the logic is not inside those functions, but also in programs calling those functions. There are other functions called to simulate an action, possible or not depending on the status:
- approved SC can't be changed in "Check status" (so the transaction will only use BBP_PD_SC_GETDETAIL but not UPDATE
- approved but erroneous SC can be changed by the admin (not by the requestor), here you can enter in change mode, and BBP_PD_SC_UPDATE will be used.
Last point: if you are ordering product, there will be an R/3 check with the plant. So if this plant does not exist, an error would even prevent you from ordering the SC.
From RBEI,
Snehal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bernard,
What is the error message in RZ20. Also try executing the program BBP_ALERT_SB_NOTTRANSFERED and then try to re-run the FM BBP_PD_SC_TRANSFER as Ricardo mentioned.
Regards
MKK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bernard,
Please try with the following.
1. Please check any entries in the table BBP_DOCUMENT_TAB
2. Execute clean_reqreq_up report if any entries in above table
3. In the Shopping cart Monitor, select the shopping cart and click on " Create follow on document",
If the following document is not created, please refer the OSS note 1649794 to know the correct status of
shopping cart.
Best Regards
Ram
Hi REBI SRM,
I have a similar cart but it is shown as approved in the "Approval Process Overview" tab, but when I am checking the cart details in BBP_PD it is shown as in Held status,
Stats:
Status Description Inactiv
HEADER I1009 Held X
HEADER I1015 Awaiting Approval X
HEADER I1021 Created
HEADER I1038 Complete
HEADER I1106 Shopping cart ordered
HEADER I1129 Approved
Can you please suggest me how to resolve this issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.