Add Leading Zeros

Previous  Top  Next

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

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

Eg. 0000000001 and not just 1

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

add-leading-zerosb1

 

In Mapper in the Dynamic Formula column (it will be visible after we click on Advance button in Mapper toolbar), enable “A-Add Leading Zeros” for that field as shown below:

clip0053

clip0054

 

 

 

See Also:

Introduction. | Decimal Transform . to | Transform Excel date to DD.MM.YYYY

Transform YYYYMMDD to DD.MM.YYYY | Custom Formula