SAP Knowledge Base Article - Public

3525721 - Fields missing in the XML File or How to add fields to the Output form

Symptom

Few Standard fields are not appearing in the XML file.

Environment

SAP S/4HANA Cloud Public Edition
 



Reproducing the Issue

  1. Generate a Purchase Order.
  2. Export the Purchase Order details to an XML file.
  3. Observe that the standard field is missing in the XML file.

 

Cause

In the standard form, only print fields that are included in the respective data source shall be visible.

For example Purchase order data source is PO's FDP_EF_PURCHASE_ORDER. 

Resolution

To include a field that is not available in the data source the standard data source can be extended.

Please refer to the attached blog on this topic.
Output Management – Customize Content Form with additional fields 

To fill the custom field automatically when creating the purchase order the BADI's can be used:
MM_PUR_S4_PO_MODIFY_HEADER or MM_PUR_S4_PO_MODIFY_ITEM.

There are BADI's MMPUR_PO_OUTPUT_HEADER_EXT and MMPUR_PO_OUTPUT_ITEM_EXT which allows to fill data in the form after save when the output is generated. 

For having standard fields included in the purchase order form data source raise a feature request in customer influence forum using below link.

2838428 - How to Submit Feature Requests for Procure in SAP S/4HANA Cloud Public Edition Product

Keywords

SAP S/4HANA Cloud Public Edition, Operational Procurement, Purchase Order Processing, XML, Fright Vendor, missing details,PO XM, Output form is not having the field, cannot add field to form, , KBA , MM-PUR-PO , Purchase Orders , Problem

Product

SAP S/4HANA Cloud Public Edition all versions