SET_FILTER SAP Method Sets Filter Criteria for IDocs









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

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


Parameters of Method SET_FILTER

.

NameTypeData TypeDescriptionDefault Value
FILTER_CREDATImportingTYPE
BDRG_DAT_TAB
Date Filter
FILTER_CRETIMImportingTYPE
BDRG_TIM_TAB
Time Filter
FILTER_DOCNUMImportingTYPE
BDRG_DOC_TAB
Filter for Doc.Number
FILTER_MESTYPImportingTYPE
BDRG_MES_TAB
Filter for Message Type
FILTER_OBJKEYImportingTYPE
BDRG_OKY_TAB
Filter for Object Key
FILTER_OBJTYPImportingTYPE
BDRG_OBJ_TAB
Filter for Object Type
FILTER_PARTNERImportingTYPE
BDRG_PAR_TAB
Filter for Partner
FILTER_STATUSImportingTYPE
BDRG_STA_TAB
Filter for Status
FILTER_UPDDATImportingTYPE
BDRG_DAT_TAB
Date Filter
FILTER_UPDTIMImportingTYPE
BDRG_TIM_TAB
Time Filter



Exceptions of Method SET_FILTER

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO BDMT_CONTROL.
DATA: lv_FILTER_CREDAT TYPE BDRG_DAT_TAB,
lv_FILTER_CRETIM TYPE BDRG_TIM_TAB,
lv_FILTER_DOCNUM TYPE BDRG_DOC_TAB,
lv_FILTER_MESTYP TYPE BDRG_MES_TAB,
lv_FILTER_OBJKEY TYPE BDRG_OKY_TAB,
lv_FILTER_OBJTYP TYPE BDRG_OBJ_TAB,
lv_FILTER_PARTNER TYPE BDRG_PAR_TAB,
lv_FILTER_STATUS TYPE BDRG_STA_TAB,
lv_FILTER_UPDDAT TYPE BDRG_DAT_TAB,
lv_FILTER_UPDTIM TYPE BDRG_TIM_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>SET_FILTER(
EXPORTING
FILTER_CREDAT = lv_FILTER_CREDAT
FILTER_CRETIM = lv_FILTER_CRETIM
FILTER_DOCNUM = lv_FILTER_DOCNUM
FILTER_MESTYP = lv_FILTER_MESTYP
FILTER_OBJKEY = lv_FILTER_OBJKEY
FILTER_OBJTYP = lv_FILTER_OBJTYP
FILTER_PARTNER = lv_FILTER_PARTNER
FILTER_STATUS = lv_FILTER_STATUS
FILTER_UPDDAT = lv_FILTER_UPDDAT
FILTER_UPDTIM = lv_FILTER_UPDTIM ).

Links to Related Class(s)

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