SAP Reports / Programs

SAPDBMDF SAP ABAP Report - FM Master Data Mass Selection







SAPDBMDF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Logical database SAPDBMDF The SAPDBMDF program controls access to master data in Funds Management...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPDBMDF into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAPDBMDF. "Basic submit
SUBMIT SAPDBMDF AND RETURN. "Return to original report after report execution complete
SUBMIT SAPDBMDF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_FD_GRP = Funded Program Group
Selection Text: P_FGJAHR = Fiscal Year
Selection Text: P_FIKRS = FM Area
Selection Text: P_FPOHIE = hierarchical sequence
Selection Text: P_FPOSDN = and all subordinate
Selection Text: P_FU_GRP = Fund Group
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_GJTRP = Fiscal Year
Selection Text: P_GPERDE = Period
Selection Text: P_GR_GRP = Grant Group
Selection Text: P_MPERDE = Period
Selection Text: P_PERDE = Period
Selection Text: P_PERTRP = Period
Selection Text: P_PLDNR = Ledger
Selection Text: P_POCAR = Posting Objects Only
Selection Text: P_VARNT = Commitment Item Variant
Selection Text: S_BFICTR = Funds Center
Selection Text: S_BFINCD = Fund
Selection Text: S_BFIPEX = Commitment Item
Selection Text: S_BPOTYP = Commitment Item Category
Selection Text: S_BSNROL = Role in Collective Expenditure
Selection Text: S_FICTR = Funds Center
Selection Text: S_FINCD = Fund
Selection Text: S_FIPEX = Commitment Item
Selection Text: S_FIVOR = Financial Transaction
Selection Text: S_KATEG = Attribute: Can be Posted To
Selection Text: S_POTYP = Commitment Item Category
Selection Text: S_SNROL = Collective Expenditure Role
Selection Text: S_STATS = Attribute: Statistical
Selection Text: P_BP_GRP = D .
Selection Text: P_BUCAT = D .
Selection Text: P_BUDOBJ = D .
Selection Text: P_CVARNT = D .
Selection Text: P_GGJAHR = D .
Selection Text: P_MGJAHR = D .
Selection Text: P_POSOBJ = D .
Selection Text: P_VERS = D .
Selection Text: S_BUDPER = D .





Selection Text: S_FAREA = D .
Selection Text: S_FTYPE = D .
Selection Text: S_GRANT = D .
Selection Text: S_MEAS = D .
Selection Text: P_FC_GRP = Funds Center Group
Selection Text: P_FCTRDN = and all subordinate
Selection Text: P_FCTHIE = hierarchical sequence
Selection Text: P_FA_GRP = Functional Area Group
Selection Text: P_DATUM = Key date
Selection Text: P_CI_GRP = Commitment Item Group
Selection Text: P_BUCAR = budget objects only
Selection Text: P_BSPHIE = hierarchical sequence
Selection Text: P_BSPDN = and all subordinate
Selection Text: P_BOTHC = Budget and Posting Objects
Selection Text: P_BGJAHR = Fiscal Year
Title: FM Master Data Mass Selection
Text Symbol: 021 = Commitment Item
Text Symbol: 020 = Fund
Text Symbol: 019 = or Group
Text Symbol: 018 = Selection of Grants
Text Symbol: 017 = Selection of Funded Programs
Text Symbol: 016 = Selection of BS Elements
Text Symbol: 015 = Selection of FM Account Assignments
Text Symbol: 014 = Selection of Functional Areas
Text Symbol: 013 = Fund Selection
Text Symbol: 012 = Funds Center Selection
Text Symbol: 011 = Commitment Item Selection
Text Symbol: 010 = Posting Object Only (no hierarchy)
Text Symbol: 009 = Budget Object Only
Text Symbol: 008 = Budget and Posting Objects
Text Symbol: 007 = Classification
Text Symbol: 022 = Funds Center
Text Symbol: 023 = Functional Area
Text Symbol: 024 = Grant
Text Symbol: 025 = Funded Program
Text Symbol: 026 = Budget Period
Text Symbol: 027 = Budget Period Selection
Text Symbol: 100 = Budget Structure Element
Text Symbol: 200 = Funds being imported





Text Symbol: 201 = Funds centers being imported
Text Symbol: 202 = Commitment items being imported
Text Symbol: 203 = Posting Objects Only
Text Symbol: 206 = Budget Periods Being Imported
Text Symbol: 500 = Too Many FM Account Assignments Selected
Text Symbol: 501 = More selections could lead to runtime error
Text Symbol: 502 = Do you still want to continue?


INCLUDES used within this REPORT SAPDBMDF

INCLUDE DBMDFF01.
INCLUDE DBMDFF03.
INCLUDE DBMDFF00.
INCLUDE DBMDFF04.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_commitmnt_itm_setclass i_group_name = p_ci_grp i_fikrs = p_fikrs TABLES t_rfipex = lr_fipex EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_funds_center_setclass i_group_name = p_fc_grp i_fikrs = p_fikrs TABLES t_rfictr = lr_fictr EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_fund_setclass i_group_name = p_fu_grp i_fikrs = p_fikrs TABLES t_rfincd = lr_fincd EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_budperiod_setclass i_group_name = p_bp_grp i_fikrs = p_fikrs TABLES t_rbudper = lr_budper EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_funcarea_setclass i_group_name = p_fa_grp i_fikrs = p_fikrs TABLES t_rfarea = lr_farea EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_grant_setclass i_group_name = p_gr_grp i_fikrs = p_fikrs TABLES t_rgrant = lr_grant EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FM_GROUP_GET_OBJECTS_TO_RANGE CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' EXPORTING i_class = gsetc_funded_prog_setclass i_group_name = p_fd_grp i_fikrs = p_fikrs TABLES t_rmeas = lr_meas EXCEPTIONS input_error = 1 error_setid_encrypt = 2 error_hierarchy_read = 3.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = P_FIKRS IMPORTING f_fm01 = l_f_fm01 EXCEPTIONS OTHERS = 1.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = P_GJAHR i_periv = l_f_fm01-ca_periv IMPORTING e_first_day = G_DATE_FIRST e_last_day = G_DATE_LAST EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

FM_GET_DATES_FROM_PERIOD CALL FUNCTION 'FM_GET_DATES_FROM_PERIOD' EXPORTING ip_applc = 'A' ip_fikrs = P_FIKRS ip_gjahr = P_GJTRP ip_poper = P_PERTRP IMPORTING op_datab = L_F_DATAB op_datbis = L_F_DATBIS EXCEPTIONS error_occurred = 1 no_fikrs_found = 2 no_periv_found = 3.

FM_DC_VARIANT_PERIODS_GET CALL FUNCTION 'FM_DC_VARIANT_PERIODS_GET' EXPORTING FMAREA = P_FIKRS FISCALYEAR = P_GJTRP TABLES T_PERIODS = L_T_PERIODS EXCEPTIONS FMAREA_NOT_FOUND = 1 VARIANT_NOT_FOUND = 2 PERIODS_NOT_FOUND = 3.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING i_fikrs = L_SAV_FIKRS I_FUND = S_FINCD-low IMPORTING E_FUND = S_FINCD-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING i_fikrs = l_sav_fikrs I_FUND = S_FINCD-high IMPORTING E_FUND = S_FINCD-high EXCEPTIONS no_select = 1 OTHERS = 2.




FM_F4_FOR_FUNDS_CENTER CALL FUNCTION 'FM_F4_FOR_FUNDS_CENTER' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr I_FICTR = s_fictr-low IMPORTING E_FICTR = s_fictr-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUNDS_CENTER CALL FUNCTION 'FM_F4_FOR_FUNDS_CENTER' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr I_FICTR = s_fictr-high IMPORTING E_FICTR = s_fictr-high EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr i_fipex = s_fipex-low IMPORTING e_fipex = s_fipex-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr i_fipex = s_fipex-high IMPORTING e_fipex = s_fipex-high EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING i_fikrs = L_SAV_FIKRS I_FUND = S_BFINCD-low IMPORTING E_FUND = S_BFINCD-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUND CALL FUNCTION 'FM_F4_FOR_FUND' EXPORTING i_fikrs = l_sav_fikrs I_FUND = S_BFINCD-high IMPORTING E_FUND = S_BFINCD-high EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUNDS_CENTER CALL FUNCTION 'FM_F4_FOR_FUNDS_CENTER' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr I_FICTR = s_bfictr-low IMPORTING E_FICTR = s_bfictr-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_FUNDS_CENTER CALL FUNCTION 'FM_F4_FOR_FUNDS_CENTER' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr I_FICTR = s_bfictr-high IMPORTING E_FICTR = s_bfictr-high EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr i_fipex = s_bfipex-low IMPORTING e_fipex = s_bfipex-low EXCEPTIONS no_select = 1 OTHERS = 2.

FM_F4_FOR_COMMITMENT_ITEM CALL FUNCTION 'FM_F4_FOR_COMMITMENT_ITEM' EXPORTING i_fikrs = l_sav_fikrs i_gjahr = l_sav_gjahr i_fipex = s_bfipex-high IMPORTING e_fipex = s_bfipex-high EXCEPTIONS no_select = 1 OTHERS = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_fund_setclass i_fikrs = l_sav_fikrs IMPORTING e_group_name = p_fu_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_funds_center_setclass i_fikrs = l_sav_fikrs IMPORTING e_group_name = p_fc_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_budperiod_setclass i_fikrs = l_sav_fikrs IMPORTING e_group_name = p_bp_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_commitmnt_itm_setclass i_fikrs = l_sav_fikrs IMPORTING e_group_name = p_ci_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_funded_prog_setclass i_fikrs = l_sav_fikrs IMPORTING e_group_name = p_fd_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_funcarea_setclass IMPORTING e_group_name = p_fa_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FM_GROUP_F4_GROUP_NAME CALL FUNCTION 'FM_GROUP_F4_GROUP_NAME' EXPORTING i_class = gsetc_grant_setclass IMPORTING e_group_name = p_gr_grp EXCEPTIONS input_error = 1 no_set_picked = 2.

FMCU_SHOW_VERSION CALL FUNCTION 'FMCU_SHOW_VERSION' EXPORTING I_FM_AREA = L_SAV_FIKRS IMPORTING E_VERSION = P_VERS EXCEPTIONS NO_VERSION = 1.

FMCU_SHOW_BUDCAT CALL FUNCTION 'FMCU_SHOW_BUDCAT' EXPORTING I_FM_AREA = L_SAV_FIKRS IMPORTING E_BUDCAT = P_BUCAT EXCEPTIONS NO_BUDCAT = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPDBMDF or its description.