Skip to Content
author's profile photo Former Member
Former Member

Unicode Conversion Error

Hi,

I am facing the problem in non unicode system for below Code.

DATA : ITAB LIKE TBL64 OCCURS 0 WITH HEADER LINE.

LOOP AT ITAB.

CHECK ITAB+3(8) = SY-REPID.

--- ---

ENDLOOP.

it is showing ' ITAB+3(8) 'does not start with a charecter type field.

How to solve this problem

Thanks,

Koshal

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 06:44 PM

    TBL64-LINE has a data type as RAW.

    So it is not allowing.

    Use :

    DATA: ITAB(200) TYPE C OCCURS 0 WITH HEADER LINE.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 06:45 PM

    Hai Koshal

    Check the modification

    In the table TBL64 one field LINE is there

    LOOP AT ITAB.

    <b>CHECK ITAB-LINE+3(8) = SY-CPROG.</b>

    --- ---

    ENDLOOP.

    Regards

    Sreenivasulu P

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2006 at 09:50 PM

    ITAB is defined as raw data. So offsets will not work. Where are you trying this code and how is ITAB filled?

    Add comment
    10|10000 characters needed characters exceeded