‎2007 Apr 03 1:03 PM
hi all,
Is there any system fileld that we can know that my system is unicode enabled ?
Regards.
‎2007 Apr 03 1:11 PM
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.
‎2007 Apr 03 1:07 PM
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
‎2007 Apr 03 1:18 PM
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.
‎2007 Apr 03 1:07 PM
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
‎2007 Apr 03 1:07 PM
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
‎2007 Apr 03 1:07 PM
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.
‎2007 Apr 03 1:11 PM
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.
‎2007 Apr 03 1:14 PM
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
‎2007 Apr 03 2:36 PM