SAP Reports / Programs

BPCARRB0 SAP ABAP Report - Generating net vote objects







BPCARRB0 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 BPCARRB0 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

FM9S - HHM: Generate Net Vote Objects


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 BPCARRB0. "Basic submit
SUBMIT BPCARRB0 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCARRB0 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_GJAHR = Fiscal year
Selection Text: ST_GEBER = Fund
Title: Generating net vote objects
Text Symbol: 001 = Fund & :
Text Symbol: 002 = Requested object is locked by user &
Text Symbol: 003 = Error when locking database record
Text Symbol: 004 = W: Object not deleted, as budget is available in &1/&2
Text Symbol: 005 = Net vote object for fund successfully generated
Text Symbol: 006 = No net vote assignment found for &1, &2, &3


INCLUDES used within this REPORT BPCARRB0

INCLUDE: LKBPPEQU,


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 EXPORTING i_check_komu_active = 'X' EXCEPTIONS OTHERS = 1.

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

FM_FIPEX_READ_MULTIPLE_DATA CALL FUNCTION 'FM_FIPEX_READ_MULTIPLE_DATA' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr * i_varnt = g_varnt_std "KI4K027338 TABLES t_vfmpg = g_t_vfmpg.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' EXPORTING i_global_objhi = g_objhi i_global_wrttp = l_budcarr_enq_wt i_global_geber = gt_geber-geber i_global_enqueue = on i_wait = on EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

FM_FMZUBSP_ASSIGN_READ_MULTIPL CALL FUNCTION 'FM_FMZUBSP_ASSIGN_READ_MULTIPL' EXPORTING i_fikrs = p_fikrs i_varnt = g_varnt_std i_gjahr = p_gjahr i_fonds = gt_geber-geber TABLES r_fipex = g_r_fipex "dummy t_fmzubsp = g_t_fmzubsp EXCEPTIONS no_master_data = 1.

FM4D_CHECK_CARRIER_ACTIV CALL FUNCTION 'FM4D_CHECK_CARRIER_ACTIV' EXPORTING i_fikrs = p_fikrs i_geber = gt_geber-geber i_gjahr = p_gjahr IMPORTING e_bal_budget_active = g_carrier_active e_gjahr = g_gjahr.

FM12_READ_CARRIER CALL FUNCTION 'FM12_READ_CARRIER' EXPORTING i_objhi = g_objhi i_geber = gt_geber-geber i_trgkz = l_node i_wrttp = l_wfbalbud "Werttyp Saldenbudget i_year_start = p_gjahr i_year_end = p_gjahr i_read_cg = ' ' i_read_cj = on i_read_fmfctrbp = ' ' TABLES t_bpcj = g_t_bpcj.

FM4C_READ_HIERARCHY_SET CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' EXPORTING i_carrier_hierarchy = ' ' i_use_items = ' ' i_no_master_data = on.

FM4C_READ_HIERARCHY CALL FUNCTION 'FM4C_READ_HIERARCHY' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr.

FM4C_GET_INTERNAL_DATA CALL FUNCTION 'FM4C_GET_INTERNAL_DATA' TABLES t_fmhictr = g_t_fmhictr.

FM4C_READ_HIERARCHY_SET * CALL FUNCTION 'FM4C_READ_HIERARCHY_SET' * EXPORTING * I_CARRIER_HIERARCHY = ' ' * I_BALBUD_CARRIER = ON * I_USE_CENTERS = ' '.

FM4C_READ_HIERARCHY * CALL FUNCTION 'FM4C_READ_HIERARCHY' * EXPORTING * I_FIKRS = P_FIKRS * I_GJAHR = P_GJAHR * TABLES * T_FIPEX = G_R_FIPEX.

FM4C_GET_INTERNAL_DATA * CALL FUNCTION 'FM4C_GET_INTERNAL_DATA' * TABLES * T_VFMPG = G_T_FMHIPOS_NEW.

KBPA_FM_CHECK_VALUE CALL FUNCTION 'KBPA_FM_CHECK_VALUE' EXPORTING i_objnr = g_t_update_bpcj-objnr i_posit = g_t_update_bpcj-posit i_geber = g_t_update_bpcj-geber i_gjahr = g_t_update_bpcj-gjahr EXCEPTIONS no_delete_possible = 1.

FM12_POST_CARRIER CALL FUNCTION 'FM12_POST_CARRIER' EXPORTING i_dialog_update = on "synchrone Verbuchnung TABLES t_bpck = g_t_update_bpck t_bpcj = g_t_update_bpcj.

FM12_POST_CARRIER CALL FUNCTION 'FM12_POST_CARRIER'"asynchrone Verbuchnung TABLES t_bpck = g_t_update_bpck t_bpcj = g_t_update_bpcj.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FM_BUD_CHECK_COMPONENT CALL FUNCTION 'FM_BUD_CHECK_COMPONENT' "470 EXPORTING i_fikrs = p_fikrs i_kom_env = 'X'.

FMFK_FIKRS_READ





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

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = g_kom_active.

FM00_CHECK_ISPS * CALL FUNCTION 'FM00_CHECK_ISPS' * IMPORTING * E_DA_ACTIV = G_DA_ACTIVE * E_EU_ACTIV = G_EU_ACTIVE * E_KOM_ACTIV = G_KOM_ACTIVE * E_FLG_ISPS_NOT_ACTIVE = G_FLG_ISPS_NOT_ACTIVE * EXCEPTIONS * OTHERS = 1.

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

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

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

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

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'GJAHR' 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 BPCARRB0 or its description.