‎2011 Oct 31 10:29 AM
Hi All,
I am displaying a text for example let it be w_text. this has a value due date. When displayed it is as below,
Due date
But, between due and date why is there so much space. I am fetching it form a table, and in the table due date is given. How to reduce that space, could you please help me.
Regards,
Indira
‎2011 Oct 31 10:35 AM
hi indira,
i think by using condense key word you can reduse the space.
or check once the table how the data in table is .
ramakrishna buddala
‎2011 Oct 31 10:35 AM
hi indira,
i think by using condense key word you can reduse the space.
or check once the table how the data in table is .
ramakrishna buddala
‎2011 Oct 31 10:38 AM
Hi,
Thank you for the reply. But can i use condense keyword in text editor in sap scripts. int he tabel i have checked, it is maintained with only one space. but while display it shows up many spaces.
‎2011 Oct 31 10:41 AM
hi,
Use symbol C(condence).
Ex: &itab-kunnr(C)&
Thanks & regards.
‎2011 Oct 31 10:47 AM
Hi,
As per your questions in your driver progarm you can use Condence statement in your progarm and send that value to the form .
i think it may help you.
Thanks
Ravipatlola
‎2011 Oct 31 11:03 AM
Hi,
I tried using condense keyboard in program and also in script. But it dint work out. Could you help me out.
Regards,
Indira
‎2011 Oct 31 11:38 AM
Hi,
In your program Try like this...
data: a(10) type c.
a = '$ 80.00 *'.
CONDENSE a NO-GAPS.
write a.
or like this
&symbol(i)& ---> Supress the initial value.
&symbol(z)& ---> Supress the leading zeros.
&symbol(c)& ---> compress blank spaces
Thanks
Ravipatlola