Symptom
When creating purchase orders via 'Create Purchase Order Advanced' APP (ME21n) using the 'load from template' option
changes made to one purchase order are showing in the change log of other purchase orders created via the template.
Environment
SAP S/4Hana Public Cloud Edition
Reproducing the Issue
- Create a PO in the 'Create Purchase Order Advanced' APP (ME21n)
- Make manual adjustment to the PO including manual delivery address changes
- Save the purchase Order
- After save choose 'save as template'
- Create a new PO from this using the 'Load from Template' function.
- Change the address on one of the PO created via this template.
- Check the change log of any other PO created by the template
- The changes to the address in one show on other PO's that were not changed
Cause
When creating a purchase order from a template, the system copies the data exactly as it is defined in the template.
If an address has been changed manually, it is assigned a unique manual address number in the background. Loading
from this template copies the same address number to the new PO item and subsequent changes to either are saved
with the same key. Displaying changes in any of the PO's will show the changes for this key on any document sharing the key.
Resolution
When creating a template to use for quicker data entry, do not make any manual address changes to the source document being used to create a template.
If an address is to be changed, correct it first in the master data and create a template from the unchanged purchase order.
If manual address changes are required afterwards they can be made in the new PO after you have copied the template.
Keywords
ekpo-adrnr, MMPUR_TEMPLATE, SAPLMMPUR_TEMPLATE, LMMPUR_TEMPLATEU05, LOAD_TEMPLATE , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem