SAP HRPP_FM_DC_DEFAULT_MASTER_DATA Function Module for









HRPP_FM_DC_DEFAULT_MASTER_DATA is a standard hrpp fm dc default master data 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 hrpp fm dc default master data FM, simply by entering the name HRPP_FM_DC_DEFAULT_MASTER_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function HRPP_FM_DC_DEFAULT_MASTER_DATA 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 'HRPP_FM_DC_DEFAULT_MASTER_DATA'"
EXPORTING
* COMP_CODE = "
* FM_AREA = "
* FISC_YEAR = "
* PSTNG_DAT = "

IMPORTING
FUND_FIN_BASE_SAL = "
FUNDS_CTR_FIN_BASE_SAL = "
CMMT_ITEM_FIN_BASE_SAL = "
FUND_NONE_FIN_BASE_SAL = "
FUNDS_CTR_NONE_FIN_BASE_SAL = "
CMMT_ITEM_NONE_FIN_BASE_SAL = "

TABLES
RETURN_TAB = "
.



IMPORTING Parameters details for HRPP_FM_DC_DEFAULT_MASTER_DATA

COMP_CODE -

Data type: HRPP_CHEAD-BUKRS
Optional: Yes
Call by Reference: Yes

FM_AREA -

Data type: BAPIFMACT-FM_AREA
Optional: Yes
Call by Reference: Yes

FISC_YEAR -

Data type: BAPIFMACT-FISC_YEAR
Optional: Yes
Call by Reference: Yes

PSTNG_DAT -

Data type: BAPIACHE04-PSTNG_DATE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for HRPP_FM_DC_DEFAULT_MASTER_DATA

FUND_FIN_BASE_SAL -

Data type: BAPIFMACT-FUND
Optional: No
Call by Reference: Yes

FUNDS_CTR_FIN_BASE_SAL -

Data type: BAPIFMACT-FUNDS_CTR
Optional: No
Call by Reference: Yes

CMMT_ITEM_FIN_BASE_SAL -

Data type: BAPIFMACT-CMMT_ITEM
Optional: No
Call by Reference: Yes

FUND_NONE_FIN_BASE_SAL -

Data type: BAPIFMACT-FUND
Optional: No
Call by Reference: Yes

FUNDS_CTR_NONE_FIN_BASE_SAL -

Data type: BAPIFMACT-FUNDS_CTR
Optional: No
Call by Reference: Yes

CMMT_ITEM_NONE_FIN_BASE_SAL -

Data type: BAPIFMACT-CMMT_ITEM
Optional: No
Call by Reference: Yes

TABLES Parameters details for HRPP_FM_DC_DEFAULT_MASTER_DATA

RETURN_TAB -

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

Copy and paste ABAP code example for HRPP_FM_DC_DEFAULT_MASTER_DATA 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_comp_code  TYPE HRPP_CHEAD-BUKRS, "   
lt_return_tab  TYPE STANDARD TABLE OF BAPIRETURN1, "   
lv_fund_fin_base_sal  TYPE BAPIFMACT-FUND, "   
lv_fm_area  TYPE BAPIFMACT-FM_AREA, "   
lv_funds_ctr_fin_base_sal  TYPE BAPIFMACT-FUNDS_CTR, "   
lv_fisc_year  TYPE BAPIFMACT-FISC_YEAR, "   
lv_cmmt_item_fin_base_sal  TYPE BAPIFMACT-CMMT_ITEM, "   
lv_pstng_dat  TYPE BAPIACHE04-PSTNG_DATE, "   
lv_fund_none_fin_base_sal  TYPE BAPIFMACT-FUND, "   
lv_funds_ctr_none_fin_base_sal  TYPE BAPIFMACT-FUNDS_CTR, "   
lv_cmmt_item_none_fin_base_sal  TYPE BAPIFMACT-CMMT_ITEM. "   

  CALL FUNCTION 'HRPP_FM_DC_DEFAULT_MASTER_DATA'  "
    EXPORTING
         COMP_CODE = lv_comp_code
         FM_AREA = lv_fm_area
         FISC_YEAR = lv_fisc_year
         PSTNG_DAT = lv_pstng_dat
    IMPORTING
         FUND_FIN_BASE_SAL = lv_fund_fin_base_sal
         FUNDS_CTR_FIN_BASE_SAL = lv_funds_ctr_fin_base_sal
         CMMT_ITEM_FIN_BASE_SAL = lv_cmmt_item_fin_base_sal
         FUND_NONE_FIN_BASE_SAL = lv_fund_none_fin_base_sal
         FUNDS_CTR_NONE_FIN_BASE_SAL = lv_funds_ctr_none_fin_base_sal
         CMMT_ITEM_NONE_FIN_BASE_SAL = lv_cmmt_item_none_fin_base_sal
    TABLES
         RETURN_TAB = lt_return_tab
. " HRPP_FM_DC_DEFAULT_MASTER_DATA




ABAP code using 7.40 inline data declarations to call FM HRPP_FM_DC_DEFAULT_MASTER_DATA

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 BUKRS FROM HRPP_CHEAD INTO @DATA(ld_comp_code).
 
 
"SELECT single FUND FROM BAPIFMACT INTO @DATA(ld_fund_fin_base_sal).
 
"SELECT single FM_AREA FROM BAPIFMACT INTO @DATA(ld_fm_area).
 
"SELECT single FUNDS_CTR FROM BAPIFMACT INTO @DATA(ld_funds_ctr_fin_base_sal).
 
"SELECT single FISC_YEAR FROM BAPIFMACT INTO @DATA(ld_fisc_year).
 
"SELECT single CMMT_ITEM FROM BAPIFMACT INTO @DATA(ld_cmmt_item_fin_base_sal).
 
"SELECT single PSTNG_DATE FROM BAPIACHE04 INTO @DATA(ld_pstng_dat).
 
"SELECT single FUND FROM BAPIFMACT INTO @DATA(ld_fund_none_fin_base_sal).
 
"SELECT single FUNDS_CTR FROM BAPIFMACT INTO @DATA(ld_funds_ctr_none_fin_base_sal).
 
"SELECT single CMMT_ITEM FROM BAPIFMACT INTO @DATA(ld_cmmt_item_none_fin_base_sal).
 


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!