Add Leading zeros

Add Leading zeros

In some cases we require to send a field number of a particular length prefixed with zeros into SAP.

For example, consider customer number for BAPI_Customer_Getdetail2. It should be a 10 digit number.

So if we have customer numbers as below, we can append zeros with the help of this DF.

Cust

Go to Mapper and select  “A-Add Leading Zeros” in the Dynamic Formula column for the Customer field. Please note this column will be visible after we click on Advance View button in Mapper.

DF_Add_Leading_0

DF_Add_Leading_zero

 

Next:

Decimal Transform . to , | Date Transform to DD.MM.YYYY | SAP Date DD.MM.YYYY Transform to System |Custom Formula