CHECK_FOR_REMOTE_COLLECTORS SAP Method Check if there are remote collectors assigned to this Purpos









Below is documentation, parameters and attributes of ABAP Method CHECK_FOR_REMOTE_COLLECTORS within SAP class DTINF_IF_DATA_COLLECTOR. 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 DTINF_IF_DATA_COLLECTOR 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 CHECK_FOR_REMOTE_COLLECTORS can also be found below:

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


Parameters of Method CHECK_FOR_REMOTE_COLLECTORS

.

NameTypeData TypeDescriptionDefault Value
IV_PURPOSEImportingTYPE
DTINF_PURPOSE
Purpose
ET_COLLECTORSExportingTYPE
DTINF_TT_REG_COLLTR
Table type for register collector
EV_COLLECTOR_ONLYExportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)



Exceptions of Method CHECK_FOR_REMOTE_COLLECTORS

DTINF_CX_COLLECTION_ERROR - Error during the data collection process

Example ABAP coding


DATA: lo_class TYPE REF TO DTINF_IF_DATA_COLLECTOR.
DATA: lv_ET_COLLECTORS TYPE DTINF_TT_REG_COLLTR,
lv_EV_COLLECTOR_ONLY TYPE BOOLEAN,
lv_IV_PURPOSE TYPE DTINF_PURPOSE,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK_FOR_REMOTE_COLLECTORS(
EXPORTING
IV_PURPOSE = lv_IV_PURPOSE
IMPORTING
ET_COLLECTORS = lv_ET_COLLECTORS
EV_COLLECTOR_ONLY = lv_EV_COLLECTOR_ONLY ).

Links to Related Class(s)

DTINF_IF...
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!