SEARCH_PP SAP Method Search Reuse Active Area
Below is documentation, parameters and attributes of ABAP Method SEARCH_PP within SAP class IF_BADI_SDQ_PP_SEARCH. 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 IF_BADI_SDQ_PP_SEARCH 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 SEARCH_PP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SEARCH_PP
.| Name | Type | Data Type | Description | Default Value |
| ID_SEARCH_STRING | Importing | TYPE STRING | Search Parameter for Unrestricted Search | |
| IF_FUZZY_SEARCH | Importing | TYPE USMD_FLG | Fuzzy Search Enabled | |
| IR_DATA_TABLE_REF | Importing | TYPE REF TO DATA | Internal Table | |
| IT_SEARCH_ATTRIBUTES | Importing | TYPE USMD_TS_SEL | Search Criteria | |
| IT_TAB_SEARCH_ATTRIBUTE | Importing | TYPE TT_USMD_TS_SEL | Tabellenart von USMD_TS_SEL | |
| IV_DATA_MODEL | Importing | TYPE USMD_MODEL | MDM Data Model for Access from Non-SAP-Standard Code | |
| IV_ENTITY | Importing | TYPE USMD_ENTITY | Entity Type | |
| IV_LOWER_PAGE_LIMIT | Importing | TYPE INT4 | Natural Number | |
| IV_MAX_NUM_RECORDS | Importing | TYPE INT4 | Natural Number | |
| IV_SEARCH_MODE | Importing | TYPE USMD_SEARCH_MODE | Search Mode (#ES# in Case of Enterprise Search) | |
| IV_THRESHOLD | Importing | TYPE USMD_THRESHOLD | Percentage: Threshold for Duplicate Check in BAPI | |
| IV_UPDATE_MODE | Importing | TYPE USMD_UPDATE_MODE | Duplicate Check Method Call Mode | |
| ET_MESSAGE | Exporting | TYPE USMD_T_MESSAGE | Messages |
Exceptions of Method SEARCH_PP
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_BADI_SDQ_PP_SEARCH.
DATA: lv_ET_MESSAGE TYPE USMD_T_MESSAGE,
lv_ID_SEARCH_STRING TYPE STRING,
lv_IF_FUZZY_SEARCH TYPE USMD_FLG,
lv_IR_DATA_TABLE_REF TYPE DATA,
lv_IT_SEARCH_ATTRIBUTES TYPE USMD_TS_SEL,
lv_IT_TAB_SEARCH_ATTRIBUTE TYPE TT_USMD_TS_SEL,
lv_IV_DATA_MODEL TYPE USMD_MODEL,
lv_IV_ENTITY TYPE USMD_ENTITY,
lv_IV_LOWER_PAGE_LIMIT TYPE INT4,
lv_IV_MAX_NUM_RECORDS TYPE INT4,
lv_IV_SEARCH_MODE TYPE USMD_SEARCH_MODE,
lv_IV_THRESHOLD TYPE USMD_THRESHOLD,
lv_IV_UPDATE_MODE TYPE USMD_UPDATE_MODE,
lv_other TYPE c.
CALL METHOD lo_class=>SEARCH_PP(
EXPORTING
ID_SEARCH_STRING = lv_ID_SEARCH_STRING
IF_FUZZY_SEARCH = lv_IF_FUZZY_SEARCH
IR_DATA_TABLE_REF = lv_IR_DATA_TABLE_REF
IT_SEARCH_ATTRIBUTES = lv_IT_SEARCH_ATTRIBUTES
IT_TAB_SEARCH_ATTRIBUTE = lv_IT_TAB_SEARCH_ATTRIBUTE
IV_DATA_MODEL = lv_IV_DATA_MODEL
IV_ENTITY = lv_IV_ENTITY
IV_LOWER_PAGE_LIMIT = lv_IV_LOWER_PAGE_LIMIT
IV_MAX_NUM_RECORDS = lv_IV_MAX_NUM_RECORDS
IV_SEARCH_MODE = lv_IV_SEARCH_MODE
IV_THRESHOLD = lv_IV_THRESHOLD
IV_UPDATE_MODE = lv_IV_UPDATE_MODE
IMPORTING
ET_MESSAGE = lv_ET_MESSAGE ).
Links to Related Class(s)
IF_BADI_...Full list of available SAP object classes
Search for further information about these or an SAP related objects