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 BAPI_PO_CREATE1 . Service po upload with contract reference.

Former Member
0 Likes
1,118

Hi Experts,

I created an abap program for uploading service po using BAPI 'BAPI_PO_CREATE1'. Its working fine without Contract reference. But if I include contract reference in the item it will return error

'Service SERVICE 1234: please enter a price'.

the fields I use for entering contract reference are

1) bapimepoitem-ref_doc and

2) bapimepoitem-ref_item.

Please help me out in this bcz its critical now.

Edited by: arun.george on Sep 12, 2011 3:16 PM

Hi Experts,

I created an abap program for uploading service po using BAPI 'BAPI_PO_CREATE1'. Its working fine without Contract reference. But if I include contract reference in the item it will return error

'Service SERVICE 1234: please enter a price'.

the fields I use for entering contract reference are

1) bapimepoitem-ref_doc and

2) bapimepoitem-ref_item.

Please help me out in this bcz its critical now.

Edited by: arun.george on Sep 12, 2011 3:16 PM

3 REPLIES 3
Read only

madhu_vadlamani
Active Contributor
0 Likes
724

Hi Arun,

Can you check the fields in header and item levels.

I have created succesfully a PO if in the header BAPIEKKOC-AGREEMENT =

CONTRACT IN LINE item BAPIEKPOC-AGREEMENT.

Regards,

Madhu.

Read only

former_member222709
Contributor
0 Likes
724

Hi Arun,

Refer the posts mentioned below:

Link: [;

Link: [;

Link: [;

Try these hints. If still you face any issues, post further.

Regards,

Pranav.

Read only

0 Likes
724

HI,

We are able to create po service without contract reference.

but its not generating po when we enter reference doc and reference item in item table.

we fill

bapimepoheader table,

bapimepoheaderx table,

bapimepoitem and itemx table,

bapimeposchedule and shedulex table,

bapimepoaccount and accountx table,

bapiesllc table and

bapiesklc

and we get the error "Service SERVICE 1234: please enter a price" [only when ref doc and ref item is filled] otherwise it will generate the po.