on 01-10-2019 6:23 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.