SAP RHP0_USER_PARAMETERS_GET Function Module for
RHP0_USER_PARAMETERS_GET is a standard rhp0 user parameters get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rhp0 user parameters get FM, simply by entering the name RHP0_USER_PARAMETERS_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHP0
Program Name: SAPLRHP0
Main Program: SAPLRHP0
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RHP0_USER_PARAMETERS_GET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RHP0_USER_PARAMETERS_GET'".
EXPORTING
* FILL_IF_INITIAL = ' ' "
* TEMPORARY = 'X' "
IMPORTING
PLVAR = "Plan Version
ORG_UNIT = "Organizational Unit
VACANT_ONLY = "
APPRAISAL_MODEL = "
APPRAISOR_OTYPE = "
APPRAISEE_OTYPE = "
PD_OTYPE = "Object type
BEGDA = "Start Date of Reporting Period
ENDDA = "End Date of Reporting Period
WITH_KEY = "
WITH_SHORT = "
SUBSTITUTE = "Include Alternative Qualifications
ESSENTIAL = "Include essential requirements
HALFVALUE = "Disregard depreciation meter
TABLES
* SEARCH_OTYPES = "
IMPORTING Parameters details for RHP0_USER_PARAMETERS_GET
FILL_IF_INITIAL -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TEMPORARY -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RHP0_USER_PARAMETERS_GET
PLVAR - Plan Version
Data type: DYNP_RHP0-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
ORG_UNIT - Organizational Unit
Data type: DYNP_RHP0-ORG_OBJIDOptional: No
Call by Reference: No ( called with pass by value option)
VACANT_ONLY -
Data type: DYNP_RHP0-VACANT_ONLYOptional: No
Call by Reference: No ( called with pass by value option)
APPRAISAL_MODEL -
Data type: DYNP_RHP0-APPSCHEME_IDOptional: No
Call by Reference: No ( called with pass by value option)
APPRAISOR_OTYPE -
Data type: DYNP_RHP0-APPRAISOR_OTYPEOptional: No
Call by Reference: No ( called with pass by value option)
APPRAISEE_OTYPE -
Data type: DYNP_RHP0-APPRAISEE_OTYPEOptional: No
Call by Reference: No ( called with pass by value option)
PD_OTYPE - Object type
Data type: DYNP_RHP0-PD_OTYPEOptional: No
Call by Reference: No ( called with pass by value option)
BEGDA - Start Date of Reporting Period
Data type: DYNP_RHP0-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
ENDDA - End Date of Reporting Period
Data type: DYNP_RHP0-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
WITH_KEY -
Data type: DYNP_RHP0-WITH_KEYOptional: No
Call by Reference: No ( called with pass by value option)
WITH_SHORT -
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
SUBSTITUTE - Include Alternative Qualifications
Data type: DYNP_RHP0-SUBSTITUTEOptional: No
Call by Reference: No ( called with pass by value option)
ESSENTIAL - Include essential requirements
Data type: DYNP_RHP0-ESSENTIALOptional: No
Call by Reference: No ( called with pass by value option)
HALFVALUE - Disregard depreciation meter
Data type: DYNP_RHP0-HALFVALUEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RHP0_USER_PARAMETERS_GET
SEARCH_OTYPES -
Data type: HROTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RHP0_USER_PARAMETERS_GET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_plvar | TYPE DYNP_RHP0-PLVAR, " | |||
| lt_search_otypes | TYPE STANDARD TABLE OF HROTYPE, " | |||
| lv_fill_if_initial | TYPE CHAR1, " ' ' | |||
| lv_org_unit | TYPE DYNP_RHP0-ORG_OBJID, " | |||
| lv_vacant_only | TYPE DYNP_RHP0-VACANT_ONLY, " | |||
| lv_appraisal_model | TYPE DYNP_RHP0-APPSCHEME_ID, " | |||
| lv_appraisor_otype | TYPE DYNP_RHP0-APPRAISOR_OTYPE, " | |||
| lv_appraisee_otype | TYPE DYNP_RHP0-APPRAISEE_OTYPE, " | |||
| lv_pd_otype | TYPE DYNP_RHP0-PD_OTYPE, " | |||
| lv_temporary | TYPE CHAR1, " 'X' | |||
| lv_begda | TYPE DYNP_RHP0-BEGDA, " | |||
| lv_endda | TYPE DYNP_RHP0-ENDDA, " | |||
| lv_with_key | TYPE DYNP_RHP0-WITH_KEY, " | |||
| lv_with_short | TYPE CHAR1, " | |||
| lv_substitute | TYPE DYNP_RHP0-SUBSTITUTE, " | |||
| lv_essential | TYPE DYNP_RHP0-ESSENTIAL, " | |||
| lv_halfvalue | TYPE DYNP_RHP0-HALFVALUE. " |
|   CALL FUNCTION 'RHP0_USER_PARAMETERS_GET' " |
| EXPORTING | ||
| FILL_IF_INITIAL | = lv_fill_if_initial | |
| TEMPORARY | = lv_temporary | |
| IMPORTING | ||
| PLVAR | = lv_plvar | |
| ORG_UNIT | = lv_org_unit | |
| VACANT_ONLY | = lv_vacant_only | |
| APPRAISAL_MODEL | = lv_appraisal_model | |
| APPRAISOR_OTYPE | = lv_appraisor_otype | |
| APPRAISEE_OTYPE | = lv_appraisee_otype | |
| PD_OTYPE | = lv_pd_otype | |
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| WITH_KEY | = lv_with_key | |
| WITH_SHORT | = lv_with_short | |
| SUBSTITUTE | = lv_substitute | |
| ESSENTIAL | = lv_essential | |
| HALFVALUE | = lv_halfvalue | |
| TABLES | ||
| SEARCH_OTYPES | = lt_search_otypes | |
| . " RHP0_USER_PARAMETERS_GET | ||
ABAP code using 7.40 inline data declarations to call FM RHP0_USER_PARAMETERS_GET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PLVAR FROM DYNP_RHP0 INTO @DATA(ld_plvar). | ||||
| DATA(ld_fill_if_initial) | = ' '. | |||
| "SELECT single ORG_OBJID FROM DYNP_RHP0 INTO @DATA(ld_org_unit). | ||||
| "SELECT single VACANT_ONLY FROM DYNP_RHP0 INTO @DATA(ld_vacant_only). | ||||
| "SELECT single APPSCHEME_ID FROM DYNP_RHP0 INTO @DATA(ld_appraisal_model). | ||||
| "SELECT single APPRAISOR_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_appraisor_otype). | ||||
| "SELECT single APPRAISEE_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_appraisee_otype). | ||||
| "SELECT single PD_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_pd_otype). | ||||
| DATA(ld_temporary) | = 'X'. | |||
| "SELECT single BEGDA FROM DYNP_RHP0 INTO @DATA(ld_begda). | ||||
| "SELECT single ENDDA FROM DYNP_RHP0 INTO @DATA(ld_endda). | ||||
| "SELECT single WITH_KEY FROM DYNP_RHP0 INTO @DATA(ld_with_key). | ||||
| "SELECT single SUBSTITUTE FROM DYNP_RHP0 INTO @DATA(ld_substitute). | ||||
| "SELECT single ESSENTIAL FROM DYNP_RHP0 INTO @DATA(ld_essential). | ||||
| "SELECT single HALFVALUE FROM DYNP_RHP0 INTO @DATA(ld_halfvalue). | ||||
Search for further information about these or an SAP related objects