SAP RH_PROCESS_SFTRQMT Function Module for









RH_PROCESS_SFTRQMT is a standard rh process sftrqmt 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 rh process sftrqmt FM, simply by entering the name RH_PROCESS_SFTRQMT into the relevant SAP transaction such as SE37 or SE38.

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



Function RH_PROCESS_SFTRQMT 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_PROCESS_SFTRQMT'"
EXPORTING
PLVAR = "
* DELETE_CODE = "
SOURCE_OTYPE = "
SOURCE_OBJID = "
* SR_OBJID = "
* SR_COMMENT = "
SR_BEGDA = "
SR_ENDDA = "
* C_OBJID = "
* ACTION_CODE = "

IMPORTING
NEW_OBJID = "

TABLES
SR_LINE = "
SR_TABLE = "
* Q_PROFILE = "

EXCEPTIONS
RH_GET_NEXT_NUMBER_ERROR = 1 UNKNOWN_SOURCE_OBJECT = 2 REQMT_RECORD_ERROR = 3 RH_UPDATE_DATABASE_ERROR = 4 SR_1049_MISSING = 5 SR_1049_UPDATE_ERROR = 6 C_NOT_FOUND = 7 RH_DELETE_OBJECT_ERROR = 8
.



IMPORTING Parameters details for RH_PROCESS_SFTRQMT

PLVAR -

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

DELETE_CODE -

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

SOURCE_OTYPE -

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

SOURCE_OBJID -

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

SR_OBJID -

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

SR_COMMENT -

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

SR_BEGDA -

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

SR_ENDDA -

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

C_OBJID -

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

ACTION_CODE -

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

EXPORTING Parameters details for RH_PROCESS_SFTRQMT

NEW_OBJID -

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

TABLES Parameters details for RH_PROCESS_SFTRQMT

SR_LINE -

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

SR_TABLE -

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

Q_PROFILE -

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

EXCEPTIONS details

RH_GET_NEXT_NUMBER_ERROR -

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

UNKNOWN_SOURCE_OBJECT -

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

REQMT_RECORD_ERROR -

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

RH_UPDATE_DATABASE_ERROR -

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

SR_1049_MISSING -

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

SR_1049_UPDATE_ERROR -

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

C_NOT_FOUND -

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

RH_DELETE_OBJECT_ERROR -

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

Copy and paste ABAP code example for RH_PROCESS_SFTRQMT 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 P1000-PLVAR, "   
lt_sr_line  TYPE STANDARD TABLE OF HRI1049, "   
lv_new_objid  TYPE P1000-OBJID, "   
lv_rh_get_next_number_error  TYPE P1000, "   
lv_delete_code  TYPE I, "   
lt_sr_table  TYPE STANDARD TABLE OF PT1049, "   
lv_source_otype  TYPE P1000-OTYPE, "   
lv_unknown_source_object  TYPE P1000, "   
lt_q_profile  TYPE STANDARD TABLE OF HRPE_RELAQ, "   
lv_source_objid  TYPE P1000-OBJID, "   
lv_reqmt_record_error  TYPE P1000, "   
lv_sr_objid  TYPE P1000-OBJID, "   
lv_rh_update_database_error  TYPE P1000, "   
lv_sr_comment  TYPE P1000-STEXT, "   
lv_sr_1049_missing  TYPE P1000, "   
lv_sr_begda  TYPE P1000-BEGDA, "   
lv_sr_1049_update_error  TYPE P1000, "   
lv_sr_endda  TYPE P1000-ENDDA, "   
lv_c_not_found  TYPE P1000, "   
lv_c_objid  TYPE P1000-OBJID, "   
lv_rh_delete_object_error  TYPE P1000, "   
lv_action_code  TYPE I. "   

  CALL FUNCTION 'RH_PROCESS_SFTRQMT'  "
    EXPORTING
         PLVAR = lv_plvar
         DELETE_CODE = lv_delete_code
         SOURCE_OTYPE = lv_source_otype
         SOURCE_OBJID = lv_source_objid
         SR_OBJID = lv_sr_objid
         SR_COMMENT = lv_sr_comment
         SR_BEGDA = lv_sr_begda
         SR_ENDDA = lv_sr_endda
         C_OBJID = lv_c_objid
         ACTION_CODE = lv_action_code
    IMPORTING
         NEW_OBJID = lv_new_objid
    TABLES
         SR_LINE = lt_sr_line
         SR_TABLE = lt_sr_table
         Q_PROFILE = lt_q_profile
    EXCEPTIONS
        RH_GET_NEXT_NUMBER_ERROR = 1
        UNKNOWN_SOURCE_OBJECT = 2
        REQMT_RECORD_ERROR = 3
        RH_UPDATE_DATABASE_ERROR = 4
        SR_1049_MISSING = 5
        SR_1049_UPDATE_ERROR = 6
        C_NOT_FOUND = 7
        RH_DELETE_OBJECT_ERROR = 8
. " RH_PROCESS_SFTRQMT




ABAP code using 7.40 inline data declarations to call FM RH_PROCESS_SFTRQMT

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 P1000 INTO @DATA(ld_plvar).
 
 
"SELECT single OBJID FROM P1000 INTO @DATA(ld_new_objid).
 
 
 
 
"SELECT single OTYPE FROM P1000 INTO @DATA(ld_source_otype).
 
 
 
"SELECT single OBJID FROM P1000 INTO @DATA(ld_source_objid).
 
 
"SELECT single OBJID FROM P1000 INTO @DATA(ld_sr_objid).
 
 
"SELECT single STEXT FROM P1000 INTO @DATA(ld_sr_comment).
 
 
"SELECT single BEGDA FROM P1000 INTO @DATA(ld_sr_begda).
 
 
"SELECT single ENDDA FROM P1000 INTO @DATA(ld_sr_endda).
 
 
"SELECT single OBJID FROM P1000 INTO @DATA(ld_c_objid).
 
 
 


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!