SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

BPCLOSE SAP ABAP Report - Budget Rollup







BPCLOSE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Generated include for enhancement - RUTSCH - 23...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 BPCLOSE 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

FMFG_E_CL0 - Preclosing Rollup


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 BPCLOSE. "Basic submit
SUBMIT BPCLOSE AND RETURN. "Return to original report after report execution complete
SUBMIT BPCLOSE 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: G_VERSN = D .
Selection Text: G_TEST = Test run
Selection Text: G_REV = Revenues
Selection Text: G_PERIO = D .
Selection Text: G_GJAHR = D .
Selection Text: G_FUND = D .
Selection Text: G_FTYPE = D .
Selection Text: G_FIKRS = D .
Selection Text: G_EXP = Expenditures
Selection Text: G_DCTYPE = D .
Selection Text: G_BUDAT = D .
Selection Text: G_BLDAT = D .
Title: Budget Rollup
Text Symbol: 501 = Status
Text Symbol: 500 = Message
Text Symbol: 400 = Hierarchy Doc. Number
Text Symbol: 300 = Entry Doc. Number
Text Symbol: 200 = Budget Category
Text Symbol: 100 = Fund
Text Symbol: 016 = Selection
Text Symbol: 014 = No budget subtype for availability control defined for fund:
Text Symbol: 013 = No fund was found
Text Symbol: 012 = Commitment budget
Text Symbol: 011 = Payment budget
Text Symbol: 010 = Budget
Text Symbol: 009 = No rule defined for fund/subtype:
Text Symbol: 008 = Testrun results:
Text Symbol: 007 = Hierarchy document
Text Symbol: 006 = Entry document
Text Symbol: 005 = Fund
Text Symbol: 004 = The following documents were posted:
Text Symbol: 003 = Version
Text Symbol: 002 = Fiscal year
Text Symbol: 001 = FM area


INCLUDES used within this REPORT BPCLOSE

INCLUDE LFMAUEQU.
INCLUDE LKBPPEQU.
INCLUDE BPCLOSE_I1.
INCLUDE BPCLOSE_I2.





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:

FM4B_GET_ASSIGNED_MULTI CALL FUNCTION 'FM4B_GET_ASSIGNED_MULTI' EXPORTING i_fikrs = g_fikrs i_fund = g_t_fund-fund i_gjahr = g_gjahr i_version = g_versn TABLES t_fmbpcf = g_t_fmbpcf t_fmbpcfindex = g_t_fmbpcfindex EXCEPTIONS profile_not_found = 1 OTHERS = 2.

FM_LEDGER_ROLLUP_FLAG_SET CALL FUNCTION 'FM_LEDGER_ROLLUP_FLAG_SET'.

FM_FG_FUND_STATUS CALL FUNCTION 'FM_FG_FUND_STATUS' EXPORTING i_fm_area = g_fikrs i_fund = g_t_fund-fund i_fund_date = l_next_date IMPORTING e_fund_status = l_fund_status.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = g_fikrs i_posit = g_t_fmbpcf-posit IMPORTING e_fipex = g_t_sender-cmmt_item EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

FM_FIPEX_READ_SINGLE_DATA CALL FUNCTION 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING i_fikrs = g_fikrs i_gjahr = g_gjahr i_fipex = g_t_sender-cmmt_item IMPORTING e_f_vfmpg = lf_vfmpg.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_progname dynumb = l_dynnr TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 1.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = l_fikrs i_object_initial_allowed = 'X' IMPORTING e_objhi = p_objhi.

KBPS_SHOW_VERSIONS CALL FUNCTION 'KBPS_SHOW_VERSIONS' EXPORTING applik = l_funds object = p_objhi geber_all = 'X' wrttp = l_wfbudget wrttp2 = l_wpbudget im_cop_versn = l_cop_versn im_all_versn = l_all_versn IMPORTING version = l_version EXCEPTIONS no_versions = 01.



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