on 08-18-2007 10:50 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.