SAP Knowledge Base Article - Public

3224780 - Output Preview of Sales Order Without Charge is blank


When you output the custom form of the sales document within the output status In Preparation or To Be Output, the print preview of the sales document can be previewed correctly. However, when the sales document is saved, and the status is updated to Completed, the preview turns to blank. This problem happens to the sales document of order type CBFD (

"Image/data in this document is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."




The standard gateway is designed such that when the status is in To Be Output, the rendered PDF is being retrieved using transient data. Therefore, the internal tables loaded when the document is opened in the Displayed Sales Orders app, or Change Sales Orders app are used to render.


This standard gateway service SD_SLS_FDP_V1_ORDER_WO_CHARGE_SRV is used for rendering PDF documents for sales order without charge (CBFD).
It is based on CDS View I_SALESDOCUMENT where there is no restriction on sales document category. So when issuing output, the data for the rendered PDF document is retrieved from this CDS View.

1. At Maintain Form Templates app, Custom Templates tab, check whether SD_SLS_FDP_V1_ORDER_WO_CHARGE_SRV is the data source used for your custom form template. If not, consider creating a new custom form to assign the right data source to your form.

2. Then please use Output Parameter Determination app rules to determine the sales document output type representing order without charge.  
When output is issued, the rendered PDF document will be based on data retrieved from CDS View I_SALESDOCUMENT.

After performing above steps and you still face the same issue, please consider re-create the custom form template, following steps:

1. Go to Maintain Form Templates app, Predelivered Templates tab and download the pre-delivered template SD_SLS_ORDER_WO_CHARGE as standard templates.
2.Extract the zip file.
3. Create the custom form template using the predelivered template which downloaded in step 1 and 2. At Data Source field, choose SD_SLS_FDP_V1_ORDER_WO_CHARGE_SRV.

4.  Add country and translation as needed.


See Also

SAP - Help Portal: How to Create and Use a Custom Form Template


blank, no data, no data displayed, To Be Output, In Preparation, Completed, empty, CBFD, custom form, output sales order, form template, custom form template, SD_SLS_FDP_V1_ORDER_WO_CHARGE_SRV, FDP_V1_ORDER_CONFIRM_SRV, data source, gateway, order type, document type, , KBA , SD-SLS-GF-OC , S/4HANA: Output Control on Sales Documents , CA-GTF-OC , SAP S/4HANA output management , SD-SLS-GF-OC-2CL , S/4HANA: Output Control on Sales Documents (Public Cloud) , How To


SAP S/4HANA Cloud all versions


Pasted image.png