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

BPCOPY00I01 SAP ABAP INCLUDE - documentation and ABAP source code







BPCOPY00I01 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 BPCOPY00I01 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 BPCOPY00I01. "Basic submit
SUBMIT BPCOPY00I01 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCOPY00I01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT BPCOPY00I01

INCLUDE BPCOPY00I02.


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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = gf_info-fikrs IMPORTING f_fm01 = lf_fm01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING currency = lf_fm01-waers periv = lf_fm01-periv IMPORTING ledger = l_ledger EXCEPTIONS no_ledger = 1 locking_error = 2 OTHERS = 3.

FIFM_GET_PERIODS CALL FUNCTION 'FIFM_GET_PERIODS' EXPORTING i_applc = l_fipl i_fikrs = gf_info-fikrs IMPORTING e_anzbp = l_anz_bp e_anzsp = l_anz_sp EXCEPTIONS fikrs_not_found = 1 periv_not_found = 2 OTHERS = 3.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_objhi = gf_info-objhi i_global_geber = gt_geber-geber i_global_versn = gf_info-s_vers i_global_all_farea = on i_global_enqueue = on EXCEPTIONS foreign_lock = 1 OTHERS = 2.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = gf_info-fikrs i_posit = l_posit IMPORTING e_fipex = l_f_fmreas-s_fipex EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

FM_POSIT_GET_FROM_FIPEX CALL FUNCTION 'FM_POSIT_GET_FROM_FIPEX' EXPORTING i_fikrs = gf_info-fikrs i_fipex = l_f_fmreas-e_fipex IMPORTING e_posit = l_posit EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING fikrs = gf_info-fikrs fikrs_ca_periv = uf_fm01-ca_periv geber = ut_geber-geber farea_all = on versn = u_vers year_end = u_year year_start = u_year read_bpja = on read_bptx = on IMPORTING subrc = l_subrc TABLES bp_ja = c_t_bpja bp_pe = c_t_bppe bp_tx = c_t_bptx tab_objnr = l_t_objnr tab_value = ut_wrttp tab_activity = ut_vorga.

FM4D_CHECK_CARRIER_ACTIV CALL FUNCTION 'FM4D_CHECK_CARRIER_ACTIV' EXPORTING i_fikrs = gf_info-fikrs i_geber = u_geber i_gjahr = u_year IMPORTING e_budget_active = l_bud_carr_active EXCEPTIONS OTHERS = 1.

FM4C_READ_HIERARCHY_SET CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' EXPORTING i_read_complete = l_read_complete i_carrier_hierarchy = off i_post_carrier = off i_only_30_pos = on i_finuse_check = off i_sim_bud_carrier = l_sim_bud_carrier.

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = gf_info-fikrs i_geber = u_geber i_gjahr = u_year TABLES t_ex_carr = lt_carr_tmp.

FM4C_SET_FORMAT CALL FUNCTION 'FM4C_SET_FORMAT' EXPORTING i_activate_format = off.

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_sim_bud_carrier = l_sim_bud_carrier.

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = gf_info-fikrs i_geber = u_geber i_gjahr = u_year TABLES t_ex_carr = lt_carr_tmp.

FM4C_GET_INTERNAL_DATA CALL FUNCTION 'FM4C_GET_INTERNAL_DATA' TABLES t_fmbu = lt_fmbu.

FM_FYC_RECEIVER_DERIVE CALL FUNCTION 'FM_FYC_RECEIVER_DERIVE' EXPORTING i_fikrs = gf_info-fikrs i_gjahr = gf_info-s_year i_activity = fmfyc_con_proc_cbv i_receiver_year = gf_info-d_year i_flg_use_trace = 'X' i_flg_buffer = 'X' i_flg_check_receivers = fmfyc_con_check_budget_obj i_f_source_fields = u_f_deriv_fields IMPORTING e_f_target_fields = u_f_target_fields e_t_return = l_t_return EXCEPTIONS wrong_input = 1 OTHERS = 2.

FM5B_GET_PROFILE CALL FUNCTION 'FM5B_GET_PROFILE' EXPORTING i_fikrs = gf_info-fikrs i_fincode = u_geber IMPORTING e_profil = l_profil EXCEPTIONS fm_area_not_found = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING collect_and_send = ' '.

KBPP_EXTERN_UPDATE





CALL FUNCTION 'KBPP_EXTERN_UPDATE' EXPORTING imp_carry_over = off imp_check = off imp_commit = off imp_fcode = u_fcode TABLES imp_bpak = u_t_bpak imp_bpak_per = u_t_bpak_per return = l_t_return.

KBPS_LONGTEXT_DELETE CALL FUNCTION 'KBPS_LONGTEXT_DELETE' EXPORTING name = l_f_bptx-tdname EXCEPTIONS not_found = 1 OTHERS = 2.

KBPS_LONGTEXT_CLONE CALL FUNCTION 'KBPS_LONGTEXT_CLONE' EXPORTING name = l_f_bptx-tdname * LANGUAGE = '*' IMPORTING clone_name = l_f_bptx-tdname EXCEPTIONS not_found = 1 OTHERS = 2.



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 BPCOPY00I01 or its description.