SAP Knowledge Base Article - Preview

3292997 - BAPI_SALESORDER_CREATEFROMDAT2 returns error VH_BAPI 011

Symptom

While trying to create a sales order with FM 'BAPI_SALESORDER_CREATEFROMDAT2', it returns the error VH_BAPI 011 - Condition type XYZ is a structure condition (KDUPL = A ). It occurs when a structure condition YXZ is used in the sales orders.


Read more...

Environment

  • Sales and Distribution (SD)
  • Logistics Execution (LE)
  • SAP R/3
  • SAP R/3 Enterprise 4.7
  • 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 all versions ; SAP S/4HANA all versions

Keywords

VH_BAPI 011, VH_BAPI011, VHBAPI011, COND_HANDLE, BAPI_SALESORDER_CREATEFROMDAT2, bapi condition, bapi pricing, new functions pricing bapi, KDUPL = A, KDUPL, LOGIC_SWITCH-COND_HANDLE, ORDER_CONDITIONS_IN-ITM_MUMBER, ORDER_CONDITIONS_IN-COND_TYPE, ORDER_CONDITIONS_IN-COND_VALU, structure condition , KBA , SD-SLS-GF-IF , Sales Documents BAPI's , SD-BF-PR , Pricing , SD-BIL-IV , Processing Billing Documents , SD-MD-CM , Conditions and Condition Maintainance , 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.