SAP Reports / Programs | Financial Accounting | Funds Management(FI-FM) SAP FI

BPFCTRA0 SAP ABAP Report - Analysis Program for Active Availability Control







BPFCTRA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Analysis Program for Active Availability Control Projects BPFCTRA0 When analyzing assigned values posted to projects, the existing information system reports may not be suitable because the assigned value of active availability control is generally different to the assigned value of passive availability control...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 BPFCTRA0 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 BPFCTRA0. "Basic submit
SUBMIT BPFCTRA0 AND RETURN. "Return to original report after report execution complete
SUBMIT BPFCTRA0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Analysis Program for Active Availability Control
Text Symbol: A02 = BPFCTRA0
Text Symbol: A01 = AVA_SUMMATION
Text Symbol: A00 = Object
Text Symbol: 030 = S: Funds Commitment in Balance
Text Symbol: 029 = Availability Control in Object Currency
Text Symbol: 028 = B: Plan Costing Single Position
Text Symbol: 027 = Availability Control in the Controlling Area Currency:
Text Symbol: 026 = Assigned
Text Symbol: 025 = Distributable
Text Symbol: 024 = Controlling element
Text Symbol: 023 = P: Plan value is not on apportioned order / network
Text Symbol: 022 = The system has found inconsistent assigned values
Text Symbol: 021 = Tolerance limits
Text Symbol: 020 = Usage level in %:
Text Symbol: 019 = Activation type:
Text Symbol: 018 = Budget profile:
Text Symbol: 017 = M: Minimum from actual + commitment and plan per order value update
Text Symbol: 016 = C: Cost element is exempt cost element
Text Symbol: 015 = R: Revenue cost element
Text Symbol: 014 = S: Settlement to object with no budget control
Text Symbol: 013 = D: Delivery
Text Symbol: 012 = V: Value type not relevant (<> Act./Plan/Stat.Act./Stat.Plan/Commt)
Text Symbol: 011 = Analysis for
Text Symbol: 010 = (See Note 196149 for more information)
Text Symbol: 009 = Entries in this color make no contribution to the assigned value!
Text Symbol: 008 = You must select only one project
Text Symbol: 007 = Exempt cost elements
Text Symbol: 006 = Availability control against: Budget
Text Symbol: 005 = Availability control against: Releases
Text Symbol: 004 = Availalability control against: Annual values
Text Symbol: 003 = Availability control against: Overall
Text Symbol: 002 = Not active
Text Symbol: 001 = Project
Text Symbol: 000 = Customizing settings


INCLUDES used within this REPORT BPFCTRA0

No INCLUDES are used within this REPORT code!


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:

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES NODETAB = IT_NODES.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = 'BPFCTRA0' CALLBACK_USER_COMMAND = 'SUM_UP_AND_DOCU' STATUS = 'OWN'.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES NODETAB = IT_NODES.

DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING DOKCLASS = 'RE' DOKNAME = 'BPFCTRA0' SHORT_TEXT = 'X' EXCEPTIONS OTHERS = 1.

HFPM_AVAILABILITY_SUMMATION CALL FUNCTION 'HFPM_AVAILABILITY_SUMMATION' EXPORTING gjahr = gjahr lednr = ledger kokrs = kokrs tables it_objnr = tab_objnr et_dispo = tab_dispo EXCEPTIONS NO_PSPNR = 1 OTHERS = 2.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES NODETAB = IT_NODES.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING OBJNR = P_OBJNR STATUS = 'I0005' EXCEPTIONS STATUS_NOT_ACTIVE = 1.

CJPN_GET_PROJECT_DEFINITION CALL FUNCTION 'CJPN_GET_PROJECT_DEFINITION' EXPORTING I_OBJNR = P_PROJ IMPORTING E_PROJ = PROJECT_DEF.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING APPLIK = 'P' PROFIL = PROJECT_DEF-BPROF WRTTP = '41' IMPORTING EX_BP1C = P_BUDGET_PROF.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = AUFK-OBJNR IMPORTING IDENTIFICATION = AUFTRAG.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = ACT01-OBJNR IMPORTING IDENTIFICATION = NP_VORGANG.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING NAME = 'BP_AKT_ART' VALUE = VALUE TEXTS_ONLY = 'X' IMPORTING DD07V_WA = DD07V_WA.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = 'BP_VGROUP1' LANGU = SY-LANGU IMPORTING DD04V_WA = DD04V_WA.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING NAME = 'BP_VGROUP1' VALUE = VALUE TEXTS_ONLY = 'X' IMPORTING DD07V_WA = DD07V_WA.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = 'BP_ACTION' LANGU = SY-LANGU IMPORTING DD04V_WA = DD04V_WA.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING NAME = 'BP_ACTION' VALUE = VALUE TEXTS_ONLY = 'X' IMPORTING DD07V_WA = DD07V_WA.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = 'BP_PROZENT' LANGU = SY-LANGU IMPORTING DD04V_WA = DD04V_WA.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = 'BP_WKGXXX' LANGU = SY-LANGU IMPORTING DD04V_WA = DD04V_WA.

KBPS_FIND_LEDGER





CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = P_WAERS PERIV = P_LMONA IMPORTING LEDGER = P_LEDGER TABLES BP_CUR = LT_DUMMY.

K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATLO I_KOKRS = kokrs IMPORTING E_GJAHR = p_gjahr.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = TEXT-011 TABLES FIELDS = IT_FIELDS.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING OBJNR = P_COSX_SHORT-PAROB IMPORTING OBART = LD_OBART.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = P_COSX_SHORT-GJAHR i_periv = TKA01-LMONA IMPORTING E_FIRST_DAY = FIRST_DAY_OF_YEAR E_LAST_DAY = LAST_DAY_OF_YEAR.

PS_FIND_ACPOS_FOR_KSTAR CALL FUNCTION 'PS_FIND_ACPOS_FOR_KSTAR' EXPORTING i_appl = 'PS' i_kokrs = kokrs i_kstar = P_COSX_SHORT-KSTAR IMPORTING E_ACPOS = ld_acpos EXCEPTIONS ACPOS_NOT_FOUND = 1 INPUT_ERROR = 2 OTHERS = 3.

PS_READ_ACPOS CALL FUNCTION 'PS_READ_ACPOS' EXPORTING i_appl = 'PS' i_kokrs = kokrs i_acpos = ld_acpos IMPORTING E_BELTP = ld_beltp EXCEPTIONS ACPOS_NOT_FOUND = 1 WRONG_INPUT = 2 WRONG_ACPOS_TYPE = 3 OTHERS = 4.

BP_COST_ELEMENT_CHECK CALL FUNCTION 'BP_COST_ELEMENT_CHECK' EXPORTING HRKFT = P_COSX_SHORT-HRKFT KOKRS = KOKRS KSTAR = P_COSX_SHORT-KSTAR EXCEPTIONS NOT_INCLUDED = 1.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING OBJNR = P_COSX_SHORT-OBJNR IMPORTING TRGKZ = TRGKZ.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING OBJNR = P_BP_OBJ IMPORTING TRGKZ = TRGKZ.

CONVERSION_EXIT_BEKNZ_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_BEKNZ_OUTPUT' EXPORTING INPUT = wa_tab-beknz IMPORTING OUTPUT = beknz_out.



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