SAP Knowledge Base Article - Public

2874586 - How to change PDF layout of the edocument for TW

Symptom

To fulfill your business requirement, you need to add some fields in the output PDF of TW edocument.

Environment

  • SAP S/4HANA, cloud edition 1503
  • SAP S/4HANA, cloud edition 1506
  • SAP S/4HANA, cloud edition 1511
  • SAP S/4HANA, cloud edition 1603
  • SAP S/4HANA Cloud 1605
  • SAP S/4HANA Cloud 1608
  • SAP S/4HANA Cloud 1611
  • SAP S/4HANA Cloud 1702
  • SAP S/4HANA Cloud 1705
  • SAP S/4HANA Cloud 1708
  • SAP S/4HANA Cloud 1711
  • SAP S/4HANA Cloud 1802
  • SAP S/4HANA Cloud 1805
  • SAP S/4HANA CLOUD 1811
  • SAP S/4HANA Cloud 1808
  • SAP S/4HANA CLOUD 1902

Reproducing the Issue

  1. run edoc_cockpit
  2. choose one document
  3. preview the PDF

Cause

It is not suggested to change the standard PDF template provided by SAP.

Resolution

To change the PDF layout, you need to create your own PDF layout and upload it to system using APP "maintain form templates".

To call you own PDF template, you need to use the cloud BADI "Enhancement spot:  ES_EDOCUMENT_TW_CLOUD ->   BAdI definition ->EDOC_TW_PRINT"

Keywords

ECC, SAP_APPL, S4, HANA S4CORE , KBA , CA-GTF-CSC-EDO-TW , eDocument Taiwan , Problem

Product

SAP S/4HANA Cloud 1605 ; SAP S/4HANA Cloud 1608 ; SAP S/4HANA Cloud 1611 ; SAP S/4HANA Cloud 1702 ; SAP S/4HANA Cloud 1705 ; SAP S/4HANA Cloud 1708 ; SAP S/4HANA Cloud 1711 ; SAP S/4HANA Cloud 1802 ; SAP S/4HANA Cloud 1805 ; SAP S/4HANA Cloud 1808 ; SAP S/4HANA Cloud 1811 ; SAP S/4HANA Cloud 1902 ; SAP S/4HANA Cloud 1908 ; SAP S/4HANA, cloud edition 1503 ; SAP S/4HANA, cloud edition 1506 ; SAP S/4HANA, cloud edition 1511 ; SAP S/4HANA, cloud edition 1603