Ansicht
Dokumentation

SDOK_LOIO_CREATE - Create a Logical Document

SDOK_LOIO_CREATE - Create a Logical Document

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module creates a logical document from a specific document class.

The user specifies the document class of the new document when the document is being created. The user has the option of pre-defining the document ID as a DCE-compatible GUID. Otherwise, KPro defines the document ID.

The user can set attributes for the new logical document when the document is being created. If a document class contains required attributes, the document can only be created when all required attributes have been specified in the interface, or have been inherited from the document class.

Example

Notes

  • The document class is optional for compatibility reasons only. It is not possible to set a meaningful default document class. If a document is called without a document class being specified, an exception occurs.
  • The document ID has no semantic content and is usually defined by SAP Knowledge Provider. It only makes sense for the application to specify the ID in situations where an application uses the ID in question before the document has been created. In such cases, the ID must be DCE-compatible and must be transferred as a 32-digit hex number string, in order to prevent conflicts with other documents.
  • Attribute entries generated by KPro are not available as export parameters in the table PROPERTIES. You have to read them using "PropertiesGet".

Further information





Parameters

CLIENT
OBJECT_CLASS
OBJECT_ID
OBJECT_UNIQUE_ID
PROPERTIES

Exceptions

BAD_CLASS
BAD_PROPERTIES
DUPLICATE_OBJECT_ID
EXCEPTION_IN_EXIT
MISSING_CLASS
MISSING_PROPERTIES
NOT_AUTHORIZED

Function Group

SDCL

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2783 Date: 20240523 Time: 051525     sap01-206 ( 48 ms )