Skip to Content
0
Former Member
Mar 21, 2006 at 08:28 AM

itab spaces

60 Views

Hi experts,

Iam working on smartforms and i have to display 6 field values.One of the fields having long text with 40 charecters.If longtext is not having any value,my data is getting misalligned.

So i want to pass some space into that field to avoid misalignment for the next few fields.

DATA: G_LENG(50) VALUE '                '.

IF WA_DET-LTEXT = SPACE.
   WA_DET-LTEXT = G_LENG.
ENDIF.   

Why this code is not working? Means,it is not taking it is as space.Still data is misaligning.

What i need to do?

Thanks

kaki