‎2007 Dec 20 12:51 PM
Hi Friend,
I am working in UNICODE project,i need one help,
I have one error .
Actually, im using one structure(Z0028) and passing values to internal table.
At that time i shows one error.
Actually,this error is due to type conversion problem.
In that structure,i ve one packed datatype ,so, if i select
unicode check it shows error.
I will sent example prg and error also.
Please give some solution to slove.
REPORT YPRG1 .
TABLES: Z0028.
DATA:I_Z0028 TYPE Z0028 OCCURS 0 WITH HEADER LINE .
SELECT * FROM Z0028 INTO TABLE I_Z0028 .
IF SY-SUBRC <> 0 .
WRITE:/ ' NO DATA'.
ENDIF.
LOOP AT I_Z0028.
WRITE:/ I_Z0028.
ENDLOOP.
Regards,
Kalidas.T
‎2007 Dec 20 12:54 PM
Hi,
Display fields
do like this..
REPORT YPRG1 .
TABLES: Z0028.
DATA:I_Z0028 TYPE Z0028 OCCURS 0 WITH HEADER LINE .
SELECT * FROM Z0028 INTO TABLE I_Z0028 .
IF SY-SUBRC 0 .
WRITE:/ ' NO DATA'.
ENDIF.
LOOP AT I_Z0028.
WRITE:/ I_Z0028-field1,
I_Z0028-field2
I_Z0028-field3.
.
.
.
.
ENDLOOP.
Regards,
Prashant
‎2007 Dec 20 1:00 PM
Hi Prashant,
Actually,i did like u said already,
But, i need to convert that packed datatype into char,
what to do for that.
if i give UNICODE check,then only it showing error.
Regards,
Kalidas.T