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

BPCARRY0 SAP ABAP Report - Transfer Budget Structure from Previous Year







BPCARRY0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Transfer budget structure from previous year You can use program BPCARRY0 to create a 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 BPCARRY0 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 BPCARRY0. "Basic submit
SUBMIT BPCARRY0 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCARRY0 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: ST_FUNDS = Fund
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_FIKRS = FM Area
Selection Text: CB_TEST = Test Run
Selection Text: CB_BSP = BS only for years with budget
Title: Transfer Budget Structure from Previous Year
Text Symbol: 061 = YS
Text Symbol: 062 = NO
Text Symbol: 091 = No data selected for processing
Text Symbol: 095 = Copy Budget Structure
Text Symbol: 096 = Should the budget structure really
Text Symbol: 097 = be copied?
Text Symbol: 100 = Process Control
Text Symbol: 101 = Fund has overall budget structure
Text Symbol: 102 = A budget structure already exists in the target year
Text Symbol: 103 = No budget exists in target year
Text Symbol: 104 = Target year not in fund validity area
Text Symbol: 105 = No budget structure available for copying
Text Symbol: 106 = Budget structure cannot be copied because group assgt exists
Text Symbol: 108 = No valid profile exists
Text Symbol: 109 = Fund blocked at present
Text Symbol: 150 = Budget structure copied successfully
Text Symbol: 151 = Budget structure copied in part
Text Symbol: 152 = Budget structure not copied
Text Symbol: 052 = Not Permitted
Text Symbol: 011 = FM Area
Text Symbol: 012 = Fund
Text Symbol: 013 = Fiscal year
Text Symbol: 014 = Source Funds
Text Symbol: 015 = Target Funds
Text Symbol: 016 = Result
Text Symbol: 022 = Funds center
Text Symbol: 023 = Commitment Item
Text Symbol: 024 = Object type
Text Symbol: 025 = Bdgt Struct. Template
Text Symbol: 027 = Comments
Text Symbol: 028 = Budget structure template assignments were copied to funds centers
Text Symbol: 031 = Create budget structure for funds with budget in the target year only





Text Symbol: 033 = Bdgt Struct. Template
Text Symbol: 034 = Copy individual objects
Text Symbol: 035 = Copy assignments to funds centers
Text Symbol: 037 = Test run
Text Symbol: 038 = Break down commt item groups
Text Symbol: 041 = Budget
Text Symbol: 042 = Posting
Text Symbol: 043 = Assigned commitment
Text Symbol: 044 = Assigned payment
Text Symbol: 045 = BS Tmplt Assignment
Text Symbol: 051 = Missing in fiscal year


INCLUDES used within this REPORT BPCARRY0

INCLUDE LKBPPEQU.
INCLUDE LKBPPSTN.
INCLUDE LFMAUEQU.


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_CHECK_CUSTOMIZING CALL FUNCTION 'FM_CHECK_CUSTOMIZING' "470 EXCEPTIONS OTHERS = 1.

FM_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' "470 IMPORTING e_fund_active = g_flg_fund_active.

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = g_fikrs i_fiscal_year = g_gjahr i_flg_grant_check = off i_flg_fund_check = on i_flg_function_check = off i_flg_measure_check = off i_fund = '' EXCEPTIONS fund_blank = 1 OTHERS = 3.

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = g_fikrs i_fiscal_year = g_gjahr i_flg_grant_check = off i_flg_fund_check = on i_flg_function_check = off i_flg_measure_check = off i_fund = '' EXCEPTIONS fund_blank = 1 OTHERS = 3.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = g_fikrs ip_fincode = g_geber_dest.

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

FM_BUD_CHECK_COMPONENT CALL FUNCTION 'FM_BUD_CHECK_COMPONENT' "470 EXPORTING i_fikrs = g_fikrs i_standard_env = 'X' i_eu_env = 'X' i_no_hierarchy_env = 'X'.

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = l_kom_activ EXCEPTIONS OTHERS = 2.

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

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

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-095 textline1 = text-096 textline2 = text-097 IMPORTING answer = l_answer.

FM5B_GET_PROFILE





CALL FUNCTION 'FM5B_GET_PROFILE' EXPORTING i_fikrs = g_fikrs i_fincode = u_geber IMPORTING e_profil = l_profil.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING applik = l_funds "/ l_funds = 'M' profil = l_profil IMPORTING ex_bp1c = c_tbp1c EXCEPTIONS not_found = 1 OTHERS = 2.

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 = l_md_yeardep.

FM20_BUDGET_GET_FUND_YEAR CALL FUNCTION 'FM20_BUDGET_GET_FUND_YEAR' EXPORTING i_fikrs = g_fikrs i_geber_all = off i_geber = u_geber i_gjahr_all = off i_gjahr = g_gjahr_dest TABLES t_fmbpfondsyears = gt_fmbpfondsyears EXCEPTIONS OTHERS = 1.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_periv = u_periv IMPORTING e_gjahr = l_act_year.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = u_fikrs ip_fincode = u_geber ip_gjahr = u_gjahr EXCEPTIONS OTHERS = 1.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_objhi = g_objnr_fikrs i_global_wrttp = l_budcarr_enq_wt "/ CA i_global_geber = u_geber i_global_enqueue = on i_wait = on EXCEPTIONS foreign_lock = 1 system_failure = 2.

FM_FYC_RECEIVER_DERIVE CALL FUNCTION 'FM_FYC_RECEIVER_DERIVE' EXPORTING i_fikrs = g_fikrs i_gjahr = g_gjahr_src i_activity = 'CBSP' * I_ENVIRONMENT = i_receiver_year = g_gjahr_dest i_flg_unique_target_required = on i_flg_check_receivers = off i_f_source_fields = l_source IMPORTING e_f_target_fields = l_target * E_T_TARGET_FIELDS = e_t_return = lt_return EXCEPTIONS wrong_input = 1 OTHERS = 2 .

FM13_CARRCOPY_COPY_BSP CALL FUNCTION 'FM13_CARRCOPY_COPY_BSP' EXPORTING i_fikrs = g_fikrs i_geber_src = g_geber_src i_gjahr_src = g_gjahr_src i_geber_dest = g_geber_dest i_gjahr_dest = g_gjahr_dest i_flg_reset_dest = g_flg_reset_dest i_flg_copy_bucar = g_flg_copy_bucar i_flg_copy_accar = g_flg_copy_accar i_flg_copy_cocar_com = g_flg_copy_cocar_com i_flg_copy_cocar_pay = g_flg_copy_cocar_pay i_flg_prot_mode = g_flg_prot_mode i_flg_header = g_flg_header i_flg_test_mode = g_flg_test_mode i_flg_copy_groups = g_flg_copy_groups "KI4K028581 IMPORTING e_data_changed = g_flg_data_changed e_flg_groups_copied = g_flg_groups_copied "KI4K028581 TABLES t_copy_prot = gt_copy_prot EXCEPTIONS OTHERS = 1.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'FIKRS' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_top_of_page = 'TOP_OF_GRID' i_callback_html_top_of_page = 'HTML_TOP_OF_GRID' i_background_id = g_background_id is_layout = l_layout it_fieldcat = gt_fcat it_sort = gt_sort_info i_html_height_top = '20' TABLES t_outtab = gt_list EXCEPTIONS program_error = 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 BPCARRY0 or its description.