SAP Function SDOK_LOIO_DESCRIPTIONS_DELETE - Delete 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
LANGUAGES SDOKLANGU 3 Languages

Exception Text
NOT_AUTHORIZED No Authorization
NOT_EXISTING Object Does Not Exist

Functionality
This function module deletes selected language-dependent descriptionsfor a logical document. Unlike the function moduleSDOK_LOIO_PROPERTIES_DELETE, which always deletes the description textfor a logical document (as the attribute DESCRIPTION) in the logonlanguage, this function module allows you to delete the descriptiontext in any language (although the codepage may impose somerestrictions).
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. This is the same process that is used for the fu
nction modules SDOK_LOIO_DECRIPTIONS_GET and SDOK_LOIO_DECRIPTIONS_SET.The check process is carried out for this function module even thoughcompatibility with the codepage is not a direct prerequisite fordeletion. It is not possible to delete all compatible description textsby transferring an empty language table.
After the function module is called, the table LANGUAGES contains thelanguages for deleted or non-existent descriptions, while the tableBAD_LANGUAGES contains any language abbreviations with errors and theerror code. The error codes are based on the constants SDOKA_LAERR_...in the type group SDOKA.