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

Table Maintanance Generator problem

Former Member
0 Likes
979

Hi All,

I have query. I n my table one field is a type Decimal and its legth 10. When i saw in debug mode it is showing special characters like '###' adn etc. due to this my select query fails and it is giving dump. for this function group unicode checks are active only.

Dump is:

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 conversion

rules for Unicode programs apply.

In this case, these rules were violated.

How to correct the error

Use only convertible operands "dst" and "src" for the statement

"MOVE src TO dst"

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"UC_OBJECTS_NOT_CONVERTIBLE" " "

Any body can suggest how to approach on this issue.

regards,

maheedhar

6 REPLIES 6
Read only

Former Member
0 Likes
940

The dump clearly tells that you cannot use MOVE statement on structures which are not compatible. Either use MOVE CORRESPONDING if there are common fields to be filled or with field symbols to move based on offsets. Though however still the decimal field will contain junk characters.

Vikranth

Read only

naveen_inuganti2
Active Contributor
0 Likes
940

Check your table is having invalid data like having alphanumeric values in decimal fields. This can happen when you change initial declaration of that field.

--Naveen.I

Read only

Former Member
0 Likes
940

Hi,

Please declare a local variable of type packed and move that field to this. You can see the value then. Then move that local value to other field.

Read only

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Likes
940

Hi Maheedhar,

please have a look at

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b02d3594-ae48-2a10-83a7-89d369b70...

> Chapter 4.

The # symbols in the table do not cause this error.

Best regards,

Nils Buerckel

SAP AG

Read only

Former Member
0 Likes
940

Problem solved

Read only

0 Likes
940

Hi,

Can you please explain the solution taht worked for you. I am also facing the same issue.