Ansicht
Dokumentation

SRTV_MODIFY_SPECTERM_LINK -

SRTV_MODIFY_SPECTERM_LINK -

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be used to rapidly update the lexicon (in the language specified by ID_LANGU) of an index (ID_CORPUSID) with a descriptor.

The descriptor is contained by the parameter ID_ENTRY. The descriptor type is contained by the parameter ID_SPECTYPE. (Parameter ID_SPECTYPE has to be non-initial. If only one type of descriptor is used, a value of one is recommended.)

This is done directly and avoids a total or even a partial compilation of the documents of the index.

The function module can be called in insert mode (the parameter B_DELETE must then be left initial) or in delete mode (B_DELETE = X).

In delete mode, there are two situations:

  • A list of IDs of documents is passed in table IT_EDOCIDS. In this case, the specified documents are deleted from the list of the ones linked with the descriptor (that is, the corresponding entries are removed from the list of those documents in which the specified descriptor appears).
  • If no list is passed (table IT_EDOCIDS is initial), the usage information of the descriptor is completely deleted. All the links between the descriptor and any document are deleted.

Insert mode works only if a list of documents is passed. It is checked if the descriptor is used in (linked with) each of the documents specified in the list. If necessary, such a link is created. Also if necessary, the descriptor is added to the lexicon.

The SAP client (MANDT) should be specified because, during customizing, it can be chosen to create client-specific indexes.

Example

Notes

Further information





Parameters

B_DELETE
ID_CORPUSID
ID_ENTRY
ID_LANGU
ID_SPECTYPE
IT_EDOCIDS
MANDT

Exceptions

COMPILATION_CANCELLED
LEXICON_DOES_NOT_EXIST
READ_ERROR
UNKNOWN_DOCUMENTS
WRONG_CORPUS_ID
WRONG_SPECTERM

Function Group

SRTV1

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2257 Date: 20240523 Time: 084613     sap01-206 ( 48 ms )