READ_ACTIVE_VERSIONS SAP Method Versioned Reading: All Active Versions









Below is documentation, parameters and attributes of ABAP Method READ_ACTIVE_VERSIONS within SAP class CL_CACS_VERS_HELPER. 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 CL_CACS_VERS_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method READ_ACTIVE_VERSIONS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method READ_ACTIVE_VERSIONS

.

NameTypeData TypeDescriptionDefault Value
ID_BUSITIME_HIGHImportingTYPE
CACS_BUSITIME_E
Selection of Effective Validity: Largest
ID_BUSITIME_LOWImportingTYPE
CACS_BUSITIME_B
Selection of Effective Validity: Smallest
ID_TABNAMEImportingTYPE
TABNAME
Table Name
ID_TECHTIMEImportingTYPE
CACSTECHTIME
Technical Validity (Time Stamp: YYYY.MM.DD hh:mm:ss)
IS_KEYImportingTYPE
ANY
Key Data
IT_DBDATAImportingTYPE
ANY TABLE
Data Bufer from which Version Is Read
ET_DATAExportingTYPE
TABLE



Exceptions of Method READ_ACTIVE_VERSIONS

CX_CACS_VERS_HELPER - Exception Class for CL_CACS_VERS_HELPER

Example ABAP coding


DATA: lv_ET_DATA TYPE TABLE,
lv_ID_BUSITIME_HIGH TYPE CACS_BUSITIME_E,
lv_ID_BUSITIME_LOW TYPE CACS_BUSITIME_B,
lv_ID_TABNAME TYPE TABNAME,
lv_ID_TECHTIME TYPE CACSTECHTIME,
lv_IS_KEY TYPE ANY,
lv_IT_DBDATA TYPE ANY TABLE,
lv_other TYPE c.

CALL METHOD CL_CACS_VERS_HELPER=>READ_ACTIVE_VERSIONS(
EXPORTING
ID_BUSITIME_HIGH = lv_ID_BUSITIME_HIGH
ID_BUSITIME_LOW = lv_ID_BUSITIME_LOW
ID_TABNAME = lv_ID_TABNAME
ID_TECHTIME = lv_ID_TECHTIME
IS_KEY = lv_IS_KEY
IT_DBDATA = lv_IT_DBDATA
IMPORTING
ET_DATA = lv_ET_DATA ).

Links to Related Class(s)

CL_CACS_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!