Symptom
- BAPI_SALESORDER_CREATEFROMDAT2, SD_SALESDOCUMENT_CREATE or BAPI_CUSTOMERRETURN_CREATE is used to create a sales document.
In input table ORDER_ITEMS_IN or RETURN_ITEMS_IN fields REF_DOC, REF_DOC_IT, REF_DOC_CA are filled with reference document info.
When a sales document has been created via one of these BAPIs with these input data, pricing conditions are not copied from reference document.
- When the same creation process is performed using transaction VA01 and the 'Create with reference' function, pricing conditions are copied from reference document.
- It is unclear how pricing conditions could be copied using BAPI.
Read more...
Environment
- Sales and Distribution (SD)
- SAP ERP Central Component
- SAP ERP
- SAP Enhancement package for SAP ERP
- SAP Enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
- SAP S/4HANA Cloud Private Edition
Product
SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions
Keywords
BAPI_SALESORDER_CREATEFROMDAT2, SD_SALESDOCUMENT_CREATE, pricing, conditions, SALES_CONDITIONS_IN, LOGIC_SWITCH-PRICING, BAPI_CUSTOMERRETURN_CREATE , KBA , SD-SLS-GF-IF , Sales Documents BAPI's , SD-BF-PR , Pricing , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview