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 conversion Error

Former Member
0 Likes
940

Hi Guys!!!!!

I am facing a problem while converting a non unicode program to unicode program. I get a error as : "The offset declaration "18" exceeds the length of the character-type start (=18) of the structure. This is not allowed in Unicode programs. allowed. allowed. allowed. allowed "

I read the ABAp doc available but i didnt get clear about the exact picture of what is to be done.

Can anybody help me out

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
827

Hi ranjit,

Can you check with what statement your finding this problem after going through UNICODE Check.

Thanks

Sudharshan

6 REPLIES 6
Read only

Former Member
Read only

Former Member
0 Likes
828

Hi ranjit,

Can you check with what statement your finding this problem after going through UNICODE Check.

Thanks

Sudharshan

Read only

0 Likes
827

Hi,

The code lies as :

DATA : BEGIN OF itab_amount_string.

.

INCLUDE STRUCTURE spell.

DATA : END OF itab_amount_string.

wa_new_text = itab_amount_string+18(232).

wa_new_text = itab_amount_string+19(231).

I have got the cause but according to the documentation not able to understand what can be the feasible solution

Thanks in advance

Read only

0 Likes
827

Hi Ranjit,

You need to specify the field of the structure being used like below

wa_new_text = itab_amount_string-word+18(232).

Here word is one field of the structure SPELL.

Thanks

Sudharshan

Read only

Former Member
0 Likes
827

Hi,

Looks like the program is using offset value which is not existing. Can you go to ST22 and paste source code extract here in the forum so that we can see what are the statements which are causing the dump.

santhosh

Read only

Former Member
0 Likes
827

hi,

can you just be more clear about the issue.