SAP Knowledge Base Article - Public

3686483 - The leading zero is missing for some fields in a production order output item

Symptom

You have extended a production order form template via data source extension. For some extended fields, for example BillOfOperationsVariant, there is leading zero in the system. However, on the output item, the leading zero is missing.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The leading zero is removed due to the output alpha conversion.

Resolution

For such fields, to make them to be printed with leading zeros, apply either of the following approaches based on the scenarios (use 2-digit number as an example):

  • If the field is directly printed, add a pattern to the object as shown below:
  • If the field is used in a script, use the format command looks like:
    format("99",<path to bound field>)

 

Keywords

production order, output, print, BillOfOperationsVariant, leading zero, Adobe LiveCycle Designer, data source extension, format, alpha conversion , KBA , PP-SFC-EXE-PRINT-2CL , Order Printing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions