Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
Muask
Participant
0 Kudos

Hi experts,

I need to create purchasing contract using BAPI_CONTRACT_CREATE. I filled structures like below.

But I got a following error: 

"No instance of object type PurchasingContract has been created. External reference: # 1"

What is the reason for this error?

 

HEADER  HEADERX 
COMP_CODE                      1000 COMP_CODE        X
DOC_TYPE                      MK DOC_TYPE           X
VENDOR                         6200007 VENDOR                    X
PURCH_ORG                       YISO PURCH_ORG                  X
PUR_GROUP                   340 PUR_GROUP                    X
CURRENCY                       TRY CURRENCY                      X
DOC_DATE                        01.02.2024 DOC_DATE                     X
VPER_END                        01.02.2025 VPER_END                    X
     
     
ITEM  ITEMX 
ITEM_NO                00001 ITEM_NO                        00001
MATERIAL                 3100000116 MATERIAL                      X
TARGET_QTY                              150 TARGET_QTY                     X
PO_UNIT                 ADT PO_UNIT                        X
PO_UNIT_ISO                   PCE PO_UNIT_ISO                    X
ORDERPR_UN               ADT ORDERPR_UN                 X
ORDERPR_UN_ISO          PCE ORDERPR_UN_ISO         X
NET_PRICE                                          215 NET_PRICE                     X
CONF_CTRL                      0001 CONF_CTRL                   X
     
     
ITEM_CONDITION  ITEM_CONDITIONX 
ITEM_NO00001 ITEM_NO00001
SERIAL_ID1 SERIAL_ID1
COND_COUNT01 COND_COUNT01
COND_TYPEPB00 COND_TYPEX
SCALE_TYPEA SCALE_TYPEX
SCALE_BASE_TYC SCALE_BASE_TYX
CALCTYPCONC CALCTYPCONX
COND_VALUE215 COND_VALUEX
CURRENCYTRY CURRENCYX
COND_P_UNT1 COND_P_UNTX
COND_UNITADT COND_UNITX
CHANGE_IDI   
     
     
ITEM_COND_VALIDITY  ITEM_COND_VALIDITYX 
ITEM_NO                        00001 ITEM_NO             00001
SERIAL_ID         1 SERIAL_ID               1
PLANT  ITEM_NOX 
VALID_FROM                    1.02.2024 SERIAL_IDX 
VALID_TO                       1.02.2025 PLANT 
   VALID_FROM               X
   VALID_TO                  X
     

 

1 Comment
lamle1989
Discoverer
0 Kudos

This error often comes with another one which is the main error leading to the document was not created successfully. Hence, figure out the main error and fix it, above one will be disappeared.

Lam.