Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID5098978080409153703...
28/07/2010
Page 1 of 1
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID5098978080409153703...
28/07/2010
Page 1 of 1
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID5098978080409153703...
28/07/2010
Page 1 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c1.htm
28/07/2010
Page 2 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c1.htm
28/07/2010
Page 1 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c2.htm
28/07/2010
Page 2 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c2.htm
28/07/2010
Page 1 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c3.htm
28/07/2010
Page 2 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c3.htm
28/07/2010
Page 1 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c4.htm
28/07/2010
Page 2 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c4.htm
28/07/2010
Page 1 of 1
Access with Offset and Length Information for Elementary Data Objects
Audio Transcript From our earlier learning in this course, you will remember that for character-type variables, offset and length are interpreted character by character and types X and XSTRING, the values for offset and length are interpreted byte by byte.
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c5.htm
28/07/2010
Page 1 of 1
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c6.htm
28/07/2010
Page 1 of 2
Unicode Checks
Audio Transcript ABAP allows for Unicode character sets since SAP Web Application Server 6.10. However, you must be careful to ensure that information about the internal length of your characters does not spill over to your program. While the ABAP Workbench supports you when working with existing code, you may have to make certain adjustments. The syntax check has been extended to include Unicode compatibility also. To execute the relevant syntax checks, you must set the indicator Unicode Checks Active in the program (or class) attributes. This is the standard setting in Unicode systems. If the Unicode indicator is set for a program (or a class), the syntax check and program are executed in accordance with the rules described in the Unicode online help. (This is irrespective of whether the system is a Unicode or a nonUnicode system). If the Unicode indicator is not set, the program can only be executed in a non-Unicode system. For such programs, Unicode-specific changes of syntax and semantics do not apply. However, you can use all the language enhancements introduced in connection with the conversion to Unicode. The abap/unicode_check parameter controls the execution of Unicode checks during the syntax check and at ABAP program runtime in a non-Unicode system. The parameter can take on the following values: On: The Unicode checks are performed for each ABAP program. The system behaves as though the program attribute Unicode Checks Active were set for all ABAP programs. This option is normally used for preparing a conversion to Unicode. Off: Unicode checks are only performed in those programs for which the program attribute Unicode Checks Active has been set. As of SAP Web Application Server 6.10, you can use the transaction UCCHECK to check several Repository objects for Unicode compatibility at the same time. The transaction always checks the active program version. You can also use it to apply the Unicode Checks Active attribute to several programs (which must be original programs in the system). However, you should only do this with programs that are actually Unicode-enabled, otherwise the program terminates when it is executed.
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c7.htm
28/07/2010
Page 2 of 2
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/t1o2c7.htm
28/07/2010
Page 1 of 1
Module Summary
You should now be able to discuss Unicode in ABAP from a programming perspective. Some tips to working effectively are given here. Always use the latest variants for obsolete statements. Online help supports you here. Program safely for example - access structures component by component and avoid offset and lengthaccess to entire structures. Program in general in a Unicode-compatible manner; which means that the Unicode Checks Active indicator must always be set. This will help if you change your system to Unicode later on, your programs will require no further checks or adjustments.
http://online.sap.com/sap/courses/sap-113634/16441125/KTMID509897808040915370303/m1s1.htm
28/07/2010