SAP Knowledge Base Article - Public

3687197 - Custom fields not visible in BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT for purchase orders in sourcing & procurement module - SAP S/4HANA Cloud Public Edition

Symptom

  • Custom fields created under the business context "Procurement: Purchasing Document Item (MM_PURDOC_ITEM)" are not visible in the BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT parameters.
  • There is no existing business scenario linking these custom fields to a pricing communication entity for Procurement, which prevents their visibility in the BAdI parameters.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create custom fields under the business context "Procurement: Purchasing Document Item (MM_PURDOC_ITEM)" specifically on the Purchase Order.
  2. Attempt to make these custom fields visible in the BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT parameters.
  3. Observe that the custom fields are not visible due to the absence of a business scenario linking these fields to a pricing communication entity for Procurement.

Cause

The BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT does not provide access to custom fields on Purchase Orders, and there is no existing business scenario linking custom fields to a pricing communication entity for Procurement.

Resolution

  • The BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT does not provide access to custom fields on Purchase Orders.
  • As an alternative, custom logic for price determination can be implemented using BAdI MM_PUR_S4_PO_DEFINE_CNDNCTRL. This BAdI supports reading custom fields from Purchase Order items and enables their use in pricing and condition control during Purchase Order creation.

See Also

Keywords

custom fields, purchase orders, sourcing & procurement, SAP S/4HANA Cloud Public Edition, BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT, MM_PURDOC_ITEM, pricing communication entity, BAdI MM_PUR_S4_PO_DEFINE_CNDNCTRL, feature request, CIP, SAP Note 2963059, SAP Note 3606803 , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions