SAP Function SDOK_LOIO_DESCRIPTIONS_GET - Read Language-Dependent Descriptions of Logical Document

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_ID SDOKOBJECT u 42 Object Class and ID

Parameter Reference Length Optional Text
BAD_LANGUAGES SDOKLAERR 5 X Languages with Errors
DESCRIPTIONS SDOKDESC 67 Language-Dependent Description Texts
LANGUAGES SDOKLANGU 3 X Languages

Exception Text
NOT_AUTHORIZED No Authorization
NOT_EXISTING Object Does Not Exist

Functionality
This function module gets selected language-dependent descriptions fora logical document. Unlike the function moduleSDOK_LOIO_PROPERTIES_GET, which always gets the description text for alogical document (as the attribute DESCRIPTION) in the logon language,this function module makes it possible to get the description text inany language (although the codepage may impose some restrictions).
When this function module is called, the names of the languages arewritten to the table LANGUAGES, either in the form of a single-digitinternal R/3 code, or the two-character ISO abbreviation, or both. Whenthe languages are transferred, the system checks that they are valid,consistent, and that they are compatible with the codepage in use bythe work process. If the table LANGUAGES is not transferred, or if itis empty when transferred, the logical document descriptions for thelanguages that match the current codepage are returned.
The description texts found are written to the table DESCRIPTIONS.Language codes with errors and languages for which there is nodescription for the current logical document are written with an errorcode to the table BAD_LANGUAGES. The error codes are based on theconstants SDOKA_LAERR_... in the type group SDOKA..