Symptom
How to extract XML file of a Purchase Order via Manage Purchase Orders app.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Manage Purchase Orders app.
- Access a Purchase Order.
- Go to Output Management tab.
- Select an output and click on display.
- Only PDF format is displayed, no XML.
Resolution
- Manage Purchase Orders app.
- Access a Purchase Order.
- Edit.
- Go to Output Management tab.
- Click on Add. Please note that duplicating one of the existing rows will not work, new output details have to be added manually.
- Maintain the fields related to output using channel PRINT.
- Maintain the Role and the Recipient.
- Click on the button "Show more per Row".
- Click on Output Details.
- In Print Queue insert #&&DOWNLOAD_FORM_DATA_XML&&#
- Click on Submit.
- Click on Display document.
- A XML file will be downloaded.
- Output row can be deleted.
Remarks
- Works only for applications that have included the standard output control reuse screen in edit mode.
- Works only for output items in status 'In Preparation'.
- Always return the current data.
- Does not work for duplicates.
- The XML does not include data from the master form template.
- An output with print queue #&&DOWNLOAD_FORM_DATA_XML&&# is not possible.
Keywords
XML, Purchase Order, Output, payload , KBA , MM-FIO-PUR-PO-OM-2CL , Purchase Order Output Management (Public Cloud) , How To
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public