SAP Knowledge Base Article - Public

3256900 - Performance issue of Purchase order

Symptom

You have a bad performance on Purchase Orders

Environment

 SAP S/4HANA Cloud 2208

Cause

 

You are using the BADI  BAdI MM_PUR_S4_PO_FLDCNTRL_SIMPLE to update fields content.

However this is not the purpose of this BADI, You use this BAdI to change the field control in the purchase order apps . 

The Field Control BAdI is NOT the place to update fields content. Due to the purpose of field control, this Badi is called N times which is intended. But coding which updates the field via a very expensive HTTP call is also called N times and causes performance issues .

Resolution

Use the Field Control BADI only for changing  Fields properties as it is documented on the BADI itself and explained on the  coding examples.

You have other BADIS to update fields content.

You need to check what are the available fields to be changed with that purpose on the following BADIS :

Modify Purchase Order Schedule Line Data ( MM_PUR_S4_PO_MODIFY_SCHEDULE)

Modify Purchase Order Item Delivery Address (MM_PUR_S4_PO_MODIFY_DELIV_ADDR)

Modify Purchase Order Item (MM_PUR_S4_PO_MODIFY_ITEM)

Modify Purchase Order Header (MM_PUR_S4_PO_MODIFY_HEADER)

Modify Purchase Order Account Assignment Data (MM_PUR_S4_PO_MODIFY_ACCOUNT)

Modify Tax Jurisdiction Code of Purchase Order Item (MM_PUR_S4_PO_MODIFY_TAXJURCODE)

Keywords

KBA , MM-PUR-PO , Purchase Orders , Problem

Product

SAP S/4HANA Cloud 2208