SAP RHP0_USER_PARAMETERS_SET Function Module for
RHP0_USER_PARAMETERS_SET is a standard rhp0 user parameters set 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 set FM, simply by entering the name RHP0_USER_PARAMETERS_SET 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_SET 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_SET'".
EXPORTING
* TEMPORARY = 'X' "
* SET_WITH_KEY = ' ' "
* WITH_KEY = "
* SET_WITH_SHORT = ' ' "
* WITH_SHORT = "Display short text
* SET_SUBSTITUTE = ' ' "
* SUBSTITUTE = "Include Alternative Qualifications
* SET_ESSENTIAL = ' ' "
* ESSENTIAL = "Include essential requirements
* SET_HALFVALUE = ' ' "
* HALFVALUE = "Disregard depreciation meter
* SET_PLVAR = ' ' "
* SET_ORG_UNIT = ' ' "
* ORG_UNIT = "Organizational Unit
* SET_VACANT_ONLY = ' ' "
* VACANT_ONLY = "
* SET_APP_MODEL = ' ' "
* APPRAISAL_MODEL = "
* SET_APPORTYPE = ' ' "
* APPRAISOR_OTYPE = "
* SET_APPEETYPE = ' ' "
* APPRAISEE_OTYPE = "
* PLVAR = "Plan Version
* SET_SEARCH_OTYPES = ' ' "
* SET_PD_OTYPE = ' ' "
* PD_OTYPE = "
* SET_BEGDA = ' ' "
* BEGDA = "Start Date of Reporting Period
* SET_ENDDA = ' ' "
* ENDDA = "End Date of Reporting Period
TABLES
* SEARCH_OTYPES = "
IMPORTING Parameters details for RHP0_USER_PARAMETERS_SET
TEMPORARY -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SET_WITH_KEY -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_KEY -
Data type: DYNP_RHP0-WITH_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_WITH_SHORT -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_SHORT - Display short text
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
SET_SUBSTITUTE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUBSTITUTE - Include Alternative Qualifications
Data type: DYNP_RHP0-SUBSTITUTEOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_ESSENTIAL -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ESSENTIAL - Include essential requirements
Data type: DYNP_RHP0-ESSENTIALOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_HALFVALUE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
HALFVALUE - Disregard depreciation meter
Data type: DYNP_RHP0-HALFVALUEOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_PLVAR -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SET_ORG_UNIT -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORG_UNIT - Organizational Unit
Data type: DYNP_RHP0-ORG_OBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_VACANT_ONLY -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
VACANT_ONLY -
Data type: DYNP_RHP0-VACANT_ONLYOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_APP_MODEL -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISAL_MODEL -
Data type: DYNP_RHP0-APPSCHEME_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_APPORTYPE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISOR_OTYPE -
Data type: DYNP_RHP0-APPRAISOR_OTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_APPEETYPE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISEE_OTYPE -
Data type: DYNP_RHP0-APPRAISEE_OTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
PLVAR - Plan Version
Data type: DYNP_RHP0-PLVAROptional: Yes
Call by Reference: No ( called with pass by value option)
SET_SEARCH_OTYPES -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SET_PD_OTYPE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
PD_OTYPE -
Data type: DYNP_RHP0-PD_OTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_BEGDA -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
BEGDA - Start Date of Reporting Period
Data type: DYNP_RHP0-BEGDAOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_ENDDA -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENDDA - End Date of Reporting Period
Data type: DYNP_RHP0-ENDDAOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RHP0_USER_PARAMETERS_SET
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_SET 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_temporary | TYPE CHAR1, " 'X' | |||
| lt_search_otypes | TYPE STANDARD TABLE OF HROTYPE, " | |||
| lv_set_with_key | TYPE CHAR1, " ' ' | |||
| lv_with_key | TYPE DYNP_RHP0-WITH_KEY, " | |||
| lv_set_with_short | TYPE CHAR1, " ' ' | |||
| lv_with_short | TYPE CHAR1, " | |||
| lv_set_substitute | TYPE CHAR1, " ' ' | |||
| lv_substitute | TYPE DYNP_RHP0-SUBSTITUTE, " | |||
| lv_set_essential | TYPE CHAR1, " ' ' | |||
| lv_essential | TYPE DYNP_RHP0-ESSENTIAL, " | |||
| lv_set_halfvalue | TYPE CHAR1, " ' ' | |||
| lv_halfvalue | TYPE DYNP_RHP0-HALFVALUE, " | |||
| lv_set_plvar | TYPE CHAR1, " ' ' | |||
| lv_set_org_unit | TYPE CHAR1, " ' ' | |||
| lv_org_unit | TYPE DYNP_RHP0-ORG_OBJID, " | |||
| lv_set_vacant_only | TYPE CHAR1, " ' ' | |||
| lv_vacant_only | TYPE DYNP_RHP0-VACANT_ONLY, " | |||
| lv_set_app_model | TYPE CHAR1, " ' ' | |||
| lv_appraisal_model | TYPE DYNP_RHP0-APPSCHEME_ID, " | |||
| lv_set_apportype | TYPE CHAR1, " ' ' | |||
| lv_appraisor_otype | TYPE DYNP_RHP0-APPRAISOR_OTYPE, " | |||
| lv_set_appeetype | TYPE CHAR1, " ' ' | |||
| lv_appraisee_otype | TYPE DYNP_RHP0-APPRAISEE_OTYPE, " | |||
| lv_plvar | TYPE DYNP_RHP0-PLVAR, " | |||
| lv_set_search_otypes | TYPE CHAR1, " ' ' | |||
| lv_set_pd_otype | TYPE CHAR1, " ' ' | |||
| lv_pd_otype | TYPE DYNP_RHP0-PD_OTYPE, " | |||
| lv_set_begda | TYPE CHAR1, " ' ' | |||
| lv_begda | TYPE DYNP_RHP0-BEGDA, " | |||
| lv_set_endda | TYPE CHAR1, " ' ' | |||
| lv_endda | TYPE DYNP_RHP0-ENDDA. " |
|   CALL FUNCTION 'RHP0_USER_PARAMETERS_SET' " |
| EXPORTING | ||
| TEMPORARY | = lv_temporary | |
| SET_WITH_KEY | = lv_set_with_key | |
| WITH_KEY | = lv_with_key | |
| SET_WITH_SHORT | = lv_set_with_short | |
| WITH_SHORT | = lv_with_short | |
| SET_SUBSTITUTE | = lv_set_substitute | |
| SUBSTITUTE | = lv_substitute | |
| SET_ESSENTIAL | = lv_set_essential | |
| ESSENTIAL | = lv_essential | |
| SET_HALFVALUE | = lv_set_halfvalue | |
| HALFVALUE | = lv_halfvalue | |
| SET_PLVAR | = lv_set_plvar | |
| SET_ORG_UNIT | = lv_set_org_unit | |
| ORG_UNIT | = lv_org_unit | |
| SET_VACANT_ONLY | = lv_set_vacant_only | |
| VACANT_ONLY | = lv_vacant_only | |
| SET_APP_MODEL | = lv_set_app_model | |
| APPRAISAL_MODEL | = lv_appraisal_model | |
| SET_APPORTYPE | = lv_set_apportype | |
| APPRAISOR_OTYPE | = lv_appraisor_otype | |
| SET_APPEETYPE | = lv_set_appeetype | |
| APPRAISEE_OTYPE | = lv_appraisee_otype | |
| PLVAR | = lv_plvar | |
| SET_SEARCH_OTYPES | = lv_set_search_otypes | |
| SET_PD_OTYPE | = lv_set_pd_otype | |
| PD_OTYPE | = lv_pd_otype | |
| SET_BEGDA | = lv_set_begda | |
| BEGDA | = lv_begda | |
| SET_ENDDA | = lv_set_endda | |
| ENDDA | = lv_endda | |
| TABLES | ||
| SEARCH_OTYPES | = lt_search_otypes | |
| . " RHP0_USER_PARAMETERS_SET | ||
ABAP code using 7.40 inline data declarations to call FM RHP0_USER_PARAMETERS_SET
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.| DATA(ld_temporary) | = 'X'. | |||
| DATA(ld_set_with_key) | = ' '. | |||
| "SELECT single WITH_KEY FROM DYNP_RHP0 INTO @DATA(ld_with_key). | ||||
| DATA(ld_set_with_short) | = ' '. | |||
| DATA(ld_set_substitute) | = ' '. | |||
| "SELECT single SUBSTITUTE FROM DYNP_RHP0 INTO @DATA(ld_substitute). | ||||
| DATA(ld_set_essential) | = ' '. | |||
| "SELECT single ESSENTIAL FROM DYNP_RHP0 INTO @DATA(ld_essential). | ||||
| DATA(ld_set_halfvalue) | = ' '. | |||
| "SELECT single HALFVALUE FROM DYNP_RHP0 INTO @DATA(ld_halfvalue). | ||||
| DATA(ld_set_plvar) | = ' '. | |||
| DATA(ld_set_org_unit) | = ' '. | |||
| "SELECT single ORG_OBJID FROM DYNP_RHP0 INTO @DATA(ld_org_unit). | ||||
| DATA(ld_set_vacant_only) | = ' '. | |||
| "SELECT single VACANT_ONLY FROM DYNP_RHP0 INTO @DATA(ld_vacant_only). | ||||
| DATA(ld_set_app_model) | = ' '. | |||
| "SELECT single APPSCHEME_ID FROM DYNP_RHP0 INTO @DATA(ld_appraisal_model). | ||||
| DATA(ld_set_apportype) | = ' '. | |||
| "SELECT single APPRAISOR_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_appraisor_otype). | ||||
| DATA(ld_set_appeetype) | = ' '. | |||
| "SELECT single APPRAISEE_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_appraisee_otype). | ||||
| "SELECT single PLVAR FROM DYNP_RHP0 INTO @DATA(ld_plvar). | ||||
| DATA(ld_set_search_otypes) | = ' '. | |||
| DATA(ld_set_pd_otype) | = ' '. | |||
| "SELECT single PD_OTYPE FROM DYNP_RHP0 INTO @DATA(ld_pd_otype). | ||||
| DATA(ld_set_begda) | = ' '. | |||
| "SELECT single BEGDA FROM DYNP_RHP0 INTO @DATA(ld_begda). | ||||
| DATA(ld_set_endda) | = ' '. | |||
| "SELECT single ENDDA FROM DYNP_RHP0 INTO @DATA(ld_endda). | ||||
Search for further information about these or an SAP related objects