08-20-2005 9:45 AM
Hi all,
I do a clasical reoporting. Data in the internal table numeric types. But when writing in the report, is appearing as 000056 etc. I want to remove this leading zeros in the report output. Any helps?
Regards,
Mic.
08-20-2005 9:47 AM
Hi,
You can remove the leading zeros in the output of a report by
Write: / itab-field NO-ZERO.
Hope this helps you,
Cheers,
Sam
08-20-2005 9:47 AM
Hi,
You can remove the leading zeros in the output of a report by
Write: / itab-field NO-ZERO.
Hope this helps you,
Cheers,
Sam
08-20-2005 9:49 AM
08-20-2005 9:52 AM
adding to the solution provided, to know more about options available with <b>write</b> statment, check out the abap key word documentation. (place the cursor on "WRITE" and hit the icon (blue) with "I" to get there - Control + F8)
Regards
Raja
08-20-2005 2:01 PM
Hi Michael,
u can use the function module for removing leading zeros
CONVERSION_EXIT_ALPHA_INPUT (adding zeros)
CONVERSION_EXIT_ALPHA_OUTPUT (removing zeros)
Regards
Nagesh