Skip to Content
1
Former Member
Jun 16, 2011 at 07:26 PM

How to remove leading zeros in ALV grid report.

7045 Views

Hi Friends,

My ztable has customer and material fields with leading zeros even though I maintainted the test data in my ztable thru SM30.

I have written a select statement in my report to select the records from ztable into itab and then I am displaying the same itab using FM reuse_alv_grid.

I tried with FM CONVERSION_EXIT_ALPHA_OUTPUT. It is not working for me because I am using the Data Element MATNR, the domain provides for a conversion routine MATN1 and regardless of what I do it will still process this routine when displaying it. Is there any other FM which removes leading zeros?

I need to remove the leading zeros for customer and material fields.

Please Suggest good ideas.

Thanks.