I have declared an Internal Table like a structure which has 10 fields.
To generate Idoc i need to pass the records from Internal Table to EDIDD-SDATA.
Since SDATA is a string of Char 1000, i'm concatenating all the columns of internal table to a variable.
In debug mode all the fields size are adopting to its correct size.
but after generating the IDOC and view through WE02 the data are miss placed bz of inclusion of space.
field1 (Size 4) - ABCD
field2 (Size 10) - 0000001234
field3 (size 10) - 09.02.2010
field4 (Size 6) - _12345
field5 (Size 4) - 6 AB --> missed character is continuing in next field after a space data of its corresponding field starts
field6 (Size 3) - C 2 -->missed character is continuing in next field after a space data of its corresponding field starts
Tried by suppressing the space. CONDENSE NO-GAPS. . . .it dnt help me
How to solve this