SAP Function SCP_IS_LANGUAGE_USABLE_CP - Is the language allowed in the system for the current code page

Parameter Reference Type Length Default Optional Text
LANGUAGE SPRAS C 1 Language

Parameter Reference Type Length Text
LANG_OK C C 0 'X' Language is allowed


Determines whether a given language is allowed in the system andfor the code page the work process is currently using.
The system returns a parameter with two possible values as follows:
X' = language is allowed in the system and for the current code page
' ' = language is not allowed in the system and for the currentcode page.

Notes
SCP_IS_LANGUAGE_USABLE_CP can be used as an alternative to functionmodule SCP_ALLOWED_LANGUAGES_CP, which returns a complete list ofallowed languages.
The following function modules answer similar questions:SCP_IS_LANGUAGE_USABLE and SCP_IS_LANGUAGE_USABLE_LOC.

732205New Function Group SCPT to eliminate domain CPLANGS