SAP Knowledge Base Article - Preview

2548012 - BAPI_PO_CREATE1 / CHANGE defaults to parent WBS element

Symptom

When creating a purchase order via ME21N, manually, using a contract (ME3*L) works fine after manually adjusting the WBS in Account Assignment (normally switching from parent to child nodes to get the desired effect).

But when you do the same using BAPI_PO_CREATE1, you get an error referring to a block on the Parent WBS element mentioned in the contract.

This prevents correct assignment as the Block placed on the Parent should not affect the Child element.


Read more...

Environment

  • Materials Management (MM)
  • 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

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA Cloud 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

BUS2012, BAPI_PO_CHANGE, CJ 021, WBS, POACCOUNT-WBS_ELEMENT, T163K, PS_PSP_PNR, LO_ACCOUNT, SET_ATTRIBUTE, CONTEXT, BAPI, MMCNT, L2012I10, LCL_ACCOUNT, PROCESS, POACCOUNT, COSTCENTER, KOSTL, MEMORY, EKKO-MEMORYL2012I10, CJ021, CJ051
, KBA , MM-SRV , Services Management , MM-SRV-ACC , Account Assignment , MM-SRV-BPI , BAPIs , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.