Skip to Content
0
Former Member
Mar 19, 2009 at 05:48 AM

a field of type I is showing Zero in display mode

1437 Views

Hi,

I have module pool program, with create, change and display buttons.

Here I have a field PERNR type PERNR_D.

This field is not a mandatory field. so, I am creating a record without entering any value in this.

But when I go into display for this record, it is showing '0'.

How to remove single zero in display mode?

I tried with the following code but it is not working for me.

if zstruct-zpernr eq '00000000'.

write zstruct-zpernr to zstruct-zpernr no-zero.

endif.

Please advise me here