SAP Reports / Programs

BPCARRC0 SAP ABAP Report - Budget Structure: Check Assignment Object







BPCARRC0 is a standard Executable ABAP Report 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 BPCARRC0 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

FM9T - Check Assignment Object


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 BPCARRC0. "Basic submit
SUBMIT BPCARRC0 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCARRC0 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_P_LEV = Item levels
Selection Text: P_NOWAY = Check missing assignment obj.
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_FISTL = Funds center
Selection Text: P_FIPOS = Commitment Item
Selection Text: P_FIKRS = FM area
Selection Text: P_C_LEV = Center levels
Selection Text: FONDS = Fund
Title: Budget Structure: Check Assignment Object
Text Symbol: 200 = Please choose at least one type of fund
Text Symbol: 100 = Check was successful
Text Symbol: 044 = Budget category
Text Symbol: 043 = Commitment Item
Text Symbol: 042 = Funds cent.
Text Symbol: 041 = Superior assignment object
Text Symbol: 040 = There is an assignment object above this one:
Text Symbol: 035 = Funds center Commitment item Funds center Commitment item
Text Symbol: 034 = BS element directly above
Text Symbol: 033 = if superior "double" assignment objects have been removed
Text Symbol: 032 = BS element is in a hierarchy path on which there will no longer be an assignment object
Text Symbol: 031 = or
Text Symbol: 030 = BS element is in a hierarchy path which has no assignment object
Text Symbol: 020 = No assignment object was defined in these sub-hierarchies:
Text Symbol: 011 = Funds center Commitment item
Text Symbol: 010 = Assignment object is not in a budget object:
Text Symbol: 006 = Payment budget
Text Symbol: 005 = Commitment budget
Text Symbol: 003 = Fund:
Text Symbol: 002 = Fiscal year:
Text Symbol: 001 = FM area:


INCLUDES used within this REPORT BPCARRC0

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_BUD_CHECK_COMPONENT CALL FUNCTION 'FM_BUD_CHECK_COMPONENT' "470 EXCEPTIONS error_message = 1.

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

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = p_fikrs i_actvt = fmau_bu_car_dis i_msgty = 'E'.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = off ip_fikrs = p_fikrs IMPORTING f_fm01 = fm01.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = p_fikrs ip_fincode = fonds-low ip_gjahr = p_gjahr.

FMFCTR_READ_QUICK CALL FUNCTION 'FMFCTR_READ_QUICK' EXPORTING ip_fictr = p_fistl ip_fikrs = p_fikrs ip_gjahr = p_gjahr.

FM_FIPOS_READ_SINGLE CALL FUNCTION 'FM_FIPOS_READ_SINGLE' EXPORTING i_fikrs = p_fikrs i_fipos = p_fipos i_gjahr = p_gjahr.

KBPS_CHECK_GJAHR CALL FUNCTION 'KBPS_CHECK_GJAHR' EXPORTING i_gjahr = p_gjahr IMPORTING e_gjahr = p_gjahr.

FM4D_CHECK_CARRIER_ACTIV CALL FUNCTION 'FM4D_CHECK_CARRIER_ACTIV' EXPORTING i_fikrs = p_fikrs i_geber = l_t_geber-geber i_gjahr = l_carrier_year_check_gjahr IMPORTING e_carrier_active = g_buf_carr-carrier_active e_budget_active = g_buf_carr-bucar_active e_contr_pay_active = g_buf_carr-cocar_pay_active e_contr_com_active = g_buf_carr-cocar_com_active e_gjahr = g_buf_carr-gjahr e_total = g_buf_carr-total_carrier.

FM4C_READ_HIERARCHY_SET CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' EXPORTING i_ctr_lev = p_c_lev i_pos_lev = p_p_lev i_c_ctr_lev = p_c_lev i_c_pos_lev = p_p_lev * I_ONLY_ASS_CARRIER = ON "Nur Verfuegungstraeger i_finuse_check = off "Wurde schon vorher geprüft i_only_30_pos = on i_post_carrier = off. "Kontierungsträger

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = u_fikrs i_fipos = u_fipos i_fistl = u_fistl i_geber = u_geber i_gjahr = u_gjahr.

FM4C_GET_INTERNAL_DATA CALL FUNCTION 'FM4C_GET_INTERNAL_DATA' TABLES t_fmfpo = t_fmfpo t_fmbu = t_fmbu.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = p_fikrs ip_fincode = t_geber-geber ip_gjahr = p_gjahr EXCEPTIONS finuse_not_defined = 1.

FM4C_READ_HIERARCHY_SET CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' EXPORTING i_ctr_lev = p_c_lev i_pos_lev = p_p_lev i_c_ctr_lev = p_c_lev i_c_pos_lev = p_p_lev i_del_non_carrier = on i_finuse_check = off "Wurde schon vorher geprüft i_only_30_pos = on i_post_carrier = off "Kontierungsträger "interessieren nicht * Budgetträger simulieren, obwohl keine Budgetträger * übergeben werden * -> nur Verfügungsträger-Standard-Hierarchie im Fall * 'Kein Budgetträger' betrachten i_sim_bud_carrier = on. "Budgetträger simulieren!

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = u_fikrs i_fipos = u_fipos i_fistl = u_fistl i_geber = u_geber i_gjahr = u_gjahr.

FM4D_CHECK_CARRIER_ACTIV CALL FUNCTION 'FM4D_CHECK_CARRIER_ACTIV' EXPORTING i_fikrs = u_fikrs i_geber = u_geber i_gjahr = u_gjahr IMPORTING e_budget_active = l_bpcar e_contr_pay_active = l_cocar_pay e_contr_com_active = l_cocar_com.

FM4C_CHECK_COCAR CALL FUNCTION 'FM4C_CHECK_COCAR' EXPORTING i_msg_type = 'M' "-> Message-Handler i_check_cocar_above = on i_check_cocar_bucar = on i_budget_active = l_bpcar i_contr_pay_active = l_cocar_pay i_contr_com_active = l_cocar_com IMPORTING e_subrc = l_subrc EXCEPTIONS cocar_error = 1 cocar_bucar_error = 2.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 01 e_message = 02 i_message = 03 w_message = 04.

MESSAGES_GIVE





CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = l_t_mesg.

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

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = iv_repid it_fieldcat = gt_fieldcat it_events = gt_events * I_SAVE = GV_SAVE * IS_VARIANT = GS_VARIANT TABLES t_outtab = g_t_log EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top_of_page.



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