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
948

I'm trying to create a contract by using bapi BAPI_CONTRACT_CREATE but I'm getting error message KI235: "Account & requires an assignment to a CO object". In the account table (BAPIMEOUTACCOUNT) following fields are filled:
GL_ACCOUNT

CO_AREA
PROFIT_CTR

Corresponding fields in accountx (BAPIMEOUTACCOUNTX) are filled with 'X' and fields ITEM_NO and SERIAL_NO have same value as in table account.


Anyone have any idea why this error occurrs?

Thanks in advance,

Fredrik

1 ACCEPTED SOLUTION
Read only

gouravkumar64
Active Contributor
0 Likes
823

Hi,

Look at this thread for help.

http://scn.sap.com/message/8500184

Thanks

Gourav.

3 REPLIES 3
Read only

gouravkumar64
Active Contributor
0 Likes
824

Hi,

Look at this thread for help.

http://scn.sap.com/message/8500184

Thanks

Gourav.

Read only

0 Likes
823

Hi,

Thanks!
After entering cost element in transaction OKB9 it's working.

Read only

0 Likes
823

Hi,

So close this thread mark it as answered...

Thanks

Gourav....