Skip to Content
0
Former Member
May 13, 2008 at 08:55 AM

regarding space issue

56 Views

hi,

I m find a strange issue ,

i have declared an internal table i_final, in that one field(comnt) is there with length 40

i m reading an input file and i m passing data to comnt field which is blank.

the value of this comnt is blank and this i m moving to g_comnt(this is also 40 character size)

when i m checking the g_comnt field is intitial it is failing. and also the STRLEN is showing as 40.

code is like this ,

i_final-comnt = w_inputfile_comnt.

g_comnt = i_final-comnt .

if g_comnt is intial.

write 'working'.

endif.

This condition is not working

Please advise ASAP

Thanks,

Suresh