Monday, October 3, 2011

FM Remove Leading Zero


The function is used to remove the leading zero for the input text.


Function Module: CONVERSION_EXIT_ALPHA_OUTPUT

Sample:
 
     CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
     EXPORTING
       input  = gv_pi_result-iblnr
     IMPORTING
       output = gv_pi_result-iblnr.





input: 000012345678

output: 12345678