You want to view the underlying xml data of a form that is displayed.
Image/data in this document is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
SAP S/4HANA Cloud
Reproducing the Issue
1. Go to the 'Manage Billing Documents' app
2. Go to 'Output Items'
3. Click on the PDF icon under 'Display' or the 'Preview' button
It shows the pdf form, however you want to see the underlying xml data instead.
1. Navigate to the Output Items in the 'Manage Billing Documents' app.
2. Select an output item with Status 'In Preparation' and switch to 'Edit' mode:
3. Set Channel to 'PRINT'.
4. Click on 'Output Details' and set 'Print Queue' as #&&DOWNLOAD_FORM_DATA_XML&&#
6. Click on the PDF icon or the 'Preview' button to trigger the preview:
7. The system shows the form data XML instead of a PDF.
8. Save the XML via your browser.
9. Revert the data on the output item to the original values for Channel and/or Print Queue:
• 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.
- A user who wants to get the form data XML needs the authorization to access the corresponding business document.
- Accessing the form data XML is logged in the application log of the output item with user name and time stamp.
Output Management Set-Up Guide (1LQ)
KBA 2941522 - Output Management in SAP S/4HANA Cloud - Guided Answer
SAP Note 2294198 - SAP S/4HANA output control - customized forms
KBA 2825919 - How to get the form data XML for a business document
KBA 2811887 - How to get the form data XML for a sales document
KBA 2837815 - Download XML Form Data - Outgoing Check
KBA 2942798 - Error when downloading the form data xml - SAP S/4HANA Cloud
Form data, xml, pdf, download form data, #&&DOWNLOAD_FORM_DATA_XML&&#, content form, billing documents, output, form template, BILLING_DOCUMENT, BILLING_FORM , KBA , SD-BIL-GF-OC , Output Control Billing , CA-GTF-OC , SAP S/4HANA output management , Problem