on 06-05-2015 1:49 PM
Hi All,
For material and Free text Shopping cart - even after providing Account assignment , Source of supply - Fixed vendor partner function 19, SC Item having price and quantity, still in the back end system it creates a PR instead of PO.
My SRM system Version:
SRM_SERVER | 713 | 0006 | SAPK-71306INSRMSRV | 0000 | - |
My ECC system Version:
SAP_ABA | 740 | 0006 | SAPKA74006 | Cross-Application Component |
SAP_APPL | 617 | 0004 | SAPKH61704 | Logistics and Accounting |
I have done following config:
Client Version Area Message Message cat.
100 00 06 334 W
BUS2000113 CreateFromData ERP_3.0 B46B_CTR_CREATE
BUS2007 CreateFromData ERP_3.0 B45A_PMORDER_COMP_CREATE
BUS2017 CreateFromData ERP_3.0 B45A_GOODSMVT_CREATE
BUS2205 CreateFromData ERP_3.0 B40B_IV_CREATE
DOCUMENT CreateFromData ERP_3.0 B46C_ATTACHMENT_CREATE
Still in the ECC system it always creates PR.
SC status is :
Stats:
Status Description Inactiv
HEADER I1015 Awaiting Approval X
HEADER I1021 Created
HEADER I1038 Complete
HEADER I1106 Shopping cart ordered
HEADER I1129 Approved
0000000001 I1111 Item in Transfer Process X
0000000001 I1113 Follow-on Document Created
Values in Table BBP_PDBEI
BE_OBJECT_TYPE BUS2105
BE_OBJECT_ID 5000000013
Already checked:
Can anyone tell me what could be the reason for PR getting created in ECC system?
Regards,
Ashish Shah
HI Ashish
As mentioned by Laurent check the link on how to debug . run the FM BBP_PD_SC_TRANSFER
Also check BADI BBP_TARGET_OBJTYPE
Set a watchpoint on the fields 'requisition' and 'it_procurement_item[]-OBJ_TO_GEN', and check where and why are they filled/changed. The field lt_procurement_item[]-OBJ_TO_GEN defines the type of the follow-on document (where the 1=reservation, 2=purchase requisition, 3=purchase order). If there is a problem that PR is created instead of reservation, than you need to watch the field 'purchasing'.
Also you could add the below code in your badi and then try :
IF Your condition | |
ls_item-pack_objtype = 'BUS2201'. "PO | |
CLEAR ls_item-pack_objtype. | |
MODIFY ct_item FROM ls_item TRANSPORTING pack_objtype. | |
ENDIF. Regards Vinita | |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinita,
I have already written similar code in BADi and after this code PO gets created.
However as i understand as per standard SAP standard process , without even writing this code in BADI PO should get created if the all the mandatory fields are filled in Shopping cart like Source of supply , account assignment etc.
That means without writing the code in this BADI the PO should get created in the ECC system.
Am i right?
Regards,
Ashish Shah
Hi Ashish,
I also upgraded to SRM_SERVER 713 and PO is not getting created even if SC approved successfully.
Have you got any reply from SAP or do you get any idea to fix the issue.
Regards,
Saroj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any suggestions anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
did you check this wiki?
Determination of the follow-on document type
and even more this one:
Follow-on document determination (PR, PO,RS)
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.