Blog Archive

Tuesday, December 27, 2016

Graphical mapping error: java.lang.NumberFormatException supposed to be int, but long


Mapping error, for existing javacode, treating input number as interger,

Graphicall mapping in SAP PI , ( Java code)

RuntimeException in Message-Mapping transformation: Exception:[java.lang.NumberFormatException: For input string: "9999206925"] in class method removeLeadZeroes$[9999206925,]

Reason for failure of this message:

number is not suppoed by int, it supports upto 
Maximum value is 2,147,483,647(inclusive) (2^31 -1
but input number 9999206925

No comments:

Post a Comment