SEARCH SAP Method Searches for Documents
Below is documentation, parameters and attributes of ABAP Method SEARCH within SAP class /SCMB/CL_DF_DOCUMENT. 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 /SCMB/CL_DF_DOCUMENT 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 SEARCH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SEARCH
.| Name | Type | Data Type | Description | Default Value |
| IT_CRITERIA | Importing | TYPE /SCMB/DF_DOCUMENT_CRITERIA_TBL | Document Flow: Criteria for Document Selection | |
| IV_CATEGORY | Importing | TYPE /SCMB/DF_CATEGORY | Document Flow: Document Category | |
| ET_DOC | Exporting | TYPE /SCMB/DF_DOC_TBL | Document Flow: Document References | |
| ET_DOC_KEY | Exporting | TYPE /SCMB/DF_DOC_KEY_TBL | Document Flow: Document Keys |
Exceptions of Method SEARCH
/SCMB/CX_DF_DOCUMENT - Document Flow: Document ErrorExample ABAP coding
DATA: lv_ET_DOC TYPE /SCMB/DF_DOC_TBL,
lv_ET_DOC_KEY TYPE /SCMB/DF_DOC_KEY_TBL,
lv_IT_CRITERIA TYPE /SCMB/DF_DOCUMENT_CRITERIA_TBL,
lv_IV_CATEGORY TYPE /SCMB/DF_CATEGORY,
lv_other TYPE c.
CALL METHOD /SCMB/CL_DF_DOCUMENT=>SEARCH(
EXPORTING
IT_CRITERIA = lv_IT_CRITERIA
IV_CATEGORY = lv_IV_CATEGORY
IMPORTING
ET_DOC = lv_ET_DOC
ET_DOC_KEY = lv_ET_DOC_KEY ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects