TRIGGER_VERSIONING SAP Method Adjustment of Archiving Rule for Travel Forms
Below is documentation, parameters and attributes of ABAP Method TRIGGER_VERSIONING within SAP class FITV_VERSIONING_INTERFACE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name FITV_VERSIONING_INTERFACE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method TRIGGER_VERSIONING can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TRIGGER_VERSIONING
.Name | Type | Data Type | Description | Default Value |
IS_HEAD | Importing | TYPE HEAD_PERIO | General Information and Period Data of a Trip | |
IS_VERSION | Importing | TYPE PTRV_VERSION | Structure of History Table | |
IS_VERSION_OLD | Importing | TYPE PTRV_VERSION | Structure of History Table | |
CV_ARCHIVE_EXIST | Changing | TYPE PTRV_ARCHIVE_EXIST | Status of Document Archiving | |
CV_OLD_ARCHIVE_EXIST | Changing | TYPE PTRV_ARCHIVE_EXIST | Status of Document Archiving |
Exceptions of Method TRIGGER_VERSIONING
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO FITV_VERSIONING_INTERFACE.
DATA: lv_CV_ARCHIVE_EXIST TYPE PTRV_ARCHIVE_EXIST,
lv_CV_OLD_ARCHIVE_EXIST TYPE PTRV_ARCHIVE_EXIST,
lv_IS_HEAD TYPE HEAD_PERIO,
lv_IS_VERSION TYPE PTRV_VERSION,
lv_IS_VERSION_OLD TYPE PTRV_VERSION,
lv_other TYPE c.
CALL METHOD lo_class=>TRIGGER_VERSIONING(
EXPORTING
IS_HEAD = lv_IS_HEAD
IS_VERSION = lv_IS_VERSION
IS_VERSION_OLD = lv_IS_VERSION_OLD
CHANGING
CV_ARCHIVE_EXIST = lv_CV_ARCHIVE_EXIST
CV_OLD_ARCHIVE_EXIST = lv_CV_OLD_ARCHIVE_EXIST ).
Links to Related Class(s)
FITV_VER...Full list of available SAP object classes
Search for further information about these or an SAP related objects