Symptom
There is a requirement 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.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Manage Billing Documents app
- Go to Output Items
- Choose Display or Preview
It shows the pdf form, however it is necessary to see the underlying xml data instead.
Resolution
- Navigate to the Output Items of the billing document in the Manage Billing Documents app
- Make sure that the Details column is selected in the view Settings
- Choose Show More per Row to have the Output Details visible
- Select an output item with status In Preparation and choose Edit
- Set Channel to PRINT
- Choose Output Details and set Print Queue as #&&DOWNLOAD_FORM_DATA_XML&&#
- Choose Save
- Choose Display to trigger the preview
- The system shows the form data XML instead of a PDF
- Save the XML
- Revert the data on the output item to the original values for Channel and/or Print Queue
- Choose Save
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.
Data Access
- 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.
See Also
- Output Management Set-Up Guide (1LQ)
- KBA 2941522 - Output Management in SAP S/4HANA Cloud Public Edition - 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 Public Edition
Keywords
Form data, xml, pdf, download form data, #&&DOWNLOAD_FORM_DATA_XML&&#, content form, billing documents, output, form template, BILLING_DOCUMENT, BILLING_FORM, master form , KBA , SD-BIL-GF-OC-2CL , Output Control Billing (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , Problem