SAP RHP6_PROFILE_OBJECT_SET Function Module for









RHP6_PROFILE_OBJECT_SET is a standard rhp6 profile object 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 rhp6 profile object set FM, simply by entering the name RHP6_PROFILE_OBJECT_SET into the relevant SAP transaction such as SE37 or SE38.

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



Function RHP6_PROFILE_OBJECT_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 'RHP6_PROFILE_OBJECT_SET'"
EXPORTING
* PROFILE_VIEW = 'PD' "Profile View
* PLVAR = "
* OTYPE = "
* SOBID = "
* BEGDA = "
* ENDDA = "
* MAINTAIN = ' ' "

CHANGING
* READ_PART_NEW = "
* COMMIT_FLAG = "
.



IMPORTING Parameters details for RHP6_PROFILE_OBJECT_SET

PROFILE_VIEW - Profile View

Data type: T77PP_VIEW-PROFILE_VIEW
Default: 'PD'
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLVAR -

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

OTYPE -

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

SOBID -

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

BEGDA -

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

ENDDA -

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

MAINTAIN -

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

CHANGING Parameters details for RHP6_PROFILE_OBJECT_SET

READ_PART_NEW -

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

COMMIT_FLAG -

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

Copy and paste ABAP code example for RHP6_PROFILE_OBJECT_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_profile_view  TYPE T77PP_VIEW-PROFILE_VIEW, "   'PD'
lv_read_part_new  TYPE SY-INPUT, "   
lv_plvar  TYPE P1000-PLVAR, "   
lv_commit_flag  TYPE HRRHAP-COMMIT_FLG, "   
lv_otype  TYPE P1000-OTYPE, "   
lv_sobid  TYPE P1000, "   
lv_begda  TYPE HRPDV_BEGDA_EVAL, "   
lv_endda  TYPE HRPDV_ENDDA_EVAL, "   
lv_maintain  TYPE CHAR1. "   ' '

  CALL FUNCTION 'RHP6_PROFILE_OBJECT_SET'  "
    EXPORTING
         PROFILE_VIEW = lv_profile_view
         PLVAR = lv_plvar
         OTYPE = lv_otype
         SOBID = lv_sobid
         BEGDA = lv_begda
         ENDDA = lv_endda
         MAINTAIN = lv_maintain
    CHANGING
         READ_PART_NEW = lv_read_part_new
         COMMIT_FLAG = lv_commit_flag
. " RHP6_PROFILE_OBJECT_SET




ABAP code using 7.40 inline data declarations to call FM RHP6_PROFILE_OBJECT_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.

"SELECT single PROFILE_VIEW FROM T77PP_VIEW INTO @DATA(ld_profile_view).
DATA(ld_profile_view) = 'PD'.
 
"SELECT single INPUT FROM SY INTO @DATA(ld_read_part_new).
 
"SELECT single PLVAR FROM P1000 INTO @DATA(ld_plvar).
 
"SELECT single COMMIT_FLG FROM HRRHAP INTO @DATA(ld_commit_flag).
 
"SELECT single OTYPE FROM P1000 INTO @DATA(ld_otype).
 
 
 
 
DATA(ld_maintain) = ' '.
 


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!