Skip to Content
avatar image
Former Member

HR-Unicodes for WRITE Statement

Hi All,

Am getting the problem with the WRITE Statement in Unicodes.

i have declared the table like:

FORM list_result

TABLES p_pcl1_tab STRUCTURE pcl1.

& i have writtten the write statement as follows:

LOOP AT p_pcl1_tab.

WRITE: / sy-tabix, p_pcl1_tab.

ENDLOOP.

Am getting the follwing Error:

"P_PCL1_TAB" cannot be converted to a character-type field.

So could any body can tel me the solution for this.

Points will be rewarded,

Thax in Advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 20, 2007 at 04:12 AM

    Hello

    Try this

    LOOP AT p_pcl1_tab.

    WRITE: / sy-tabix, p_pcl1_tab-RELID, p_pcl1_tab-SRTFD.

    ENDLOOP.

    ****i.e you will need to write fields individually.

    Reward points if helpful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 04:19 AM

    but you cannot write PCL1-CLUSTD.

    for this you will need to use import statement. check out for import statement . using import get into a char field & then write this new char field.

    Add comment
    10|10000 characters needed characters exceeded