SAP RM_GAP_FINISH_PH Function Module for Formats the results of the portfolio hierarchy evaluations









RM_GAP_FINISH_PH is a standard rm gap finish ph SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Formats the results of the portfolio hierarchy evaluations 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 rm gap finish ph FM, simply by entering the name RM_GAP_FINISH_PH into the relevant SAP transaction such as SE37 or SE38.

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



Function RM_GAP_FINISH_PH 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 'RM_GAP_FINISH_PH'"Formats the results of the portfolio hierarchy evaluations
EXPORTING
IS_JBRGAPPARAMETER = "

TABLES
I_JBRAGGAP = "
E_JBRREPGAP = "
IT_JBRDATE = "
* IT_JBRBPAMORTRES = "
* E_JBRPHAMORTRES = "
I_JBRPHBAUM = "
I_ZUORDN = "
* E_TEXT_TAB = "Generation of JBRNAME-NAME

EXCEPTIONS
PH_ERROR = 1
.



IMPORTING Parameters details for RM_GAP_FINISH_PH

IS_JBRGAPPARAMETER -

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

TABLES Parameters details for RM_GAP_FINISH_PH

I_JBRAGGAP -

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

E_JBRREPGAP -

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

IT_JBRDATE -

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

IT_JBRBPAMORTRES -

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

E_JBRPHAMORTRES -

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

I_JBRPHBAUM -

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

I_ZUORDN -

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

E_TEXT_TAB - Generation of JBRNAME-NAME

Data type: JBRNAMEDAT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PH_ERROR -

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

Copy and paste ABAP code example for RM_GAP_FINISH_PH 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_ph_error  TYPE STRING, "   
lt_i_jbraggap  TYPE STANDARD TABLE OF JBRAGGAP, "   
lv_is_jbrgapparameter  TYPE JBRGAPPARAMETER, "   
lt_e_jbrrepgap  TYPE STANDARD TABLE OF JBRREPGAP, "   
lt_it_jbrdate  TYPE STANDARD TABLE OF JBRDATE, "   
lt_it_jbrbpamortres  TYPE STANDARD TABLE OF JBRBPAMORTRES, "   
lt_e_jbrphamortres  TYPE STANDARD TABLE OF JBRPHAMORTRES, "   
lt_i_jbrphbaum  TYPE STANDARD TABLE OF JBRPHBAUM, "   
lt_i_zuordn  TYPE STANDARD TABLE OF JBRZUORDN, "   
lt_e_text_tab  TYPE STANDARD TABLE OF JBRNAMEDAT. "   

  CALL FUNCTION 'RM_GAP_FINISH_PH'  "Formats the results of the portfolio hierarchy evaluations
    EXPORTING
         IS_JBRGAPPARAMETER = lv_is_jbrgapparameter
    TABLES
         I_JBRAGGAP = lt_i_jbraggap
         E_JBRREPGAP = lt_e_jbrrepgap
         IT_JBRDATE = lt_it_jbrdate
         IT_JBRBPAMORTRES = lt_it_jbrbpamortres
         E_JBRPHAMORTRES = lt_e_jbrphamortres
         I_JBRPHBAUM = lt_i_jbrphbaum
         I_ZUORDN = lt_i_zuordn
         E_TEXT_TAB = lt_e_text_tab
    EXCEPTIONS
        PH_ERROR = 1
. " RM_GAP_FINISH_PH




ABAP code using 7.40 inline data declarations to call FM RM_GAP_FINISH_PH

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.

 
 
 
 
 
 
 
 
 
 


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!