Application Development 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: 

UNICODE_TYPES_NOT_CONVERTIBLE

Former Member
0 Kudos

Hi

I have this mistake UNICODE_TYPES_NOT_CONVERTIBLE, it is produced when the fm TABLE_ENTRIES_GET_VIA_RFC is called

in 4.6b is working ok, but now in ERP 6.0 the fm not work

This a part of the dump

Descriptions

Die Typen der Operanden "dbtab" und "itab" sind nicht ineinander konvertierbar.

¿has happened?

Error in the ABAP Application Program

The current ABAP program "SAPLBDCH" had to be terminated because it has

come across a statement that unfortunately cannot be executed. Anál.errores

In einem Unicode-System muß für die Anweisung

"SELECT * FROM dbtab INTO TABLE itab"

der Typ des Operanden "dbtab" in den Typ des Operanden "itab" konvertierbar

sein. Unabhängig von der Länge eines Unicode-Zeichens müssen beide

Operanden dasselbe Struktur-Layout haben.

Im vorliegenden Fall ist diese Bedingung nicht erfüllt.

What can i do for solve this problem??

Regards

Gregory

10 REPLIES 10

amit_khare
Active Contributor
0 Kudos

Check this OSS Note - 881127

Former Member
0 Kudos

Hi

Thanks but this note have the status *cannot be implemented * in the system.

Any other idea??

Regards

Gregory

0 Kudos

>

> Hi

>

> Thanks but this note have the status *cannot be implemented * in the system.

>

> Any other idea??

>

> Regards

>

> Gregory

It has the status "cannot be implemented" because it is a consulting note. You have to read it and follow its instructions.

0 Kudos

Hi

U should read agian the note 881127:

.Symptom

Function module TABLE_ENTRIES_GET_VIA_RFC returns a runtime error with the message "UNICODE_TYPES_NOT_CONVERTIBLE". The transferred table does not contain only numerical fields.

Other terms

UNICODE_TYPES_NOT_CONVERTIBLE, TABLE_ENTRIES_GET_VIA_RFC

Reason and Prerequisites

The function module is only intended for internal use in the ALE area, and only for reading numerical tables.

Solution "<-----------------------------

Use another or a customer-specific function module.

.

If you see the SOLUTION section u can note it can't use the fm TABLE_ENTRIES_GET_VIA_RFC_

U need to create a new fm as copy of std one or try ti use another fm (try RFC_READ_TABLE)

Max

0 Kudos

Max,

The fm RFC_READ_TABLE will not work in Unicode systems. Please check note 758278

0 Kudos

Hi

Yes I suppose but I'm not sure: all I know there are only two fm to read SAP table via RFC RFC_READ_TABLE and TABLE_ENTRIES_GET_VIA_RFC.

Both fm use a char table as parameter in order to transfer the selected record: this char parameter is the problem for the unicode system:

If the target table has some numeric fields a dump can occur.

So the only solution is create an own fm.

Max

0 Kudos

"The requested SAP Note is either in reworking or is released internally only"

=> it seems that 758278 is not released

Former Member
0 Kudos

Hi,

SELECT * FROM dbtab INTO TABLE itab

Check the structure of the Dbtab abd itab as per the dunp message both the tables are incompatiable.

0 Kudos

Hi

i know that the tables are incompatiable but how can i solve this ? is an estandar program.

I verify in the Function call and the table´s type is correct.

Regards

Gregory

Former Member
0 Kudos

Ready

I'm going use the fm RFC_READ_TABLE

Regards

Gregory