SAP ABAP Class CL_ESH_CO_LANGUAGE (Language Tools)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_ENG_COMMON (Package) Common
Properties
Class CL_ESH_CO_LANGUAGE  
Short Description Language Tools    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_ENG_COMMON   Common 
Created 20070307   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_ESH_CO_LANGUAGE has no interface implemented.
Friends
Class CL_ESH_CO_LANGUAGE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SC_ALL_LANGUAGES_WILDCARD Constant Protected Type reference (TYPE) LAISO '*' Wildcard for all known languages 20070313
2 SC_DEFAULT_LANGUAGE Constant Public Type reference (TYPE) SYST-LANGU 'E' Default language 20080411
3 SR_LANGUAGE Static Attribute Private Object reference (TYPE REF TO) LST_LANGUAGE Last used language code 20100108
4 ST_LANGUAGES Static Attribute Private Type reference (TYPE) LTT_LANGUAGES Language codes sorted 20100108
5 ST_LANGUAGES_RELEVANT_SAP Static Attribute Private Type reference (TYPE) ESH_T_OM_LANGU Table of languages used for admin 20080411
Methods
# Method Level Visibility Method type Description Created on
1 GET_RELEVANT Static method Public Method 20080411
2 ISO_2_SAP Static method Public Method Convert a language code from ISO code 639 to SAP code 20070307
3 ISO_2_SAP_MULTI Static method Public Method Convert language codes from ISO codes 639 to SAP codes 20070313
4 ISO_KNOWN Static method Public Method ISO language is known and can be converted 20071113
5 LOAD_LANGUAGE_CODES Static method Protected Method Load all languages into cache 20070313
6 SAP_2_ISO Static method Public Method Convert a language code from SAP code to ISO code 639 20070307
7 SAP_KNOWN Static method Public Method ISO language is known and can be converted 20071113
Events
Class CL_ESH_CO_LANGUAGE has no event.
Types
Class CL_ESH_CO_LANGUAGE has no local type.
Method Signatures

Method GET_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LANGUAGES Call by reference Type reference (TYPE) ESH_T_OM_LANGU Table of Languages used for Admin 20080411

Method GET_RELEVANT on class CL_ESH_CO_LANGUAGE has no exception.

Method ISO_2_SAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE_ISO Call by reference Type reference (TYPE) LAISO Language according to ISO 639 20070307
2 Returning RV_LANGUAGE_SAP Value transfer Type reference (TYPE) SPRAS Language Key 20070307

Method ISO_2_SAP on class CL_ESH_CO_LANGUAGE has no exception.

Method ISO_2_SAP_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LANGUAGES_SAP Call by reference Type reference (TYPE) ESH_T_OM_LANGU Table of Languages used for Admin 20070314
2 Exporting EV_ALL_LANGUAGES Call by reference Type reference (TYPE) XFELD Checkbox 20070314
3 Importing IT_LANGUAGES_ISO Call by reference Type reference (TYPE) ESH_T_IF_LANGUAGES Languages according to ISO 639 20070313

Method ISO_2_SAP_MULTI on class CL_ESH_CO_LANGUAGE has no exception.

Method ISO_KNOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE_ISO Call by reference Type reference (TYPE) LAISO Language according to ISO 639 20071113
2 Returning RV_KNOWN Value transfer Type reference (TYPE) XFELD Checkbox 20071113

Method ISO_KNOWN on class CL_ESH_CO_LANGUAGE has no exception.

Method LOAD_LANGUAGE_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LANGUAGES_SAP Call by reference Type reference (TYPE) ESH_T_OM_LANGU Table of Languages used for Admin 20070313

Method LOAD_LANGUAGE_CODES on class CL_ESH_CO_LANGUAGE has no exception.

Method SAP_2_ISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE_SAP Call by reference Type reference (TYPE) SPRAS Language Key 20070307
2 Returning RV_LANGUAGE_ISO Value transfer Type reference (TYPE) LAISO Language according to ISO 639 20070307

Method SAP_2_ISO on class CL_ESH_CO_LANGUAGE has no exception.

Method SAP_KNOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE_SAP Call by reference Type reference (TYPE) LANGU Language Key 20071113
2 Returning RV_KNOWN Value transfer Type reference (TYPE) XFELD Checkbox 20071113

Method SAP_KNOWN on class CL_ESH_CO_LANGUAGE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 100