Hi
I'm trying to create a Sales Document with the BAPI_SALESORDER_CREATEFROMDAT2 with SE37, i don't know what is missing, because it gives me the order number but when i call the BAPI_TRANSACTION_COMMIT, it doesn't create the document, the result of the BAPI_SALESORDER_CREATEFROMDAT2 is next:
S V4233SALES_HEADER_IN has been processed successfully
S V4233SALES_ITEM_IN has been processed successfully
W V1555The sales document is not yet complete: Edit data
S V1311Pedido Nacional 0000281711 has been saved
I feel the problem is in the parameters i'm sending, because i'm creating a sales order with VA01, and when debugging the BAPI and VA01, comparing table XVBAP at BAPI and VA01, i have difference at XVBAP-KWMENG and XVBAP-NETWR, at the BAPI'S table i don't have data, and at the VA01 transaction i have it, i give the parameters i'm sending so maybe somebody can help me.
<b>ORDER_HEADER_IN</b>
DOC_TYPE
SALES_ORG
DISTR_CHAN
DIVISION
REQ_DATE_H
PURCH_DATE
INCOTERMS1
PMNTTRMS
PRICE_DATE
PURCH_NO_C
<b>ORDER_ITEMS_IN</b>
MATERIAL
PLANT
TARGET_QTY
TARGET_QU
INCOTERMS1
ROUTE
<b>ORDER_PARTNERS</b>
PARTN_ROLE
PARTN_NUMB
And that's all.
Thanks
Best Regards.
Soraya Cervantes