Application Development and Automation 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: 
Read only

Unicode error free MODIFY statement

Former Member
0 Likes
757

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
Read only

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

Read only

Former Member
0 Likes
690

hii

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

Read only

Former Member
0 Likes
690

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

Read only

Former Member
0 Likes
690

try this

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

Read only

athavanraja
Active Contributor
0 Likes
690

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