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?