GET_RESOURCE_DATA SAP Method Expand Search Result with Resource Data









Below is documentation, parameters and attributes of ABAP Method GET_RESOURCE_DATA 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 GET_RESOURCE_DATA can also be found below:

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


Parameters of Method GET_RESOURCE_DATA

.

NameTypeData TypeDescriptionDefault Value
IS_GENERAL_SELImportingTYPE
DPR_TS_RES_SRCH_GEN_SEL
Criteria with General Data for a Resource Search
IT_NW_AVAILABILITYImportingTYPE
DPR_TT_AVAILABLE_BUPA
Available BuPas for Target Capacity
IT_SEARCHRESULTImportingTYPE
PRP_TT_RESOURCE_SELECTION
List with Business Partners
IV_NEW_SEARCHImportingTYPE
BOOLE_D
New Search Triggered
IV_TIME_UNITImportingTYPE
MEINS
Time Unit for Result
IV_WFM_CONNECTIONImportingTYPE
BOOLE_D
'X': WFM Connection Exists
IT_SEARCH_UPDImportingTYPE
BU_PARTNER_GUID_T
List with updated Business Partners
ET_RESOURCE_DATAExportingTYPE
PRP_TT_STAFFING_SEARCH_RESULT
Result of Resource Search in PRP Application
EV_PERCENTAGE_FLAGExportingTYPE
FLAG
'X' => Availability Result as a Percentage



Exceptions of Method GET_RESOURCE_DATA

This method does not have any exceptions

Example 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_RESOURCE_DATA TYPE PRP_TT_STAFFING_SEARCH_RESULT,
lv_EV_PERCENTAGE_FLAG TYPE FLAG,
lv_IS_GENERAL_SEL TYPE DPR_TS_RES_SRCH_GEN_SEL,
lv_IT_NW_AVAILABILITY TYPE DPR_TT_AVAILABLE_BUPA,
lv_IT_SEARCHRESULT TYPE PRP_TT_RESOURCE_SELECTION,
lv_IV_NEW_SEARCH TYPE BOOLE_D,
lv_IV_TIME_UNIT TYPE MEINS,
lv_IV_WFM_CONNECTION TYPE BOOLE_D,
lv_IT_SEARCH_UPD TYPE BU_PARTNER_GUID_T,
lv_other TYPE c.

CALL METHOD lo_class=>GET_RESOURCE_DATA(
EXPORTING
IS_GENERAL_SEL = lv_IS_GENERAL_SEL
IT_NW_AVAILABILITY = lv_IT_NW_AVAILABILITY
IT_SEARCHRESULT = lv_IT_SEARCHRESULT
IV_NEW_SEARCH = lv_IV_NEW_SEARCH
IV_TIME_UNIT = lv_IV_TIME_UNIT
IV_WFM_CONNECTION = lv_IV_WFM_CONNECTION
IT_SEARCH_UPD = lv_IT_SEARCH_UPD
IMPORTING
ET_RESOURCE_DATA = lv_ET_RESOURCE_DATA
EV_PERCENTAGE_FLAG = lv_EV_PERCENTAGE_FLAG ).

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



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!