SAP RHPA_APP_PROCESS_FUNC_START Function Module for









RHPA_APP_PROCESS_FUNC_START is a standard rhpa app process func start 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 rhpa app process func start FM, simply by entering the name RHPA_APP_PROCESS_FUNC_START into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHPA
Program Name: SAPLRHPA
Main Program: SAPLRHPA
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RHPA_APP_PROCESS_FUNC_START 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 'RHPA_APP_PROCESS_FUNC_START'"
EXPORTING
I_PLANVERSION = "Plan Version
I_APPRAISAL_ID = "Appraisal ID
I_FUNCTION_NAME = "
* NOCOMMIT = "

EXCEPTIONS
NOTHING_FOUND = 1 NOT_HISTORICIZED = 2 FUNCTION_NOT_VALID = 3 CANCELLED = 4 PROCESSING_ERROR = 5
.



IMPORTING Parameters details for RHPA_APP_PROCESS_FUNC_START

I_PLANVERSION - Plan Version

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

I_APPRAISAL_ID - Appraisal ID

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

I_FUNCTION_NAME -

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

NOCOMMIT -

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

EXCEPTIONS details

NOTHING_FOUND -

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

NOT_HISTORICIZED -

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

FUNCTION_NOT_VALID -

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

CANCELLED - Action Canceled

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

PROCESSING_ERROR -

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

Copy and paste ABAP code example for RHPA_APP_PROCESS_FUNC_START 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_i_planversion  TYPE PLVAR, "   
lv_nothing_found  TYPE PLVAR, "   
lv_i_appraisal_id  TYPE HROBJID, "   
lv_not_historicized  TYPE HROBJID, "   
lv_i_function_name  TYPE PT1047-FUNCNAME, "   
lv_function_not_valid  TYPE PT1047, "   
lv_nocommit  TYPE BAPI_STAND-NO_COMMIT, "   
lv_cancelled  TYPE BAPI_STAND, "   
lv_processing_error  TYPE BAPI_STAND. "   

  CALL FUNCTION 'RHPA_APP_PROCESS_FUNC_START'  "
    EXPORTING
         I_PLANVERSION = lv_i_planversion
         I_APPRAISAL_ID = lv_i_appraisal_id
         I_FUNCTION_NAME = lv_i_function_name
         NOCOMMIT = lv_nocommit
    EXCEPTIONS
        NOTHING_FOUND = 1
        NOT_HISTORICIZED = 2
        FUNCTION_NOT_VALID = 3
        CANCELLED = 4
        PROCESSING_ERROR = 5
. " RHPA_APP_PROCESS_FUNC_START




ABAP code using 7.40 inline data declarations to call FM RHPA_APP_PROCESS_FUNC_START

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 FUNCNAME FROM PT1047 INTO @DATA(ld_i_function_name).
 
 
"SELECT single NO_COMMIT FROM BAPI_STAND INTO @DATA(ld_nocommit).
 
 
 


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!