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

System field

Former Member
0 Likes
933

hi all,

Is there any system fileld that we can know that my system is unicode enabled ?

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
910

Hi..

this may give u some idea...

Insert Report UNICODE ENABLING uc

Effect :

This addition specifies the setting of the Unicode check for the created or overwritten program according to the content of uc, which must be a data object of the data type c and length 1 that has the value "X" or " ". The value "X" activates the Unicode check while the value " " deactivates it.

Note :

With this addition, the source code of non-Unicode programs can be overwritten from Unicode programs without the Unicode check being implicitly activated. You can also create Unicode programs from non-Unicode programs.

8 REPLIES 8
Read only

Former Member
0 Likes
910

If you see from the Menu:

System->status, you can see in teh System data section, a field called Unicode System. If it is yeas, then that system is a Unicode system , if it is NO, then it is not a unicode system.

Regards,

Ravi

Read only

0 Likes
910

Hi all,

Many thanks for your answers ..

for me i have to check in my program if the system is Unicode enabled then i have to perform calculation based on off set values.

regards.

Read only

Former Member
0 Likes
910

Hi,

You can get the whether an object is unicode enable or not, by checking the field <b>UCCHECK</b> in the table<b> TRDIR</b>.

If the field TRDIR-UCCHECK is checked then it is unicode enabled.

Thanks,

Vinay

Read only

Former Member
0 Likes
910

hi,

I dont have no idea about a field but if you go to system->status you will see a field Unicode system Yes/No

FYI all the system fields are in the str SYST

Santhosh

Message was edited by:

Kaluvala Santhosh

Read only

kiran_k8
Active Contributor
0 Likes
910

Hi,

Check UCCHECK T-CODE.In the attributes of the program you can find whether your program is unicode check active or not.I don't think that there is any system field for the same.

reward if found helpful.

K.Kiran.

Read only

Former Member
0 Likes
911

Hi..

this may give u some idea...

Insert Report UNICODE ENABLING uc

Effect :

This addition specifies the setting of the Unicode check for the created or overwritten program according to the content of uc, which must be a data object of the data type c and length 1 that has the value "X" or " ". The value "X" activates the Unicode check while the value " " deactivates it.

Note :

With this addition, the source code of non-Unicode programs can be overwritten from Unicode programs without the Unicode check being implicitly activated. You can also create Unicode programs from non-Unicode programs.

Read only

0 Likes
910

There is no system field but is this what you are looking for ?

code snippet from the function call STATUS_ANZEIGEN.

* Unicode information
if cl_abap_char_utilities=>charsize = 1.
  unicode_sys = 'nein'(003).  "No
else.
  unicode_sys = 'ja'(004).  "Yes
endif.

~Suresh

Read only

0 Likes
910

Thanks suresh ,

you solved my problem ....