SAP Knowledge Base Article - Public

3640810 - How to get the form data XML for a business document in SAP S/4HANA Cloud Public Edition

Symptom

Unable find XML file for Quality Certificate form in Application Manage Quality Certificates for Inspection Lots.
"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

  1. Navigate to the application "Manage Quality Certificates for Inspection Lots".
  2. Attempt to download the XML file for the quality certificate.
  3. Observe that the XML file is not downloadable.

Cause

Resolution

  1. Navigate to the output items in the Application Manage Quality Certificates for Inspection Lots.
  2. Select an output item with status In Preparation and switch to edit mode.
  3. Set channel to PRINT.
  4. Choose Output Details, set #&&DOWNLOAD_FORM_DATA_XML&&# as Print Queue Name.
  5. Press the Submit button to avoid data loss and save your changes.

  6. Click  the PDF icon to trigger the preview, The system will show the form data XML instead of a PDF. 
  7. Save the XML via your browser (download button).
  8. Revert the data of the output item back to the original values for Channel and/or Print Queue Name.

Keep a note of the following:

  • This works only for applications that have included the standard output control reuse screen in edit mode.
  • This works only for output items in status In Preparation.
  • The XML always returns the current data of the underlying business document.
  • 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.
  • Print queue #&&DOWNLOAD_FORM_DATA_XML&&# cannot be used in output parameter determination.

 

See Also

Refer to :How to get the XML file for quality certificate form template in S/4HANA Cloud Public Edition?

Keywords

xml file, quality certificate, manage quality certificates, inspection lots, sap s/4hana cloud public edition, outbound delivery, VL02N, KBA 2825919, form data XML, quality management, workaround. , KBA , QM-CA-CG-2CL , Quality Certificate Creation (Public Cloud) , QM-CA-CG , Quality Certificate Creation , How To

Product

SAP S/4HANA Cloud Public Edition all versions