cancel
Showing results for 
Search instead for 
Did you mean: 

HR-Unicodes for WRITE Statement

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.