SAP Function SDOK_LOIO_DESCRIPTIONS_SET - Write 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

Exception Text
NOT_AUTHORIZED No Authorization
NOT_EXISTING Object Does Not Exist

Functionality
This function module writes selected language-dependent descriptionsfor a logical document. Unlike the function moduleSDOK_LOIO_PROPERTIES_SET, which always writes the description text fora logical document (as the attribute DESCRIPTION) in the logonlanguage, this function module makes it possible to write thedescription text in any language (although the codepage may impose somerestrictions).
When this function module is called, the names of the languages arewritten to the table DESCRIPTIONS, either in the form of a single-digitinternal R/3 code, or the two-character ISO abbreviation, or both. Therelevant description texts are also written to the table. When thelanguages are transferred, the system checks that they are valid,consistent, and that they are compatible with the codepage in use bythe work process.
The description texts found are written to the table DESCRIPTIONS.Language codes with errors are written with an error code to the tableBAD_LANGUAGES. The error codes are based on the constantsSDOKA_LAERR_... in the type group SDOKA.