SAP Knowledge Base Article - Preview

2899513 - OData API API_BILLING_DOCUMENT_SRV does not work for PDF preview in NAST-based output

Symptom

When using OData API API_BILLING_DOCUMENT_SRV to print preview an invoice, you get the following message: "No output type defined: Print preview not possible".

On a further analysis, you can see that parameters IS_KSCHL and IS_DATA are not fulfilled in Method _GET_PDF (class CL_API_BILLING_DOCUMEN_DPC_EXT).


Read more...

Environment

  • SAP S/4HANA 1809
  • SAP S/4HANA 1909 

Product

SAP S/4HANA 1809 ; SAP S/4HANA 1909

Keywords

S4CORE, 103, 104,IV_KSCHL, _GET_PDF, CL_API_BILLING_DOCUMEN_DPC_EXT, NAST, GET_PRINT_PREVIEW, CL_O2C_BIL_SERVICES, IS_KSCHL_VALID, preview, print, PDF, billing document , KBA , SD-BIL-GF-OC , Output Control Billing , CA-GTF-OC , SAP S/4HANA output management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.