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 output using oops for numc field

Former Member
0 Likes
770

Hi,

iam displaying alv output using oops.

one of output field data type numc and length 4.

in field catalog i set lzero = 'X'.

now data is coming with leading zero. if data contains 0000 i want blank value in report output.

i tried with no_zero = 'X' blank values are display but leading zero are not display for other values.

how can i change the code.

Regards,

Suresh.

Hi,

iam displaying alv output using oops.

one of output field data type numc and length 4.

in field catalog i set lzero = 'X'.

now data is coming with leading zero. if data contains 0000 i want blank value in report output.

i tried with no_zero = 'X' blank values are display but leading zero are not display for other values.

how can i change the code.

Regards,

Suresh.

1 REPLY 1
Read only

Former Member
0 Likes
560

You will have to use data type char in your case.

regards,

Advait