
Need XML output saved to a folder instead of sent to a printer? In S/4HANA Cloud Public Edition, check both the cloud print queue and its local Cloud Print Manager assignment.
Set up the XML queue
- Open Maintain Print Queues and create the required queue with XML as its format.
- In Cloud Print Manager, select the runtime system and queue, then open Queue Options.
- Enable Save to File, enter the output directory and save the settings.

Check the result
Send a test document to that queue and confirm that an XML file reaches the intended folder. Check queue status and the CPM logs if no file appears.
Make sure the CPM service account can write to the directory. For a network location, SAP recommends entering a UNC path when a mapped drive does not work. Keep attachment handling separate from the main XML output.
References
SAP KBA 3735877 · SAP Help: Maintain Print Queues · SAP Help: CPM Setup



