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

Keep getting this error when I run a program UC_OBJECTS_NOT_CONVERTIBLE

Former Member
0 Likes
676

I created a project via CMOD for a modification to a BW extractor. It is pretty simple coding but when I try and execute the extractor via RSA3 I get the following error. I've attached the code as well and it is something with line 17. can you please help

Short text

Data objects in Unicode programs cannot be converted.

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLXRSA" had to be terminated because

come across a statement that unfortunately cannot be executed.

Error analysis

The statement

"MOVE src TO dst"

requires that the operands "dst" and "src" are convertible.

Since this statement is in a Unicode program, the special conver

rules for Unicode programs apply.

In this case, these rules were violated.

Trigger Location of Runtime Error

Program SAPLXRSA

Include ZXRSAU01

Row 17

Module type (FUNCTION)

Module Name EXIT_SAPLRSAP_001

Source Code Extract

Line SourceCde

1 *&----


2 *& Include ZXRSAU01

3 *&----


4

5 TABLES: VTTK.

6 DATA: L_MCCOMVTTS LIKE MCCOMVTTS,

7 L_TABIX LIKE SY-TABIX.

8

9

10

11 CASE I_DATASOURCE.

12

13 WHEN '2LIS_08TRTLP'.

14

15 *FIND TDLNR & VSART IN THE SHIPMENT HEADER TABLE

16

>>>>> LOOP AT C_T_DATA INTO L_MCCOMVTTS.

18 L_TABIX = SY-tabix.

19 SELECT SINGLE * FROM VTTK WHERE TKNUM = L_MCCOMVTTS-TKNUM.

20

21 *FILL FIELDS WITH DATA FROM VTTK(SHIPMENT HEADER TABLE)

22 IF SY-SUBRC = 0.

23 L_MCCOMVTTS-Z_TDLNR = VTTK-TDLNR.

24 L_MCCOMVTTS-Z_VSART = VTTK-VSART.

25 MODIFY C_T_DATA FROM L_MCCOMVTTS INDEX L_TABIX.

26 ENDIF.

27 ENDLOOP.

28 ENDCASE.

2 REPLIES 2
Read only

Former Member
0 Likes
436

ra you sure the

table C_T_DATA and the work area L_MCCOMVTTS have the smae fileds with same data element .

i think somewhere ther is adifference that why systerm is umable to populate the table data in to work area..

<b>i have observed that C_T_DATA is not defined any format..

Make sure u have the same structure for the work area as well</b>

Please Close this thread.. when u r problem ise solved

Reward if Helpful

Regards

Naresh Reddy K

Message was edited by:

Naresh Reddy

Read only

Former Member
0 Likes
436

I am encountering the same problem. Is this something that has changed when working in an ECC system? This coding always worked for me in the past.

If so, what has replaced C_T_DATA?