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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
PACKAGENRImportingTYPE
CHAR2
Version Number Components
DATAREFExportingTYPE REF TO
DATA
PACKAGEDESCRExportingTYPE
STRING
TESTDATAExportingTYPE
TABLE
TTYPEExportingTYPE
STRING



Exceptions of Method GET_TEST_DATA

CX_SALV_BS_SERVICE_AUNIT - AUNIT Exception

Example 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



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!