Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode error free MODIFY statement

Former Member
0 Kudos

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

5 REPLIES 5

rahulkavuri
Active Contributor
0 Kudos
  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

Former Member
0 Kudos

hii

modify itab from wa_itab index <b>SY-TABIX</b>.

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

try this

loop at itab into wa_itab.
l_tabix = sy-tabix.
modify itab from wa_itab index l_tabix transporting f1....
endloop.

athavanraja
Active Contributor
0 Kudos

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