Menu

SAP Function Module DOCUMENT_MAINTAIN_INDEX_IN_UPD

Index a document in update program

The Function Module DOCUMENT_MAINTAIN_INDEX_IN_UPD (Index a document in update program) is a standard Function Module in SAP ERP and is part of the function group SFFI within the package SFIN.

Technical Information

Function Module DOCUMENT_MAINTAIN_INDEX_IN_UPD
Short Text Index a document in update program
Function Group SFFI
Package SFIN
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CLASS LIKE TFIC-CLASS Information class
KEY_OF_DOCUMENT LIKE Application-dependent key of the
LANGUAGE LIKE SY-LANGU 'D' Language indicator
TITLE_OF_DOCUMENT LIKE Title of the document (new)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NUMBER_OF_ATTRIBUTES LIKE FIST-HITS Number of edited attributes
NUMBER_OF_WORDS LIKE FIST-HITS Number of edited words

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTRIBUTES_NEW LIKE ATVAL New values of the attributes
ATTRIBUTES_OLD LIKE ATVAL Original, already indexed attribut
TEXT_NEW LIKE TLINE New text to be indexed
TEXT_OLD LIKE TLINE Old, already indexed text

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ATTRIBUTES_NEW_MISSING No new attributes specified.
ATTRIBUTE_INVALID Invalid attribute name.
CLASS_INVALID Invalid information class.
DOCUMENT_ALREADY_REGISTERED Document is already recorded.
DOCUMENT_NOT_REGISTERED Document is not recorded.
INTERN_ERROR Internal error.
TEXT_NEW_MISSING No new text specified.