I am having trouble removing the leading zeros on a char field (MATNR) in an ALV grid.
When I select the option no-zero in the field catalog, it doesn't work as MATNR is a char field.
If i process the line item manually, using
SHIFT lt_data LEFT DELETING LEADING '0'.
It appears to work when I check the table contents in the debugger. However, the ALV grid output shows all MATNR fields converted this way as blank. Why is this happening, and what can I do to avoid it?