KUNNR to be displayed without leading zeroes and in end blanks to be filled
I am working on an interface. while downloading the file I need to get the sold-to-party number (KUNNR) without the leading zeroes and it should start directly at the first position and end of the field should be filled with blanks.
for eg. kunnr no. 0000131673 the leading zeroes should be removed and output should start at 1st position and end of the field kunnr should be filed with blanks.
given kunnr : 0000131673
desired o/p : 131673 and end of trimmed KUNNR value
should be filled with blanks.
please give me a solution.
thanks in advance.