‎2007 Jun 18 10:18 AM
Hi,
I have one field 'SAKTO' in my internal table with value '0006200000'. When I loop into my work area, the value is '**********'.
Both internal table and work area are declared using the same table type.
Can anyone please suggest.
Thanks
Roshan
‎2007 Jun 18 10:21 AM
i think you are displaying it within control break statement like with in AT end , at last etc.
‎2007 Jun 18 10:20 AM
i hope u ar using control break statement(at-new, at-first,etc) move the same into another work area and do.
this is the functionality of control break statement.
regards
prabhu
‎2007 Jun 18 10:20 AM
Hi
Are you using any control break statements, and this field in the work area is after the control-break stmnt field?
If yes, then you need to read this record using index to get the values of all fields which are to the right of the control-break field.
Regards
Raj
‎2007 Jun 18 10:21 AM
Hi,
U may be using any control break events like at new... at end with in the loop
check it out.
--Patil
‎2007 Jun 18 10:21 AM
hi,
are you trying to to use any control break statements in loop??
if so read the table after at new
loop at itab into wa.
at new field1.
<b>read table itab into wa index sy-tabix.</b>
endat.
endloop.
‎2007 Jun 18 10:21 AM
Hello,
I think u r using the control break statement inside the loop of the table.
Do like this.
loop at itab.
wa_itab = itab. " Check here
at end of field1.
endat.
endloop.
Vasanth
‎2007 Jun 18 10:21 AM
i think you are displaying it within control break statement like with in AT end , at last etc.
‎2007 Jun 18 10:22 AM
Hi,
One possible reason for this can be that u might be using Control break processing statements like AT NEW, AT END OF etc.
Regards,
Himanshu
‎2007 Jun 18 10:22 AM
Hi ,
Are you using the write statement in AT NEW , or any such condition.
If yes then first move it to a temp varaible and then use AT NEW e.t.c
Regards,
Arun
‎2007 Jun 18 10:23 AM
hi,
use like this.
data: wa_itab like itab.
loop at itab.
move itab to wa_itab.
...
...
at new (field-name)
endat.
...
...
endloop.
regards
prabhu
reward if it is helpful
‎2007 Jun 18 10:31 AM
thx a lot guys! i'm using a control break and did not pay attention to it. it has solved my problem.
thx again
‎2007 Jun 18 10:32 AM