SAP Knowledge Base Article - Public

3401656 - How to extract XML file of Purchase Order output

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 a 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 row will not work, new output details has to be added manually
  6. Maintain the fields related to the output using channel PRINT
  7. Click on the button "Show more per Row"
  8. Click on Output Details
  9. In Print Queue insert #&&DOWNLOAD_FORM_DATA_XML&&#
  10. Click on Submit
  11. Click on Display document
  12. A XML file will be downloaded
  13. 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 returns 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 , KBA , MM-FIO-PUR-PO-OM , Purchase Order Output Management , How To

Product

SAP S/4HANA Cloud Public Edition all versions