2008 Jul 08 9:55 AM
Hi Gurus!!
We are on version ecc 6.0
I am getting the following error message: "The type of the database table and work area(or internal table) are not unicode convertible.
Here is how I declared it:
types: Begin of zzpo,
CLIENT(3),
VENDOR(10),
DOCDATE(8),
PURORG(4),
PURGRP(3),
CREATEDON(8),
CREATEDBY(40),
PROCC(1),
COUNTRY(15),
CURR(5),
end of zzpo.
DATA: zzpo1 TYPE zzpo OCCURS 1,
zzpow TYPE zzpo.
Could someone please tell me what is the problem??
Thanks and Regards,
Vishwa.
Hi Gurus!!
We are on version ecc 6.0
I am getting the following error message: "The type of the database table and work area(or internal table) are not unicode convertible.
Here is how I declared it:
types: Begin of zzpo,
CLIENT(3),
VENDOR(10),
DOCDATE(8),
PURORG(4),
PURGRP(3),
CREATEDON(8),
CREATEDBY(40),
PROCC(1),
COUNTRY(15),
CURR(5),
end of zzpo.
DATA: zzpo1 TYPE zzpo OCCURS 1,
zzpow TYPE zzpo.
Could someone please tell me what is the problem??
Thanks and Regards,
Vishwa.
2008 Jul 08 9:59 AM
hi,
remove the occurs 1 and use type table of.
Ex.
types: Begin of zzpo,
CLIENT(3),
VENDOR(10),
DOCDATE(8),
PURORG(4),
PURGRP(3),
CREATEDON(8),
CREATEDBY(40),
PROCC(1),
COUNTRY(15),
CURR(5),
end of zzpo.
DATA: zzpo1 TYPE table of zzpo, (for internal table)
zzpow TYPE zzpo.(for work area).
Warm regards,
Surendar Reddy
2008 Jul 08 10:02 AM
Hi,
Do this
types:
Begin of zzpo OCCUR 1,
CLIENT(3),
VENDOR(10),
DOCDATE(8),
PURORG(4),
PURGRP(3),
CREATEDON(8),
CREATEDBY(40),
PROCC(1),
COUNTRY(15),
CURR(5),
end of zzpo.
DATA: zzpo1 TYPE TABLE OF zzpo,(INTERNAL TABLE)
zzpow TYPE zzpo.(WORK AREA.)
Regards,
Sujit
2008 Jul 08 10:06 AM
Hi Vishwa
DATA: zzpo1 TYPE standard table of zzpo,
zzpow TYPE zzpo.
Try this change and let me know.
Regards,
Suresh.S
2008 Jul 08 10:10 AM
Hi,
Occurs 1 gives an error only in extended check.
check your further code there might be problem.
Regards
Adil
2008 Jul 08 10:14 AM
Hi,
While declaring the internal table don't use OCCURS .
DATA:
zzpo1 TYPE standard table of zzpo,
zzpow TYPE zzpo.
And i think the error is not because of table declaration.
In your program the number of fields you are selecting in SELECT statement and the fields in the internal table
are not same .
And also check the sequence and DATA TYPE of fields .
Just check this .
Regards,
Rajitha.
Edited by: Rajitha Muthineni on Jul 8, 2008 2:49 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |