SAP ABAP Class /UI2/CL_BCP47_LANG_TAGGER (Mapping of SAP language codes to BCP47 standard)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-INT-BE (Application Component) Backend Enablement
     /UI2/BASIS_UTIL_BCP47 (Package) Implementations for the BCP 47 language code standard
Properties
Class /UI2/CL_BCP47_LANG_TAGGER  
Short Description Mapping of SAP language codes to BCP47 standard    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /UI2/BASIS_UTIL_BCP47   Implementations for the BCP 47 language code standard 
Created 20130516   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /UI2/CL_BCP47_LANG_TAGGER has no forward declaration.
Interfaces
Class /UI2/CL_BCP47_LANG_TAGGER has no interface implemented.
Friends
Class /UI2/CL_BCP47_LANG_TAGGER has no friend class.
Attributes
Class /UI2/CL_BCP47_LANG_TAGGER has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 GET_SYSTEM_LANGUAGE Instance method Public Method Return the BCP 47 language code for the system language 20140702
2 LANGUAGE_CODE_SAP_TO_BCP47 Instance method Public Method Return the BCP 47 language code for the given SPRAS 20130516
Events
Class /UI2/CL_BCP47_LANG_TAGGER has no event.
Types
Class /UI2/CL_BCP47_LANG_TAGGER has no local type.
Method Signatures

Method GET_SYSTEM_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BCP47_TAG Value transfer Type reference (TYPE) STRING Language code according to BCP 47 20140702

Method GET_SYSTEM_LANGUAGE on class /UI2/CL_BCP47_LANG_TAGGER has no exception.

Method LANGUAGE_CODE_SAP_TO_BCP47 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting BCP47_TAG Call by reference Type reference (TYPE) STRING Language code according to BCP 47 20130516
2 Importing SAP_SPRAS Value transfer Type reference (TYPE) T002-SPRAS Language Key 20130516
# Exception Resumable Description Created on
1 /UI2/CX_NOT_FOUND No BCP47 tag found for given SPRAS key 20130521
History
Last changed by/on SAP  20141120 
SAP Release Created in 100