Category for General Methods
This category contains the following methods:
You use GET_INSTANCE to load and prepare TDCs. GET_INSTANCE contains the following parameters:
Parameter Name |
Type |
Description |
I_TESTDATENCONTAINER |
ETOBJ_NAME |
Name of TDC |
I_TDC_RFCDEST |
RFCDEST (OPTIONAL) |
Destination for SAP system containing the TDC |
I_WRITE_ACCESS |
ETONOFF (OPTIONAL) |
‘X’ = Open in change mode |
I_EXCEPTION_MODE |
ETONOFF DEFAULT ‘E’ |
Mode E=Raise and Exit, C=Collect and Continue, I=Ignore |
E_TDC_REF |
REF TO CL_APL_ECATT_TDC_API |
Pointer to the TDC_API object for any further access |
COMMIT CHANGES
Writes the changes in the TDC to the database and contains the following parameters:
Parameter Name |
Type |
Description |
I_TR_ORDER |
E070-TRKORR (OPTIONAL) |
Request/Task |
I_RELEASE_LOCK |
ETONOFF (OPTIONAL) |
X = Release object lock |
SET_EXCEPTION_MODE
Sets the mode of exception handling and contains the following parameters:
Parameter Name |
Type |
Description |
I_EXCEPTION_MODE |
ETONOFF |
Mode E=Raise and Exit, C=Collect and Continue, I=Ignore |
GET_EXCEPTION
Gets the last exception that occurred. Previous exceptions can be reached using the attribute ® previous.
GET_EXCEPTION contains the following parameters:
Parameter Name |
Type |
Description |
E_EXC_REF |
TYPE REF TO CX_ECATT_TDC_ACCESS |
Pointer to the last exception that occurred |
CLEAR_EXEPTION
Deletes the internal
attribute of the last exception that occurred.