Symptom
You would like to automatically create/update purchase info records in your public cloud environment.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Create a Purchase Order using the webgui tile “Create Purchase Order – advanced”.
Cause
In an On-Premise environment, there are customising options available to trigger the automatic creation of purchase info records from the creation of a purchase order.
This is covered in the SAP note 202173, in the cloud environment this customising is not available and cannot be set up through a configuraton point.
Resolution
- The feature of automatically updating/creating inforecords is also available in the cloud, in all editions except the professional services edition.
- This can be achieved using the “Create Purchase Order – advanced” WebGUI tile and manually setting the InfoUpdate flag at item level.
3- Since the reelase 2202CE the BADI Modify Purchase Order Item has been enhanced.
The Business Add-In (BAdI) MM_PUR_S4_PO_MODIFY_ITEM
Using this BAdI you can now change the field Indicator: Update Info Record (PURCHASINGINFORECORDUPDATECODE). The indicator Update Info Record is an optional parameter and the available values are:
Fixed |
Short Description |
---|---|
No update |
|
A |
Update with or without plant |
B |
Update with plant (if no plant ban) |
C |
Update without plant (if no plant requirement) |
With this BAdI you can use the optional importing parameter: PURCHASEORDERITEM_OLD.
This new parameter gives the option to update the flag thourgh the BADI logic and not only manually.
You can find more informaiton in the BADI documentation.
Keywords
FIORI, MMFIOSTD, EVO, default value, OMFI, SPINF, V_T160V-EINFB, EINFB, SU01, InfoUpdate, indicator, info record, purchasing info record, T160V-EINFA, LMEPOF5V, MEPO_ITEM_FILL_SPINF, EVOPA, T001W-KKOWK, , KBA , MM-FIO-PUR-PO , Fiori UI for Purchase Orders , MM-PUR-VM-REC , Info Record , How To