SAP Knowledge Base Article - Public

3401656 - How to extract XML file of Purchase Order output - SAP S/4HANA Cloud Public Edition

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

  1. Manage Purchase Orders app.
  2. Access a Purchase Order.
  3. Go to Output Management tab.
  4. Select an output and click on display.
  5. Only PDF format is displayed, no XML.

Resolution

  1. Manage Purchase Orders app.
  2. Access a Purchase Order.
  3. Edit.
  4. Go to Output Management tab.
  5. Click on Add. Please note that duplicating one of the existing rows will not work, new output details have to be added manually.
  6. Maintain the fields related to output using channel PRINT. 
  7. Maintain the Role and the Recipient.
  8. Click on the button "Show more per Row".
  9. Click on Output Details.
  10. In Print Queue insert #&&DOWNLOAD_FORM_DATA_XML&&#
  11. Click on Submit.
  12. Click on Display document.
  13. A XML file will be downloaded.
  14. 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