UNICODE_TYPES_NOT_CONVERTIBLE
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
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
Similar Messages
-
Abap runtime error UNICODE_TYPES_NOT_CONVERTIBLE occured
Hi,ecpert:
I have encountered one abap runtime error UNICODE_TYPES_NOT_CONVERTIBLE
and the main logic list below:
First, I define one parameter which user can input from selection screen.
PARAMETERS:P_TABNAM LIKE DD03L-TABNAME .
Then, I get the dynamic internal table based on P_TABNAM .
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = ifc
IMPORTING
ep_table = dy_table.
ASSIGN dy_table->* TO <dyn_table> .
Then, after filling data to <dyn_table>, I want to modify the (P_TABNAM).
MODIFY (P_TABNAM) from TABLE <dyn_table>.
And when I run this program , one runtime error UNICODE_TYPES_NOT_CONVERTIBLE occurred.
Pls give suggestions, thanks.Quite appreciate your help, I tried this T-code
however, I got no information after run it with my program name
In addition, this program can be activated properly in ABAP editor,and error occured
when execute the 'Modify' clause. -
Short Dump for Dynamic Select Query
Hello all,
I get a short dump for my dynamic select query at the end of the code. The error is "The types of operands "dbtab" and "itab" cannot be converted into one another."
My code looks like below.
FORM get_ccnum_2 USING p_tabname TYPE dd03l-tabname.
DATA: p_table(30) TYPE c.
FIELD-SYMBOLS: <dyn_wa>,
<t> TYPE table.
DATA: it_fldcat TYPE lvc_t_fcat.
TYPE-POOLS : abap.
DATA: it_details TYPE abap_compdescr_tab,
wa_details TYPE abap_compdescr.
DATA: ref_descr TYPE REF TO cl_abap_structdescr.
DATA: new_table TYPE REF TO data,
new_line TYPE REF TO data,
wa_it_fldcat TYPE lvc_s_fcat.
p_table = p_tabname.
ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
it_details[] = ref_descr->components[].
LOOP AT it_details INTO wa_details.
CLEAR wa_it_fldcat.
wa_it_fldcat-fieldname = wa_details-name .
wa_it_fldcat-datatype = wa_details-type_kind.
wa_it_fldcat-intlen = wa_details-length.
wa_it_fldcat-decimals = wa_details-decimals.
APPEND wa_it_fldcat TO it_fldcat .
ENDLOOP.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fldcat
IMPORTING
ep_table = new_table.
ASSIGN new_table->* TO <t>.
CREATE DATA new_line LIKE LINE OF <t>.
ASSIGN new_line->* TO <dyn_wa>.
wa_cond = 'CCNUM <> '' '' '.
APPEND wa_cond TO tab_cond.
SELECT * INTO TABLE <t>
FROM (p_table)
WHERE (tab_cond)
ORDER BY (tab_ord).
ENDFORM. " GET_CCNUM_2Hi,
I tried to execute the code using table BSEGC and it gave a short dump..
the actual exception that shows in ST22 IS ..UNICODE_TYPES_NOT_CONVERTIBLE..
I think there is something wrong in the internal table creation..
Instead of using the method cl_alv_table_create=>create_dynamic_table to create the dynamic table I used the following and it worked..
CREATE DATA new_table TYPE TABLE OF (p_table).
* Comment begin " Naren
* ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
* it_details[] = ref_descr->components[].
* LOOP AT it_details INTO wa_details.
* CLEAR wa_it_fldcat.
* wa_it_fldcat-fieldname = wa_details-name .
* wa_it_fldcat-datatype = wa_details-type_kind.
* wa_it_fldcat-intlen = wa_details-length.
* wa_it_fldcat-decimals = wa_details-decimals.
* APPEND wa_it_fldcat TO it_fldcat .
* ENDLOOP.
* CALL METHOD cl_alv_table_create=>create_dynamic_table
* EXPORTING
* it_fieldcatalog = it_fldcat
* IMPORTING
* ep_table = new_table.
* Comment End. " Naren
CREATE DATA new_table TYPE TABLE OF (p_table). " New code by naren
Please Try this..
Thanks
Naren -
Hi All,
We have a statement in an old program as below:
INSERT (TABLE) FROM wa.
TABLE is defined as variable and it is identified in run time and it reprenents the table name.
wa is the workarea which represents some part of databae table.
It is giving dump UNICODE_TYPES_NOT_CONVERTIBLE.
How can this be rectified?
Regards,
JeetuHi Jeetu,
In Unicode programs the following rules apply:
If the work area or the line of the internal table is a structure, the system also checks whether the fragment views of the work area and the database table are identical with regard to the length of the database table.
If the work area is a single field, the field must be character-type and the database table purely character-type. These requirements are valid for all statements listed above.
Maybe you are looking for
-
Windows 7 Ultimate 64bit upgrade to Windows 8 Pro RTM 64bit hangs
I am trying to upgrade Windows 7 Ultimate 64bit on a Dell Alienware Aurora R3 desktop PC via DVD to Windows 8 Pro 64bit (RTM) and it freezes on the Windows Splash Screen after the installation and then after the restart. It looks like it has put the
-
Apple please allow the user to edit the genres
You know after apple revamped iTunes 12, and I think that they did a great job,, I started to think about the genres. I really wish that I had control over what genres appeared in my list because the overwhelming majority go unused and I'd like to
-
File Name Shortenings in Folders (Finder)
My question is if you can change the format of how shortened file names appear in folders. The default is showing the beginning and ending of a file name: "summer vacation photos" -> "summ...otos" (of course depending on how large the file icon is or
-
How to read a CLOB file and select only one of the node
i have table with one of it's datatyp as CLOB, i need to read one particular node alone, Ex Table tesxml has two columnd id,xml and the xml field is a CLOB which has data as shown below. <?xml version="1.0" encoding="UTF-8"?> <alert> <type0 comm
-
where is file share on itunes? please help!!