05-29-2006 1:22 PM
HI All,
I have midify statement in a loop like this.
loop at itab into wa_itab.
modify itab from wa_itab index tabx.
endloop.
I am working in ECC 6.0. It is showing unicode error at modify statement. Please suggest me the correct statemnt.ANy extension for modify statemnt..?
Thanks,
kishore
05-29-2006 1:25 PM
LOOP AT IT_VBRK.
<b> CTAB = SY-TABIX.</b>
LOOP AT IT_T001 WHERE BUKRS = IT_VBRK-BUKRS.
IF SY-SUBRC = 0.
IT_VBRK-BUTXT = IT_T001-BUTXT.
<b> MODIFY IT_VBRK INDEX CTAB.</b>
CLEAR CTAB.
ENDIF.
ENDLOOP.
ENDLOOP.
The problem may be with SY-TABIX, check the above code
05-29-2006 1:26 PM
05-29-2006 1:27 PM
What kind of data is the itab holding?
Is this the only code? Generally the following type of statements are not allowed in ecc6.0
loop at itab into wa_itab.
write:/ wa_itab.
endloop.
See if you have any such statements.
Regards,
Ravi
05-29-2006 1:28 PM
try this
loop at itab into wa_itab.
l_tabix = sy-tabix.
modify itab from wa_itab index l_tabix transporting f1....
endloop.
05-29-2006 1:28 PM
can you tell us what is the exact error message you are getting.
loop at itab into wa_itab.
modify itab from wa_itab index <b>sy-tabix</b>.
endloop.
Regards
Raja