SAP Reports / Programs | Public Sector Management | Funds Management | Budgeting and Availability Control(PSM-FM-BU) SAP PSM

BPDISTI2 SAP ABAP INCLUDE - Global Forms for Reconstructing Distributed Values / Total Up







BPDISTI2 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BPDISTI2 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 BPDISTI2. "Basic submit
SUBMIT BPDISTI2 AND RETURN. "Return to original report after report execution complete
SUBMIT BPDISTI2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Global Forms for Reconstructing Distributed Values / Total Up


INCLUDES used within this REPORT BPDISTI2

No INCLUDES are used within this REPORT code!


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:

HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING meldung = l_meldung meld_id = gt_detail_prot-arbgb meld_nr = l_meld_nr msgv1 = gt_detail_prot-msgv1 msgv2 = gt_detail_prot-msgv2 msgv3 = gt_detail_prot-msgv3 msgv4 = gt_detail_prot-msgv4 titel = l_titel.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = g_fikrs i_actvt = l_actvt i_msgty = 'E'.

FM_AUTH_CHECK_VERSION CALL FUNCTION 'FM_AUTH_CHECK_VERSION' EXPORTING i_fikrs = g_fikrs i_versn = l_auth_versn i_actvt = fmau_bu_cre i_msgty = 'E'.

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = l_kom_active e_flg_isps_not_active = l_isps_not_active EXCEPTIONS OTHERS = 1.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = g_fikrs IMPORTING f_fm01 = lf_fm01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING currency = lf_fm01-waers periv = lf_fm01-ca_periv IMPORTING ledger = g_lednr TABLES bp_cur = lt_dummy.

FM_FIKRS_CHECK_MD_YEAR_DEPEND CALL FUNCTION 'FM_FIKRS_CHECK_MD_YEAR_DEPEND' EXPORTING i_fikrs = g_fikrs IMPORTING e_flg_year_master_data = g_md_yeardep e_flg_year_pos = g_md_yearpos.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = g_fikrs IMPORTING e_objhi = g_objhi.

KBPA_GET_START_FISCAL_YEAR CALL FUNCTION 'KBPA_GET_START_FISCAL_YEAR' EXPORTING i_fm_area = g_fikrs i_fin_code = p_geber IMPORTING e_start_fiscal_year = p_year.

FM5B_GET_PROFILE CALL FUNCTION 'FM5B_GET_PROFILE' EXPORTING i_fikrs = g_fikrs i_fincode = p_geber IMPORTING e_profil = l_profile.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING applik = l_funds profil = l_profile IMPORTING ex_bp1c = gf_tbp1c EXCEPTIONS not_found = 01.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = g_fikrs ip_fincode = gt_funds-low.

KBPS_CHECK_VERSION CALL FUNCTION 'KBPS_CHECK_VERSION' EXPORTING im_applik = l_funds im_version = gt_versn-low im_wrttp = l_wfbudget.

FM_FIPEX_READ_MULTIPLE_DATA CALL FUNCTION 'FM_FIPEX_READ_MULTIPLE_DATA' EXPORTING i_fikrs = g_fikrs i_gjahr = l_gjahr TABLES t_vfmpg = lt_vfmpg EXCEPTIONS master_data_not_found = 1 hierarchy_data_not_found = 2 input_error = 3 OTHERS = 4.

FM4C_READ_HIERARCHY_SET CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' EXPORTING i_read_complete = l_read_complete i_carrier_hierarchy = on i_post_carrier = off i_only_30_pos = on i_finuse_check = off i_balbud_carrier = l_balbud_carrier i_del_statistics = l_del_statistics i_sim_bud_carrier = l_sim_carrier.

FM4C_SET_INTERNAL_BUDGET CALL FUNCTION 'FM4C_SET_INTERNAL_BUDGET' EXPORTING i_set_budget = off TABLES t_bpge = lt_bpge_dummy t_bpja = lt_bpja_dummy.

FM4C_SET_INTERNAL_BUDGET * CALL FUNCTION 'FM4C_SET_INTERNAL_BUDGET' "FAREA * TABLES "FAREA * T_BPGE = GT_EXTRACT_BPGE "FAREA * T_BPJA = GT_EXTRACT_BPJA. "FAREA

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = g_fikrs i_geber = p_geber i_gjahr = p_year i_farea = l_dummy_farea "FAREA TABLES t_ex_carr = lt_carrier.

FM4C_SET_FORMAT





CALL FUNCTION 'FM4C_SET_FORMAT' EXPORTING i_activate_format = off.

KBPP_START CALL FUNCTION 'KBPP_START' EXPORTING bp_in = lf_bpin init = on IMPORTING bp_ex = bpex.

KBPP_POST CALL FUNCTION 'KBPP_POST' TABLES bp_ch = lt_dummy_bpch.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FM23_GET_TOLERANCE_VALUE CALL FUNCTION 'FM23_GET_TOLERANCE_VALUE' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_versn = p_versn IMPORTING e_tol_value = l_tol_value EXCEPTIONS not_found = 1 OTHERS = 2.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = l_arbgb message_number = l_txtnr message_var1 = l_msgv1 message_var2 = l_msgv2 message_var3 = l_msgv3 message_var4 = l_msgv4 IMPORTING message_text = l_msg_text EXCEPTIONS message_not_found = 1.

KBPT_ERROR_LOG CALL FUNCTION 'KBPT_ERROR_LOG' EXPORTING move_mess = 'X' EXCEPTIONS not_ok = 1 no_error_log = 2 OTHERS = 3.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = lt_messages EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_progname dynumb = l_dynnr TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 1.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = l_fikrs i_object_initial_allowed = on IMPORTING e_objhi = p_objhi.

KBPS_SHOW_VERSIONS CALL FUNCTION 'KBPS_SHOW_VERSIONS' EXPORTING applik = l_funds object = p_objhi geber_all = on wrttp = l_wfbudget wrttp2 = l_wpbudget im_cop_versn = l_cop_versn im_all_versn = l_all_versn IMPORTING version = l_version EXCEPTIONS no_versions = 01.

FM17_ACTIVITY_ALLOWED_GET CALL FUNCTION 'FM17_ACTIVITY_ALLOWED_GET' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_geber = p_geber i_versn = p_versn i_activity = g_con_act_rel i_flg_com_bud = l_flg_com_bud i_flg_pay_bud = l_flg_pay_bud EXCEPTIONS not_allowed = 1 OTHERS = 2.

FM17_ACTIVITY_ALLOWED_GET CALL FUNCTION 'FM17_ACTIVITY_ALLOWED_GET' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_geber = p_geber i_versn = p_versn i_activity = g_con_act_org i_flg_com_bud = l_flg_com_bud i_flg_pay_bud = l_flg_pay_bud EXCEPTIONS not_allowed = 1 OTHERS = 2.

FM17_ACTIVITY_ALLOWED_GET CALL FUNCTION 'FM17_ACTIVITY_ALLOWED_GET' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_geber = p_geber i_versn = p_versn i_activity = g_con_act_upd i_flg_com_bud = l_flg_com_bud i_flg_pay_bud = l_flg_pay_bud EXCEPTIONS not_allowed = 1 OTHERS = 2.

FM4C_SET_FAREA CALL FUNCTION 'FM4C_SET_FAREA' EXPORTING i_farea = u_farea.

FM4C_SET_INTERNAL_BUDGET CALL FUNCTION 'FM4C_SET_INTERNAL_BUDGET' EXPORTING i_set_budget = off TABLES t_bpge = l_t_bpge_dummy t_bpja = l_t_bpja_dummy.

FM4C_SET_INTERNAL_BUDGET CALL FUNCTION 'FM4C_SET_INTERNAL_BUDGET' TABLES t_bpge = l_t_bpge t_bpja = l_t_bpja.

KBPS_SHOW_BUDGET_SUBTYPES CALL FUNCTION 'KBPS_SHOW_BUDGET_SUBTYPES' EXPORTING fm_area = l_objhi+2(4) bdgt_type = l_vorga IMPORTING bdgt_subtype = c_subvo.

FM16_SUBTYPE_READ_CUSTOMIZING CALL FUNCTION 'FM16_SUBTYPE_READ_CUSTOMIZING' EXPORTING fm_area = g_fikrs bdgt_type = g_vorga bdgt_subtype = g_subvo.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_progname dynumb = l_dynnr TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 1.




GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = g_accessibility_active EXCEPTIONS its_not_available = 1 OTHERS = 2.

FM23_GET_TOLERANCE_VALUE CALL FUNCTION 'FM23_GET_TOLERANCE_VALUE' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_versn = p_versn IMPORTING e_tol_value = l_tol_value EXCEPTIONS not_found = 1 OTHERS = 2.

FM23_GET_TOLERANCE_VALUE CALL FUNCTION 'FM23_GET_TOLERANCE_VALUE' EXPORTING i_fikrs = p_fikrs i_gjahr = p_year i_versn = p_versn IMPORTING e_tol_value = l_tol_value EXCEPTIONS not_found = 1 OTHERS = 2.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = l_arbgb message_number = l_txtnr message_var1 = l_msgv1 message_var2 = l_msgv2 message_var3 = l_msgv3 message_var4 = l_msgv4 IMPORTING message_text = l_msg_text EXCEPTIONS message_not_found = 1.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = l_arbgb message_number = l_txtnr message_var1 = l_msgv1 message_var2 = l_msgv2 message_var3 = l_msgv3 message_var4 = l_msgv4 IMPORTING message_text = l_msg_text EXCEPTIONS message_not_found = 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 BPDISTI2 or its description.