GET_LIST SAP Method Returns a List of CompositeProviders from search criteria
Below is documentation, parameters and attributes of ABAP Method GET_LIST within SAP class CL_HCPR_PLANNING_API. 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 CL_HCPR_PLANNING_API 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 GET_LIST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_LIST
.| Name | Type | Data Type | Description | Default Value |
| I_OBJVERS | Importing | TYPE RSOBJVERS | Object version | |
| I_RESULT_SIZE | Importing | TYPE IF_RSOS_SEARCH=>TN_RESULT_TO | ||
| I_SEARCH_TERM | Importing | TYPE STRING | ||
| I_T_DYN_WHERE | Importing | TYPE CL_RSOS_SEARCH=>TN_T_DYNAMIC_WHERE | ||
| I_WITH_AUTHORITY_CHECK | Importing | TYPE RS_BOOL | Boolean | |
| E_R_RESULT | Exporting | TYPE REF TO DATA | ||
| E_T_HCPRX | Exporting | TYPE RSO_T_HCPRX | HanaCompositeProvider (Technical Enhancements) | |
| E_T_MSG | Exporting | TYPE RS_T_MSG | BW: Table with Messages (Application Log) |
Exceptions of Method GET_LIST
This method does not have any exceptionsExample ABAP coding
DATA: lv_E_R_RESULT TYPE DATA,
lv_E_T_HCPRX TYPE RSO_T_HCPRX,
lv_E_T_MSG TYPE RS_T_MSG,
lv_I_OBJVERS TYPE RSOBJVERS,
lv_I_RESULT_SIZE TYPE IF_RSOS_SEARCH=>TN_RESULT_TO,
lv_I_SEARCH_TERM TYPE STRING,
lv_I_T_DYN_WHERE TYPE CL_RSOS_SEARCH=>TN_T_DYNAMIC_WHERE,
lv_I_WITH_AUTHORITY_CHECK TYPE RS_BOOL,
lv_other TYPE c.
CALL METHOD CL_HCPR_PLANNING_API=>GET_LIST(
EXPORTING
I_OBJVERS = lv_I_OBJVERS
I_RESULT_SIZE = lv_I_RESULT_SIZE
I_SEARCH_TERM = lv_I_SEARCH_TERM
I_T_DYN_WHERE = lv_I_T_DYN_WHERE
I_WITH_AUTHORITY_CHECK = lv_I_WITH_AUTHORITY_CHECK
IMPORTING
E_R_RESULT = lv_E_R_RESULT
E_T_HCPRX = lv_E_T_HCPRX
E_T_MSG = lv_E_T_MSG ).
Links to Related Class(s)
CL_HCPR_...Full list of available SAP object classes
Search for further information about these or an SAP related objects