Skip to Content
author's profile photo Former Member
Former Member

bapi BAPI_PO_CREATE1 . Service po upload with contract reference.

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: on Sep 12, 2011 3:16 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 12, 2011 at 02:03 PM

    Hi Arun,

    Can you check the fields in header and item levels.

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




    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 12, 2011 at 02:10 PM

    Hi Arun,

    Refer the posts mentioned below:

    Link: [BAPI_PO_CREATE1;

    Link: [BAPI_PO_CREATE1;

    Link: [Contract Number and Item not transferred to limits in SAP PO;

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



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      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


      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.