SAP Function STRN_CODEPAGE_FOR_SUPPLEMENT - Check code page for language supplementation

Parameter Reference Type Length Default Optional Text
LANGQ SYST-LANGU C 1 Source language
LANGZ SYST-LANGU C 1 Target language

Exception Text
NOT_ALLOWED Supplementation not allowed
NOT_ALLOWED_BUT_ACTIVE Supplementation not allowed, but already active
NO_CODEPAGE_FOR_SOURCE No code page found for source language
NO_CODEPAGE_FOR_TARGET No code page found for target language

Functionality
This module checks whether the code pages allow non-existent texts inthe target language (import parameter LANGZ) to be supplemented withtexts from the source language (import parameter LANGQ).
The following rules apply:
1. Supplementation with English is always allowed.
2. Supplementation is also allowed if the source and target
languages have the same code page.
3. If the source and target languages have differenct code pages and
the target language has not yet been supplemented with texts from
the source language, the exception NOT_ALLOWED is generated.
Supplementation is then not possible.
4. If the source and target languages have different code pages but
supplementation with texts from the source language has already
taken place, the exception NOT_ALLOWED_BUT_ACTIVE is triggered.
In this case, supplementation is possible as texts from the source
language are already stored under the language key of the target
language.
5. If the code page for the source language cannot be determined, the
exception NO_CODEPAGE_FOR_SOURCE is triggered.
Supplementation is blocked until the code page of the source
language has been correctly defined.
6. If the code page of the target language cannot be determined, the
exception NO_CODEPAGE_FOR_TARGET is triggered.
Once again supplementation can only begin when the code page for
the target language has been correctly defined.