Skip to Content
0
Sep 29, 2010 at 05:42 AM

How to delete space in an internal table

407 Views

Hi All,

In internal table I want to compress the leading space

After searching I found Condense and SHIFT LEFT DELETE leading space commands work it is written...

but when I write code A single space is appreaing in between the two fields...can any body help me where I am going wrong??

Ex:

data: begin of itab occurs 1 ,

PSAtext TYPE CHAR15,

psa type btrtl,

end of itab.

now o/p BEFORE CHANGE IS :

SBI-CT    |1023

After condense is SBI-CT |1023

bETWEEN SBI-CT AND | there is a additional space. How can we avoid that?

Sas

Edited by: saslove sap on Sep 29, 2010 7:43 AM