SAP RH_USER_VIEW_PARAMETER Function Module for View Parameters According to User Input (With Possible Change)









RH_USER_VIEW_PARAMETER is a standard rh user view parameter SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for View Parameters According to User Input (With Possible Change) processing and below is the pattern details for this FM, 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 rh user view parameter FM, simply by entering the name RH_USER_VIEW_PARAMETER into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHWH
Program Name: SAPLRHWH
Main Program: SAPLRHWH
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_USER_VIEW_PARAMETER 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 'RH_USER_VIEW_PARAMETER'"View Parameters According to User Input (With Possible Change)
EXPORTING
* CHANGE_OBJECT_KEY = "
* CHANGE_ADD_INFO = "
* READ_MEMORY = "
* CHANGE_SHORT = "
* CHANGE_OBJECT_DATE = "
* CHANGE_RELATION_DATE = "
* CHANGE_ISTAT = "
* CHANGE_RELATION_ISTAT = "
* CHANGE_PERCENT = "
* CHANGE_CUST_TASK_CATA = "
* CHANGE_RELATION_TEXT = "

IMPORTING
OBJECT_KEY = "
ADD_INFO = "
OBJECT_KEY_FTEXT = "
SHORT_FTEXT = "
OBJECT_DATE_FTEXT = "
RELATION_DATE_FTEXT = "
ISTAT_FTEXT = "
RELATION_ISTAT_FTEXT = "
PERCENT_FTEXT = "
CUST_TASK_CATA_FTEXT = "
RELATION_TEXT_FTEXT = "
SHORT = "
OBJECT_KEY_TITLE = "
SHORT_TITLE = "
OBJECT_DATE_TITLE = "
RELATION_DATE_TITLE = "
ISTAT_TITLE = "
RELATION_ISTAT_TITLE = "
PERCENT_TITLE = "
CUST_TASK_CATA_TITLE = "
RELATION_TEXT_TITLE = "
OBJECT_DATE = "
RELATION_DATE = "
ISTAT = "
RELATION_ISTAT = "
PERCENT = "
CUST_TASK_CATA = "
RELATION_TEXT = "
.



IMPORTING Parameters details for RH_USER_VIEW_PARAMETER

CHANGE_OBJECT_KEY -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_ADD_INFO -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

READ_MEMORY -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_SHORT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_OBJECT_DATE -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_RELATION_DATE -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_ISTAT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_RELATION_ISTAT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_PERCENT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_CUST_TASK_CATA -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGE_RELATION_TEXT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RH_USER_VIEW_PARAMETER

OBJECT_KEY -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

ADD_INFO -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_KEY_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

SHORT_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_DATE_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_DATE_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

ISTAT_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_ISTAT_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

PERCENT_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

CUST_TASK_CATA_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_TEXT_FTEXT -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

SHORT -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_KEY_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

SHORT_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_DATE_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_DATE_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

ISTAT_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_ISTAT_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

PERCENT_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

CUST_TASK_CATA_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_TEXT_TITLE -

Data type: T77FD-FTEXT
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_DATE -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_DATE -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

ISTAT -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_ISTAT -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

PERCENT -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

CUST_TASK_CATA -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

RELATION_TEXT -

Data type: C
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RH_USER_VIEW_PARAMETER 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_object_key  TYPE C, "   
lv_change_object_key  TYPE C, "   
lv_add_info  TYPE C, "   
lv_change_add_info  TYPE C, "   
lv_read_memory  TYPE C, "   
lv_object_key_ftext  TYPE T77FD-FTEXT, "   
lv_short_ftext  TYPE T77FD-FTEXT, "   
lv_object_date_ftext  TYPE T77FD-FTEXT, "   
lv_relation_date_ftext  TYPE T77FD-FTEXT, "   
lv_istat_ftext  TYPE T77FD-FTEXT, "   
lv_relation_istat_ftext  TYPE T77FD-FTEXT, "   
lv_percent_ftext  TYPE T77FD-FTEXT, "   
lv_cust_task_cata_ftext  TYPE T77FD-FTEXT, "   
lv_relation_text_ftext  TYPE T77FD-FTEXT, "   
lv_short  TYPE C, "   
lv_change_short  TYPE C, "   
lv_object_key_title  TYPE T77FD-FTEXT, "   
lv_short_title  TYPE T77FD-FTEXT, "   
lv_object_date_title  TYPE T77FD-FTEXT, "   
lv_relation_date_title  TYPE T77FD-FTEXT, "   
lv_istat_title  TYPE T77FD-FTEXT, "   
lv_relation_istat_title  TYPE T77FD-FTEXT, "   
lv_percent_title  TYPE T77FD-FTEXT, "   
lv_cust_task_cata_title  TYPE T77FD-FTEXT, "   
lv_relation_text_title  TYPE T77FD-FTEXT, "   
lv_object_date  TYPE C, "   
lv_change_object_date  TYPE C, "   
lv_relation_date  TYPE C, "   
lv_change_relation_date  TYPE C, "   
lv_istat  TYPE C, "   
lv_change_istat  TYPE C, "   
lv_relation_istat  TYPE C, "   
lv_change_relation_istat  TYPE C, "   
lv_percent  TYPE C, "   
lv_change_percent  TYPE C, "   
lv_cust_task_cata  TYPE C, "   
lv_change_cust_task_cata  TYPE C, "   
lv_relation_text  TYPE C, "   
lv_change_relation_text  TYPE C. "   

  CALL FUNCTION 'RH_USER_VIEW_PARAMETER'  "View Parameters According to User Input (With Possible Change)
    EXPORTING
         CHANGE_OBJECT_KEY = lv_change_object_key
         CHANGE_ADD_INFO = lv_change_add_info
         READ_MEMORY = lv_read_memory
         CHANGE_SHORT = lv_change_short
         CHANGE_OBJECT_DATE = lv_change_object_date
         CHANGE_RELATION_DATE = lv_change_relation_date
         CHANGE_ISTAT = lv_change_istat
         CHANGE_RELATION_ISTAT = lv_change_relation_istat
         CHANGE_PERCENT = lv_change_percent
         CHANGE_CUST_TASK_CATA = lv_change_cust_task_cata
         CHANGE_RELATION_TEXT = lv_change_relation_text
    IMPORTING
         OBJECT_KEY = lv_object_key
         ADD_INFO = lv_add_info
         OBJECT_KEY_FTEXT = lv_object_key_ftext
         SHORT_FTEXT = lv_short_ftext
         OBJECT_DATE_FTEXT = lv_object_date_ftext
         RELATION_DATE_FTEXT = lv_relation_date_ftext
         ISTAT_FTEXT = lv_istat_ftext
         RELATION_ISTAT_FTEXT = lv_relation_istat_ftext
         PERCENT_FTEXT = lv_percent_ftext
         CUST_TASK_CATA_FTEXT = lv_cust_task_cata_ftext
         RELATION_TEXT_FTEXT = lv_relation_text_ftext
         SHORT = lv_short
         OBJECT_KEY_TITLE = lv_object_key_title
         SHORT_TITLE = lv_short_title
         OBJECT_DATE_TITLE = lv_object_date_title
         RELATION_DATE_TITLE = lv_relation_date_title
         ISTAT_TITLE = lv_istat_title
         RELATION_ISTAT_TITLE = lv_relation_istat_title
         PERCENT_TITLE = lv_percent_title
         CUST_TASK_CATA_TITLE = lv_cust_task_cata_title
         RELATION_TEXT_TITLE = lv_relation_text_title
         OBJECT_DATE = lv_object_date
         RELATION_DATE = lv_relation_date
         ISTAT = lv_istat
         RELATION_ISTAT = lv_relation_istat
         PERCENT = lv_percent
         CUST_TASK_CATA = lv_cust_task_cata
         RELATION_TEXT = lv_relation_text
. " RH_USER_VIEW_PARAMETER




ABAP code using 7.40 inline data declarations to call FM RH_USER_VIEW_PARAMETER

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 FTEXT FROM T77FD INTO @DATA(ld_object_key_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_short_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_object_date_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_date_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_istat_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_istat_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_percent_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_cust_task_cata_ftext).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_text_ftext).
 
 
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_object_key_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_short_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_object_date_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_date_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_istat_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_istat_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_percent_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_cust_task_cata_title).
 
"SELECT single FTEXT FROM T77FD INTO @DATA(ld_relation_text_title).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!