Symptom
- BAPI_SALESORDER_CREATEFROMDAT2 or SD_SALESDOCUMENT_CREATE is used to create a sales document.
In input table ORDER_ITEMS_IN fields REF_DOC, REF_DOC_IT, REF_DOC_CA are filled with reference document info.
When sales document has been created via BAPI with these input data, then, pricing conditions are not copied from reference document.
- When same creation process is executed with transaction VA01 and with 'Create with reference' function, then pricing conditions are copied from reference document.
- Not clear how pricing conditions could be copied with 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
Product
SAP ERP Central Component all versions ; SAP ERP 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 , 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.