Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alv report

Former Member
0 Likes
540

Hi all ,

i am not getting preceeding zero's while displaying.

i want to display the preceeding zeros in alv list.can any one give me the solution

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

Hello,

In the fieldcat you can set the following:


TYPE-POOLS : SLIS.
DATA : g_t_fieldcat TYPE slis_t_fieldcat_alv.
       g_wa_fieldcat   TYPE slis_fieldcat_alv.

g_wa_fieldcat-lzero = 'X'. "Leading Zero
append g_wa_fieldcat to g_t._fieldcat.

Regards,

Mansi.

Hello,

In the fieldcat you can set the following:


TYPE-POOLS : SLIS.
DATA : g_t_fieldcat TYPE slis_t_fieldcat_alv.
       g_wa_fieldcat   TYPE slis_fieldcat_alv.

g_wa_fieldcat-lzero = 'X'. "Leading Zero
append g_wa_fieldcat to g_t._fieldcat.

Regards,

Mansi.

3 REPLIES 3
Read only

Former Member
0 Likes
520

Hello,

In the fieldcat you can set the following:


TYPE-POOLS : SLIS.
DATA : g_t_fieldcat TYPE slis_t_fieldcat_alv.
       g_wa_fieldcat   TYPE slis_fieldcat_alv.

g_wa_fieldcat-lzero = 'X'. "Leading Zero
append g_wa_fieldcat to g_t._fieldcat.

Regards,

Mansi.

Read only

0 Likes
519

Try out conversion function modules

Read only

0 Likes
519

thank u