A-Add Leading Zeros

A-Add Leading Zeros

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_Zeros_1

In Mapper tab Mapper at 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:

Add_Leading_Zeros_2
Add_Leading_Zeros_3

 

 

Next

Decimal Transform . to ,