SAP Reports / Programs

BPINDAN2_NEW SAP ABAP Report - AVC: Determining the Index for Assignable BS Element







BPINDAN2_NEW 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 BPINDAN2_NEW 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 BPINDAN2_NEW. "Basic submit
SUBMIT BPINDAN2_NEW AND RETURN. "Return to original report after report execution complete
SUBMIT BPINDAN2_NEW 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_GNJHR = Year of Cash Effectivity
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_GEBER = Fund
Selection Text: P_FISTL = Funds Center
Selection Text: P_FIPOS = Account assignment item
Selection Text: P_FIKRS = Financial Management Area
Selection Text: P_FAREA = Functional Area
Title: AVC: Determining the Index for Assignable BS Element
Text Symbol: 037 = Ext.
Text Symbol: 036 = Own
Text Symbol: 035 = Ext.
Text Symbol: 034 = Soft/Own
Text Symbol: 033 = Hard/Own
Text Symbol: 032 = There is no budget in the budget-bearing element
Text Symbol: 031 = Dstrbutable
Text Symbol: 030 = Assigned
Text Symbol: 020 = There is no referenc to the budget-bearing element from:
Text Symbol: 019 = Commitment budget overall index
Text Symbol: 018 = Payment bdgt annual index
Text Symbol: 017 = Commitment budget annual index
Text Symbol: 016 = Payment bdgt annual index
Text Symbol: 015 = is referenced to
Text Symbol: 014 = Ovrll index
Text Symbol: 013 = Annu. index
Text Symbol: 012 = references
Text Symbol: 011 = Commitment item
Text Symbol: 010 = Funds center:
Text Symbol: 009 = Functional Area
Text Symbol: 004 = Year KW
Text Symbol: 003 = Fiscal Year:
Text Symbol: 002 = Fund:
Text Symbol: 001 = FM Area:


INCLUDES used within this REPORT BPINDAN2_NEW

INCLUDE IFIFMCON_BOOL.
INCLUDE LKBPPEQU.
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:

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = g_kommunen. "KI4K022903

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = ' ' ip_fikrs = p_fikrs ip_fma_objnr = ' ' ip_language = ' ' ip_text = ' ' IMPORTING f_fm01 = g_f_fikrs EXCEPTIONS input_error = 1 not_found = 2.

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

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING ip_fikrs = p_fikrs ip_gjahr = p_gjahr ip_fipos = p_fipos.

GET_FIPOS_FROM_POSIT CALL FUNCTION 'GET_FIPOS_FROM_POSIT' EXPORTING ip_fikrs = p_fikrs ip_fma_objnr = g_objhi ip_posit = u_bp_posit IMPORTING op_fipos = c_bp_fipos.

KBPA_FIFM_GET_UPPER_ELEMENT CALL FUNCTION 'KBPA_FIFM_GET_UPPER_ELEMENT' EXPORTING im_fipos = p_fipos im_fistl = p_fistl im_gjahr = p_gjahr im_fikrs = p_fikrs im_geber = p_geber im_farea = p_farea im_waers = g_waers im_wrttp = u_vf_wrttp im_lednr = g_lednr im_gnjhr = p_gnjhr IMPORTING ex_objnr = l_bp_objnr ex_posit = l_bp_posit ex_farea = l_bp_farea ex_ava_all = l_ava_all.

GET_FIPOS_FROM_POSIT CALL FUNCTION 'GET_FIPOS_FROM_POSIT' EXPORTING ip_fikrs = p_fikrs ip_fma_objnr = g_objhi ip_posit = l_bp_posit IMPORTING op_fipos = l_bp_fipos.

GET_POSIT_FROM_FIPOS CALL FUNCTION 'GET_POSIT_FROM_FIPOS' EXPORTING ip_fikrs = p_fikrs ip_fipos = p_fipos IMPORTING op_fma_objnr = g_objhi op_posit = g_posit.

FM00_CHECK_ISPS * call function 'FM00_CHECK_ISPS' * exporting * i_fikrs = p_fikrs * importing * e_da_activ = g_da_active * exceptions * not_active = 01.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING currency = g_waers "Finanzkreiswährung * NEW_LEDGER = ' ' periv = g_f_fikrs-ca_periv IMPORTING ledger = g_lednr TABLES bp_cur = l_t_dummy.

FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING ip_fikrs = p_fikrs ip_fipos = p_fipos ip_gjahr = p_gjahr IMPORTING f_fmfpo = l_f_fmfpo.

FMFCTR_READ_QUICK CALL FUNCTION 'FMFCTR_READ_QUICK' EXPORTING ip_fictr = p_fistl ip_fikrs = p_fikrs ip_gjahr = p_gjahr "KI4K013531 IMPORTING f_fmfctr = l_f_fmfctr.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' "KI4K016195 EXPORTING "KI4K016195 ip_fikrs = p_fikrs "KI4K016195 ip_fincode = p_geber "KI4K016195 ip_gjahr = p_gjahr "KI4K016195 IMPORTING "KI4K016195 f_fmfincode = l_f_fmfincode. "KI4K016195

FM_AUTH_CHECK_HHM CALL FUNCTION 'FM_AUTH_CHECK_HHM' "KI4K016195 EXPORTING "KI4K016195 i_actvt = fmau_display "KI4K016195 i_fikrs = p_fikrs "KI4K016195 i_versn = ini_versn "KI4K016195 i_authgrp_fictr = l_f_fmfctr-augrp "KI4K016195 i_authgrp_fipex = l_f_fmfpo-augrp "KI4K016195 i_authgrp_fonds = l_f_fmfincode-augrp "KI4K016195 i_fictr = p_fistl "ALNK024330 i_fipex = l_f_fmfpo-FIPEX "ALNK024330 i_fonds = p_geber "ALNK024330 i_flg_fonds_space = l_flg_fund_space "KI4K016919 i_msgty = 'E'. "KI4K016195

FM_AUTH_CHECK_GRP_FUND CALL FUNCTION 'FM_AUTH_CHECK_GRP_FUND' "KI4K016195 EXPORTING "KI4K016195 i_fikrs = p_fikrs "KI4K016195 i_authgrp_fonds = l_f_fmfincode-augrp "KI4K016195 i_fonds = p_geber "ALNK014294 i_actvt = fmau_display "KI4K016195 i_flg_fonds_space = l_flg_fund_space "KI4K016919 i_msgty = 'E'. "KI4K016195

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' "KI4K025571 EXPORTING "KI4K025571 i_fikrs = p_fikrs "KI4K025571 i_actvt = fmau_display "KI4K025571 i_msgty = 'E'. "KI4K025571

FM_COVER_ELIGIBILITY_CUST CALL FUNCTION 'FM_COVER_ELIGIBILITY_CUST' EXPORTING ip_fikrs = p_fikrs ip_gjahr = p_gjahr IMPORTING op_cover_eligibility_activ = l_flg_cover_active EXCEPTIONS no_data_found = 1.

BP_COV_EL_AVAILABLE_GET_FM CALL FUNCTION 'BP_COV_EL_AVAILABLE_GET_FM' EXPORTING i_assigned_hard = l_assigned_hard i_assigned_others = l_assigned_cross i_distributable_hard = l_distributable_own i_distributable_others = l_distributable_cross IMPORTING e_available_others = l_available_others.

FM_FIKRS_CHECK_FAREA_ACTIVE





CALL FUNCTION 'FM_FIKRS_CHECK_FAREA_ACTIVE' EXPORTING i_fikrs = p_fikrs EXCEPTIONS not_farea_active = 1.

BAPI_FUNC_AREA_EXISTENCECHECK CALL FUNCTION 'BAPI_FUNC_AREA_EXISTENCECHECK' EXPORTING functionalareaid = p_farea IMPORTING return = l_bapi_return.

FM_FIKRS_CHECK_FAREA_ACTIVE CALL FUNCTION 'FM_FIKRS_CHECK_FAREA_ACTIVE' EXPORTING i_fikrs = u_fikrs EXCEPTIONS not_farea_active = 1.

FM_COVER_ELIGIBILITY_CUST CALL FUNCTION 'FM_COVER_ELIGIBILITY_CUST' EXPORTING ip_fikrs = u_fikrs ip_gjahr = u_gjahr IMPORTING op_cover_eligibility_activ = l_cov_el_active EXCEPTIONS no_data_found = 1.



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