Application Development 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: 

ABAP/4 ASCII to CHAR in some user ID will be abnormal

former_member311833
Participant
0 Kudos

Hi expert,

I reference the code char to ascii from SCN

DATA: P_CHAR TYPE C VALUE 'A'.
DATA: asc TYPE i.


"CHAR TO ASCII
FIELD-SYMBOLS : <conver_fs> type x.


ASSIGN p_char TO <conver_fs> CASTING.
MOVE <conver_fs> TO asc.
WRITE asc.

In general user, the Hexadecimal Value of char 'A' is 0041

Some user uses this computer for a period of time, then the ABAP/4 char 'A' Hexadecimal Value will be changed from 0041 to 4100

Why the char A hexadecimal value will change from 0041 to 4100? Are there any parameters or OS program affected? How to avoid this situation happen?

Best regards,

Eric

1 REPLY 1