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

BPF4ANDB SAP ABAP Report - Document: F4







BPF4ANDB 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 BPF4ANDB 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 BPF4ANDB. "Basic submit
SUBMIT BPF4ANDB AND RETURN. "Return to original report after report execution complete
SUBMIT BPF4ANDB 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_AUFNR = D .
Selection Text: P_FAREA = D .
Selection Text: P_FIKRS = D .
Selection Text: P_FIPEX = D .
Selection Text: P_FISTL = D .
Selection Text: P_FONDS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_KOKRS = D .
Selection Text: P_POSID = D .
Selection Text: S_BELNR = D .
Selection Text: S_BLDAT = D .
Selection Text: S_CPUDT = D .
Selection Text: S_USNAM = D .
Title: Document: F4
Text Symbol: 001 = F4: Document Numbers
Text Symbol: 002 = Selection
Text Symbol: 003 = Detailed Selection


INCLUDES used within this REPORT BPF4ANDB

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:

FM_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' "#EC * IMPORTING E_FUND_ACTIVE = g_flg_fund_active.

FMFK_FIKRS_READ call function 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = p_fikrs IMPORTING f_fm01 = fm01 EXCEPTIONS input_error = 1 not_found = 2 others = 3.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_periv = fm01-ca_periv IMPORTING e_gjahr = g_gjahr EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 others = 4.

FM_FIPEX_READ_SINGLE_DATA call function 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING i_fikrs = p_fikrs i_gjahr = g_gjahr i_fipex = p_fipex IMPORTING e_f_vfmpg = l_vfmpg EXCEPTIONS master_data_not_found = 1 hierarchy_data_not_found = 2 input_error = 3 others = 4.

K_KOKRS_READ call function 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 others = 3.

CJPN_GET_WBS_ELEMENT call function 'CJPN_GET_WBS_ELEMENT' EXPORTING i_posid = p_posid IMPORTING e_prps = l_prps EXCEPTIONS input_error = 1 not_found = 2 others = 3.

OBJECT_KEY_GET_OR call function 'OBJECT_KEY_GET_OR' EXPORTING objnr = l_t_objbel-objnr IMPORTING aufnr = l_aufnr EXCEPTIONS not_found = 1 wrong_obart = 2 others = 3.

FM_TEXT_GET_FROM_VORGA call function 'FM_TEXT_GET_FROM_VORGA' EXPORTING i_vorga = u_vorga IMPORTING e_text = c_vtext EXCEPTIONS others = 1.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = 'BPF4ANDB' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' * i_callback_pf_status_set = 'PF_STATUS_SET' i_structure_name = 'G_T_BPBK' is_layout = g_f_layout it_fieldcat = g_t_fieldcat it_sort = g_t_sort is_sel_hide = g_t_sel_crit tables t_outtab = g_t_bpbk exceptions others = 1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list_top_of_page.



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