SAP Reports / Programs

BPCARRG0 SAP ABAP Report - Budget Structure: Generate Objects Budget Structure Template







BPCARRG0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Budget Structure: Generate Objects from BS Templates Use this program to generate 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 BPCARRG0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMG5 - Generate BS Object from BS Template


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 BPCARRG0. "Basic submit
SUBMIT BPCARRG0 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCARRG0 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_FIKRS = FM Area
Selection Text: P_FOND = Fund
Selection Text: P_GROUP = Budget Structure Template
Selection Text: P_TEST = Test Run
Title: Budget Structure: Generate Objects Budget Structure Template
Text Symbol: 001 = Test run - no changes are made to the database
Text Symbol: 002 = Update run - the objects are updated in the database
Text Symbol: 003 = FM area could not be blocked - change not possible
Text Symbol: 004 = Objects
Text Symbol: 010 = Objects
Text Symbol: 011 = New
Text Symbol: 012 = Deleted
001 FMA Year Fund Object New Deleted


INCLUDES used within this REPORT BPCARRG0

INCLUDE LFMAUEQU.
INCLUDE LKBPPEQU.
INCLUDE LKBPPSTN.


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_fund_active.

FM_BUD_CHECK_COMPONENT CALL FUNCTION 'FM_BUD_CHECK_COMPONENT' "470 EXPORTING i_fikrs = p_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 = g_kom_activ EXCEPTIONS OTHERS = 2.

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

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = p_fikrs 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_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = p_fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = p_fikrs IMPORTING e_objhi = l_objhi.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_objhi = l_objhi *(DEL) i_global_wrttp = l_wfbudget "CGRP i_global_wrttp = l_budcarr_enq_wt "CGRP i_global_all_geber = on i_global_enqueue = on i_wait = on EXCEPTIONS foreign_lock = 1 system_failure = 2.

FM12_READ_FMFIPGBP CALL FUNCTION 'FM12_READ_FMFIPGBP' EXPORTING i_fikrs = p_fikrs i_gjahr = g_t_bpck-gjahr TABLES t_fipgr = l_r_fipgr t_fmfipgr = l_t_fmfipgr t_fmfipgbp = l_t_fmfipgbp.

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 i_html_height_top = '30' 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 BPCARRG0 or its description.