Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with BAPI_CONTRACT_CREATE

Former Member
0 Likes
2,055

Hi Guru's

I am executing a BAPI : BAPI_CONTRACT_CREATE to create a contract in SE37 . I am able to create a contract manually using ME31K ,I am passing same values to this BAPI , But i am getting the following error during the execution .

Please help me to resolve the issue.

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

Enter G/L Account

Thanks & Regards,

Praveen.

5 REPLIES 5
Read only

Former Member
0 Likes
1,095

Hi,

Check whether you filled the 'ACCOUNT' table or not.

ACCOUNT- Account Assignment Data - Outline Agreement

It is necessary to populate the item number ITEM_NO and the number of the account assignment SERIAL_NO because otherwise an assignment between database information (EKKN) and BAPI interface is not possible.

Read only

0 Likes
1,095

Hi Neenu ,

I have updated the Item number as 00010 and serial number as 01 in account and accountx table .

still I am getting the same message.

Regards,

Praveen

Read only

0 Likes
1,095

Hi All,

Any pointers on this will help me a lot.

Thanks

Praveen

Read only

Former Member
0 Likes
1,095

Hi,

I had got some what this kind of error .... in my case the error is resolved when i put proper profit centre... in ur case if prof center is used then plz check that along with gl account..

Read only

Former Member
0 Likes
1,095

Thanks