Symptom
- In SAP S/4HANA Cloud, the G/L Account field in Purchase Requisitions and Purchase Orders remains editable during document creation and modification.
- There is a requirement to restrict or block changes to the G/L Account field, but standard field control and available BAdIs do not expose this field for dynamic UI control.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the app Manage Purchase Requisitions – Professional or Manage Purchase Orders in SAP S/4HANA Cloud.
- Create a new document with an account assignment category.
- Enter a G/L Account and save the document.
- Reopen the document in edit mode.
- Change the G/L Account value.
- Result: The system allows the G/L Account field to be edited
Cause
This is standard system behavior by design.
Resolution
- Use the check BAdI
BD_MMPUR_FINAL_CHECK_PO. - Implement validation logic to monitor changes to the G/L Account field.
- Raise an error (E) message to block the change, or a warning (W) message if only notification is required.
Keywords
g/l account, purchase order, requisition, field control, mm_pur_s4_po_fldcntrl_simple, bd_mmpur_final_check_po, sap customer influence, feature request, warning message, field restriction, procurement , KBA , MM-FIO-PUR-PO-2CL , Fiori UI for Purchase Orders (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public