SAP Knowledge Base Article - Public

3468887 - How to make 'Tax code' field mandatory in purchase order

Symptom

BAdI created for purchase order - item field 'tax code' using MM_PUR_S4_PO_FLDCNTRL_SIMPLE , it's working for "-" (Hidden) not for "+" (mandatory).

Environment

SAP S/4HANA Cloud Public Edition

Resolution

Refer the KBA 3098925 - Field Control in Purchase Orders S/4HANA Cloud 

However, certain fields are allowed to affect field control through Change of Field Control for Purchase Order Items (MM_PUR_S4_PO_FLDCNTRL_SIMPLE). It does not perform any checks that may be required after the change of the status properties.

So use below BAdI as well along with above BAdI to perform your own checks and to output the corresponding error messages on this field. Both of these BAdIs are available:

  • Check of Purchase Order Before Saving (BD_MMPUR_FINAL_CHECK_PO)
  • PO Check All Items  (MM_PUR_S4_PO_CHECK_ALL_ITEMS)

See Also

Please check the BAdIs on this help document: Adaptation of App Behavior

Keywords

S4HC, S4_1C, X4BC, S4_PC, unable to make field as mandatory , KBA , MM-PUR-PO , Purchase Orders , Problem

Product

SAP S/4HANA Cloud Public Edition 2402