Skip to Content

How to create PO with condition value and po quantity, without filling the net price ?

Dear SAP-Experts,

We have created in MM a condition type (KOMV-KSCHL) and a calculation schemas, which enable us during manual creation of a purchase order to fill the fields condition value (KOMV-KWERT) and po quantity (MEPO1211-MENGE). The value of the field net price (MEPO1211-NETPR) will automatically be calculated (see screenshot bellow).

Now I have to create Purchase Order via BAPI_PO_CREATE1 with total price and total quantity. The following fields are filled, when the BAPI is called:

* Header

bapimepoheader-COMP_CODE

bapimepoheader-DOC_TYPE

bapimepoheader-CREATE_DATE

bapimepoheader-VENDOR

bapimepoheader-LANGU

bapimepoheader-PURCH_ORG

bapimepoheader-PUR_GROUP

* Condheader

bapimepocondheader-cond_type

* Item

bapimepoitem-po_item

bapimepoitem-short_text

bapimepoitem-material

bapimepoitem-plant

bapimepoitem-stge_loc

bapimepoitem-quantity

bapimepoitem-po_unit

bapimepoitem-tax_code

bapimepoitem-acctasscat

* SCHED

apimeposchedule-po_item

bapimeposchedule-del_datcat_ext

bapimeposchedule-quantity

* Account

bapimepoaccount-po_item

bapimepoaccount-costcenter

* Condation

bapimepocond-item_number

bapimepocond-cond_type

bapimepocond-cond_value

At the moment, I get the following error messages:

No instance of object type PurchaseOrder has been created. External reference:

PO header data still faulty

Net price must be greater than 0

Enter Net Price

Please enter net price

Any help on this is appreciated.

Kind regards

Emal

purchase-order.png (83.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 11 at 11:36 AM
    Add comment
    10|10000 characters needed characters exceeded