SAP Function STATUS_NUMBER_CONVERSION - Status Number Conversion in Language-Dependent Text

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
LANGUAGE SYST-LANGU C 1 Language
OBJNR JSTO-OBJNR C 22 SPACE X Object Number (for User Status, if Known)
STATUS_NUMBER JEST-STAT C 5 Status
STSMA JSTO-STSMA C 8 SPACE X Status Profile (for User Status, if Known)

Parameter Reference Type Length Text
LANGUAGE_FOUND SYST-LANGU C 1 Language in which TXT04 was found
TXT04 TJ02T-TXT04 C 4 Language-Dependent Status ID
TXT30 TJ02T-TXT30 C 30 Language-Dependent Status Text

Exception Text
INSUFFICIENT_INPUT Neither STSMA nor OBJNR Filled (UsrStatus)
OBJECT_NOT_FOUND Status Object for OBJNR Not Found (UsrStatus)
STATUS_NOT_FOUND Status Number Invalid
STSMA_NOT_FOUND Status Profile Not Found

Functionality
The function module delivers the 4-character, language-dependentabbreviation and the 30-character, language-dependent long text for astatus in internal format.
This function module is the counterpart toSTATUS_TEXT_CONVERSION.

Description
Language in which the texts TXT04 and TXT30 are delivered.
First the attempt is made to deliver the texts in the requiredlanguage, according to parameter LANGUAGE.
If the texts do not exist in this language, they are delivered in themaintenance language of the status profile (user status) or in German(system status).

Description
4-character, language-dependent abbreviation as displayed in the statusline

Description
30-character, language-dependent text

Description
Client

Description
Target language required for the status abbreviation.

Description
Object number
The object number is only needed to determine the status profile.
If STSMA is filled or if only the text for a status profile isrequired, this parameter does not need to be filled.

Value range
Object number must exist in table JSTO or be INITIAL.

Default
INITIAL

Description
Status in internal format

Value range
I0000 - I9999 for system status
E0000 - E9999 for user status

Description
Status profile
This field must be filled if a user status is given and the objectnumber is not available.

Value range
Check table is TJ20

Default
INITIAL