SEARCH SAP Method Resource Search (New)
Below is documentation, parameters and attributes of ABAP Method SEARCH within SAP class CL_DPR_UI_LOG_RES_SEARCH. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_DPR_UI_LOG_RES_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 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 |
| IS_AVAIL_SEL | Importing | TYPE DPR_TS_UI_RES_SRCH_AVAIL | Criteria with Availability Data for Resource Search | |
| IS_GEN_SEL | Importing | TYPE DPR_TS_RES_SRCH_GEN_SEL | Criteria with General Data for a Resource Search | |
| IS_RULE_EXP | Importing | TYPE SCRULE_EXP | Structure of Rule Tables | |
| IS_SMPL_SEL | Importing | TYPE DPR_TS_UI_RES_SRCH_SMPL | Criteria of a Simple Resource Search | |
| IT_ORG_SEL | Importing | TYPE HRTB_OBJECT | HR: List of Objects (Without Plan Versions) | |
| IT_SKILL_SEL | Importing | TYPE PRP_TT_SKILL_PROFICIENCY_SEL | Table Type for Qualifications with Proficiency | |
| IV_PARTICIPANT_GUID | Importing | TYPE DPR_TV_OBJECT_GUID_CHAR | GUID of an Active Role | |
| IV_SEARCH_TYPE | Importing | TYPE DPR_UI_RES_SEARCH_TYPES | Type of Resource Search | |
| ET_NW_AVAILABILITY | Exporting | TYPE DPR_TT_AVAILABLE_BUPA | Availability Data Without WFM | |
| ET_SEARCHRESULT | Exporting | TYPE PRP_TT_RESOURCE_SELECTION | List with Business Partners | |
| ET_SEARCHRESULTS_SMPL | Exporting | TYPE PRP_TT_RESOURCE_FINDER_RESULTS | Results Table of PRP Resource Finder | |
| EV_SEARCH_BEGIN_DATE | Exporting | TYPE DATUM | Start Date of Last Search | |
| EV_SEARCH_END_DATE | Exporting | TYPE DATUM | Finish Date of Last Search |
Exceptions of Method SEARCH
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO CL_DPR_UI_LOG_RES_SEARCH.
DATA: lv_ET_NW_AVAILABILITY TYPE DPR_TT_AVAILABLE_BUPA,
lv_ET_SEARCHRESULT TYPE PRP_TT_RESOURCE_SELECTION,
lv_ET_SEARCHRESULTS_SMPL TYPE PRP_TT_RESOURCE_FINDER_RESULTS,
lv_EV_SEARCH_BEGIN_DATE TYPE DATUM,
lv_EV_SEARCH_END_DATE TYPE DATUM,
lv_IS_AVAIL_SEL TYPE DPR_TS_UI_RES_SRCH_AVAIL,
lv_IS_GEN_SEL TYPE DPR_TS_RES_SRCH_GEN_SEL,
lv_IS_RULE_EXP TYPE SCRULE_EXP,
lv_IS_SMPL_SEL TYPE DPR_TS_UI_RES_SRCH_SMPL,
lv_IT_ORG_SEL TYPE HRTB_OBJECT,
lv_IT_SKILL_SEL TYPE PRP_TT_SKILL_PROFICIENCY_SEL,
lv_IV_PARTICIPANT_GUID TYPE DPR_TV_OBJECT_GUID_CHAR,
lv_IV_SEARCH_TYPE TYPE DPR_UI_RES_SEARCH_TYPES,
lv_other TYPE c.
CALL METHOD lo_class=>SEARCH(
EXPORTING
IS_AVAIL_SEL = lv_IS_AVAIL_SEL
IS_GEN_SEL = lv_IS_GEN_SEL
IS_RULE_EXP = lv_IS_RULE_EXP
IS_SMPL_SEL = lv_IS_SMPL_SEL
IT_ORG_SEL = lv_IT_ORG_SEL
IT_SKILL_SEL = lv_IT_SKILL_SEL
IV_PARTICIPANT_GUID = lv_IV_PARTICIPANT_GUID
IV_SEARCH_TYPE = lv_IV_SEARCH_TYPE
IMPORTING
ET_NW_AVAILABILITY = lv_ET_NW_AVAILABILITY
ET_SEARCHRESULT = lv_ET_SEARCHRESULT
ET_SEARCHRESULTS_SMPL = lv_ET_SEARCHRESULTS_SMPL
EV_SEARCH_BEGIN_DATE = lv_EV_SEARCH_BEGIN_DATE
EV_SEARCH_END_DATE = lv_EV_SEARCH_END_DATE ).
Links to Related Class(s)
CL_DPR_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects