‎2008 Sep 17 12:06 PM
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
‎2008 Sep 17 12:09 PM
Hi ranjit,
Can you check with what statement your finding this problem after going through UNICODE Check.
Thanks
Sudharshan
‎2008 Sep 17 12:09 PM
‎2008 Sep 17 12:09 PM
Hi ranjit,
Can you check with what statement your finding this problem after going through UNICODE Check.
Thanks
Sudharshan
‎2008 Sep 17 12:22 PM
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
‎2008 Sep 17 12:27 PM
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
‎2008 Sep 17 12:10 PM
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
‎2008 Sep 17 12:12 PM