Symptom
MMPUR_PO_OUTPUT_HEADER_EXT and MMPUR_PO_OUTPUT_ITEM_EXT not called during Print Preview Function in the advanced App
Environment
SAP S/4HANA Cloud Public Edition
Resolution
As per the current design, the BAdIs MMPUR_PO_OUTPUT_HEADER_EXT
and MMPUR_PO_OUTPUT_ITEM_EXT
are not triggered during the output preview in the Manage Purchase Orders and Create Purchase Order - Advanced applications, except in the following use case:
- The BADI is triggered when the Output Preview button is clicked in the Manage Purchase Orders application while in display mode (not in edit mode). In this scenario, the BADI fetches either already saved details or hardcoded values provided in the BADI implementation.
As per design the BAdI "MMPUR_PO_OUTPUT_HEADER_EXT" should be used to fill the custom field value that they want to display only in PDF of Print and Email Channel.
To update custom field in any other place, as Email templates, or APP , the value of custom field has to be updated with other BADIS as modify BAdI for header or item.
Keywords
MMPUR_PO_OUTPUT_HEADER_EXT, MMPUR_PO_OUTPUT_ITEM_EXT, Output, Preview , KBA , MM-FIO-PUR-PO-OM-2CL , Purchase Order Output Management (Public Cloud) , Problem