GET_TEST_DATA SAP Method Get Test Data
Below is documentation, parameters and attributes of ABAP Method GET_TEST_DATA within SAP class CL_SALV_BS_TEST_DATA. 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_SALV_BS_TEST_DATA 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 directlyThe following technical details of method GET_TEST_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_TEST_DATA
.Name | Type | Data Type | Description | Default Value |
PACKAGENR | Importing | TYPE CHAR2 | Version Number Components | |
DATAREF | Exporting | TYPE REF TO DATA | ||
PACKAGEDESCR | Exporting | TYPE STRING | ||
TESTDATA | Exporting | TYPE TABLE | ||
TTYPE | Exporting | TYPE STRING |
Exceptions of Method GET_TEST_DATA
CX_SALV_BS_SERVICE_AUNIT - AUNIT ExceptionExample ABAP coding
DATA: lv_DATAREF TYPE DATA,
lv_PACKAGEDESCR TYPE STRING,
lv_PACKAGENR TYPE CHAR2,
lv_TESTDATA TYPE TABLE,
lv_TTYPE TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_SALV_BS_TEST_DATA=>GET_TEST_DATA(
EXPORTING
PACKAGENR = lv_PACKAGENR
IMPORTING
DATAREF = lv_DATAREF
PACKAGEDESCR = lv_PACKAGEDESCR
TESTDATA = lv_TESTDATA
TTYPE = lv_TTYPE ).
Links to Related Class(s)
CL_SALV_...Full list of available SAP object classes
Search for further information about these or an SAP related objects