SAP Knowledge Base Article - Public

2618160 - Common Print Preview Errors in a Sales Document's Document Flow in C4C

Symptom

You have an integration scenario to open a PDF document in the Document Flow facet of a sales order or sales quote in Cloud for Customer (C4C), however, you get an error and/or the PDF icon is not available.

Environment

SAP Hybris Cloud for Customer

SAP ERP

Reproducing the Issue

  1. Go to the Sales work center.
  2. Go to the Sales Quotes or Sales Orders view.
  3. Open a sales document.
  4. Navigate to the Document Flow.
  5. Open the print preview by clicking on the PDF icon.

Result: you get an error or the PDF icon is not available.

Cause

Case 1:

PDF icon is not available and/or 'No PDF found' error appears.

Case 2:

You get one of the below errors:

'Output type ZF12 does not contain any PDF form types' or

'Output type COD1 does not contain a SAPScript form'

Case 3:

You get one of the below errors:

'No PDF found' or

'Dynamic call of the method IF_O2C_PRINT_PREVIEW~GET_PRINT_PREVIEW of the class CL_O2C_PRINT_PREVIEW_BIL failed: The formal parameter ET_ADD_MSG does not exist'

Case 4:

You get error:

'Function is not active (Business Function SD_01)'

Resolution

Case 1:

Follow the steps in KBA 2487041 - PDF Icon to Preview Document is Not Available in Document Flow

Case 2:

Follow the steps in blog post: General PDF errors with C4C integration

Case 3:

You need to implement SAP Note 2429878 - Exception in Print Preview

Case 4:

You need to make sure that the necessary business functions are activated in your ERP system. Our integration guide contains all the necessary information for this. You can see the screenshot from the integration guide on the prerequisites for print preview:

printPreviewPrereq.png

Keywords

No PDF found, output type, SAPScript, business function, SD_01, ET_ADD_MSG , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer all versions