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

BAPI_PO_CREATE1 - Different account assignment with contract

Former Member
0 Likes
2,549

Hi Gurus,

i use the bapi to create any PO.

The only issue i recive is when i attempt to create a PO with account assignment 'P' and this PO is referred to a contract with account assignment 'U' (unknown).

In this case i recive the message SE518:No account assignment exists for service line 0000000010.

Please help me.

Thanks in advance,

Massimiliano.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,048

Hi all, i found the solution.

In my case (different account assignment between PO and contract) is required to fill these fields with the contract package number and package line number (from ESLL):

PLN_PCKGPLN_PACKNO
PLN_LINEPLN_INTROW
CON_PCKGKNT_PACKNO
CON_LINEKNT_INTROW

Thank you all,

bye

11 REPLIES 11
Read only

Former Member
0 Likes
2,048

Check the below thread it might be useful:

http://scn.sap.com/thread/3253246

Read only

0 Likes
2,048

Thank you for reply.

I fill all the structures as the post says.

If i use a contract with account assignment 'P' the bapi runs!

So, i think that the structures are all filled, maybe in my case

I need something more to fill.

Br,

Massimiliano

Read only

0 Likes
2,048

Just check in BAPI what validation leads to this error message in debugging

Read only

0 Likes
2,048

Hi,

are you suggesting me to debug the standard bapi?

Read only

Former Member
0 Likes
2,048

No suggestions?

Read only

Former Member
0 Likes
2,048

Any helps?

Read only

0 Likes
2,048

http://scn.sap.com/thread/69142

May be helpful. Please check

Read only

0 Likes
2,048

Hi joffy,

thanks for your reply.

The post you indicated me is not what i need.

The note is not for my case and the last trick is useless.

The bapi runs, the problem is when i have two different account assignment between PO and the contract.

Maybe something in customizing?

Thanks,

massimiliano

Read only

0 Likes
2,048

Please do check tcode: OME9 for account assigment category related configuration.

Also check this

http://help.sap.com/saphelp_45b/helpdata/en/34/60b246ae724effe10000009b38f91f/content.htm

http://scn.sap.com/thread/1997800

Read only

0 Likes
2,048

Many thanks for your reply!

But in my case the contract is released and it's not changeable.

I don't want to make a batch input!

BR,

massimiliano

Read only

Former Member
0 Likes
2,049

Hi all, i found the solution.

In my case (different account assignment between PO and contract) is required to fill these fields with the contract package number and package line number (from ESLL):

PLN_PCKGPLN_PACKNO
PLN_LINEPLN_INTROW
CON_PCKGKNT_PACKNO
CON_LINEKNT_INTROW

Thank you all,

bye