cancel
Showing results for 
Search instead for 
Did you mean: 

space problem in dynamic data

Former Member
0 Kudos

Hi all,

In my smart form i am facing the problem with spacing.

In the hard coded text i have used <672> at the space it's working fine.

ex: material description i wrote it as material<672>Description it's working fine

but the data coming from db is taking more space

ex:&wa_itab-txz01& if data in db is 'consignment note a' in form it's printing as 'consignment note a'.( with extra space in bet'n).

can any one help me how to resolve this.

Thanks in advance,

Viswamurthy.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi..

Use &wa_itab-txz01(C)& instead of

&wa_itab-txz01& .This will compress the blanks.

Regards,

Karthik

Edited by: Karthik S on Sep 14, 2010 1:51 PM

Former Member
0 Kudos

HI karthik,

thankyou but i tried the same way what you said.

if the text is: consignment note book 
but inout ut it's showing as: consignment      note        book.(extra space bet'n the words)

regards

viswa

Former Member
0 Kudos

Hi,

if the field is of char type then you can use:

condense wa-txt no space.

-keerthi

Former Member
0 Kudos

Hi keerthi,

thanks for your reply,

Condence will remove the spaces completely.

ex: consignment   note
result :consignmentnote

any help ...

regards,

viswa