To append zeros
I have a requirement in that i have to append zeors to the left of a character variable which is having length 10. While using shift statement the default character is space, then i tried with the 'IN BYTE MODE' option but there the representation is different,Each byte is represented as two characters.Is there any easy way to append zeros to a character variable using any of the ABAP keywords.
Thanks in Advance,
CONVERSION_EXIT_ALPHA_INPUT This function module is used to append leading zeroes...
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
input = wf_version
output = wf_version.
input = 123
output = 0000000000000...000000000000123
Hope this resolves your query.
<b>Reward all the helpful answers.</b>