Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: Leading zeros mapping

$
0
0

public String padZeros(String input){

     String output ="";

  if(input.matches(".*\\d.*")){

           output =String.format("%018d",Integer.parseInt(input));

    } else {

                  output = input;

      }

     return output;

}

 

 

The above UDF will help. Please pass the  MATNR value as string in the above method.


Viewing all articles
Browse latest Browse all 8808

Trending Articles