Symptom
Preliminary Billing Document email Output item cannot be sent due to “No data supplied to render email template "&1" ” error.
Environment
SAP S/4HANA Cloud All versions
Reproducing the Issue
1. Go to Display Preliminary Billing Documents app.
2. Check Output Requests. Select Issued Email Output item and check error logs.
3. No data supplied to render email template "&1" is displayed.
Cause
The standard CDS View I_BILLINGDOCUMENT is the source of data for the standard email template. This CDS View is limited to retrieving billing documents from the database which are assigned the SDDOCUMENTCATEGORY = 'M', 'N', 'O', 'P', 'S', 'U', '5' and '6'. Preliminary Billing Documents are assigned to SDDOCUMENTCATEGORY = PBD. So the CDS View I_BILLINGDOCUMENT cannot be used to retrieve data for Preliminary Billing Documents. Hence the error being raised when attempting to retrieve data for email template associated with the Preliminary Billing Document
Resolution
This is system standard behavior. In case you would like to have this feature you might consider create a Feature request.
Keywords
Email, Output Item, Custom Form, CDS, Error, render, email, template. , KBA , SD-BIL-GF-OC-2CL , Output Control Billing (Public Cloud) , SD-BIL-GF-OC , Output Control Billing , Bug Filed