Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question