Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unicode error

Former Member
0 Likes
628

while i am modity a custom table form a internal table

an error masege is coming as

The type of the database table and work area (or internal table)

"IT_YMPIT_MR_ISSUE" (internal table name) are not Unicode convertible.

Can somebody resolve this problem.

5 REPLIES 5
Read only

Clemenss
Active Contributor
0 Likes
593

iyoti,

IT_YMPIT_MR_ISSUE is a structure with character and non-character fields. For unicode, you have to handle all fields of the structure individually, never alltogether.

Post the code for "modity a custom table form a internal table".

Regards,

Clemens

Read only

Former Member
0 Likes
593

Hi,

I believe the internal table IT_YMPIT_MR_ISSUE should of the structure of the custom table..

Example

-


*Lets say if your custom table name is ZTABLE.

DATA: IT_YMPIT_MR_ISSUE TYPE STANDARD TABLE OF ZTABLE.

Thanks,

Naren

Read only

Former Member
0 Likes
593

just declare the fields of your itab like ztable because in unicode checking some cases you can not convert the datatypes. so better to use like statement for that.

just reffer the field of database as your itab field with like addition.

regards

shiba dutta

Read only

rahulkavuri
Active Contributor
0 Likes
593

in the declaration of internal table

data: ITAB type table of ZTABLE with header line

This will remove the possible compatibilty issues.

When modifying the ZTABLE do like this

MODIFY ZTABLE FROM ITAB.

If your internal table does not have the stucture like ZTABLE then you need to declare ITAB with its fields type of ZTABLE fields

data: begin of itab,

field1 like ztable-field1.

end of itab.

Dont forget to award points for helpful answers

Read only

Former Member
0 Likes
593

Hi Jyoti

Incase, you are on NON-UNICODE system untick the check box "Unicode Checks Active" from program attributes.

Kind Regards

Eswar