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

BPFCTRA1 SAP ABAP Report - Analysis Program for Active Availability Control







BPFCTRA1 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 orders BPFCTRA1 When assigned values posted to orders are analyzed, the existing information system reports may be unsuitable 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 BPFCTRA1 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 BPFCTRA1. "Basic submit
SUBMIT BPFCTRA1 AND RETURN. "Return to original report after report execution complete
SUBMIT BPFCTRA1 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: 011 = Analysis for
Text Symbol: 010 = (for more information, see note no. 392730)
Text Symbol: 009 = Entries in this color make no contribution to the assigned value
Text Symbol: 008 = Select only orders from one order type
Text Symbol: 007 = Exempt cost elements
Text Symbol: 006 = Current budget
Text Symbol: 005 = Assigned
Text Symbol: 004 = Availalability control against: Annual values
Text Symbol: 003 = Availability control against: Overall
Text Symbol: 002 = Availability Control in the Controlling Area Currency:
Text Symbol: 001 = Order type
Text Symbol: 000 = Customizing settings
Text Symbol: 012 = W: Value type not relevant (<> Actual/staistical actual/commitment)
Text Symbol: 022 = Availability Control in Object Currency
Text Symbol: 021 = Tolerance limits
Text Symbol: 020 = Usage level in %:
Text Symbol: 019 = Activation type:
Text Symbol: 018 = Budget profile:
Text Symbol: 017 = The system has found inconsistent assigned values
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 = Order


INCLUDES used within this REPORT BPFCTRA1

INCLUDE FKADBCOM.


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 = callback_prog 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 = callback_prog short_text = 'X' EXCEPTIONS OTHERS = 1.

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.

K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_kokrs = kokrs-low 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 = lmona IMPORTING e_first_day = first_day_of_year e_last_day = last_day_of_year.

BP_COST_ELEMENT_CHECK CALL FUNCTION 'BP_COST_ELEMENT_CHECK' EXPORTING hrkft = p_cosx_short-hrkft kokrs = kokrs-low kstar = p_cosx_short-kstar EXCEPTIONS not_included = 1.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = wa_tab-objnr+2(12) IMPORTING output = wa_node-text.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = kokrs-low IMPORTING e_tka01 = wa_tka01.

READ_T003O





CALL FUNCTION 'READ_T003O' EXPORTING i_auart = p_auart IMPORTING e_t003o = order_type.

KBPS_CHECK_PROFIL CALL FUNCTION 'KBPS_CHECK_PROFIL' EXPORTING applik = 'O' profil = budget_prof-profil wrttp = '41' IMPORTING ex_bp1c = budget_prof.

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING currency = p_waers periv = p_lmona IMPORTING ledger = p_ledger TABLES bp_cur = lt_dummy.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = us_tab-objnr langu = sy-langu datum = sy-datlo IMPORTING e_identification = lf_idchar EXCEPTIONS obart_invalid = 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 BPFCTRA1 or its description.