Skip to Content
0
Jun 28, 2016 at 06:38 AM

Leading zeros in CHAR-column of CL_GUI_ALV_GRID

723 Views

Hi,

I want to display a sequence of positions in an CL_GUI_ALV_GRID-object. The positions are separated by '-' character.

Type of the sequence column is CHAR49.

How can I desplay leading zeros in this column.

Example: I want 0190-0100-0650 to be desplayed instead of 190-0100-0650.

lvc_s_fcat-lzero = 'X' seems only to work with NUMC.

Kind Regards,

Hubert