SAP Reports / Programs | Public Sector Management | Funds Management | Budgeting and Availability Control(PSM-FM-BU) SAP PSM

BPCOPY03I02 SAP ABAP INCLUDE - documentation and ABAP source code







BPCOPY03I02 is a standard ABAP INCLUDE 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 BPCOPY03I02 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 BPCOPY03I02. "Basic submit
SUBMIT BPCOPY03I02 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCOPY03I02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT BPCOPY03I02

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:

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = u_fikrs IMPORTING f_fm01 = l_f_fm01.

KBPS_OBJHI_NAME_GENERATE CALL FUNCTION 'KBPS_OBJHI_NAME_GENERATE' EXPORTING i_application = l_funds i_fm_area = u_fikrs IMPORTING e_objhi = g_objhi.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = u_budat i_periv = g_ca_periv IMPORTING e_gjahr = l_gjahr.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = u_fikrs i_actvt = fmau_ve_cop i_msgty = 'E'.

FM_AUTH_CHECK_VERSION CALL FUNCTION 'FM_AUTH_CHECK_VERSION' EXPORTING i_fikrs = u_fikrs i_versn = u_target_vers i_actvt = fmau_ve_cop i_msgty = 'E'.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = g_fikrs ip_fincode = g_r_fund-low.

KBPS_CHECK_VERSION CALL FUNCTION 'KBPS_CHECK_VERSION' EXPORTING im_applik = l_funds im_version = u_source_vers im_wrttp = l_wfbudget.

KBPS_CHECK_VERSION CALL FUNCTION 'KBPS_CHECK_VERSION' EXPORTING im_applik = l_funds im_version = u_target_vers im_wrttp = l_wfbudget.

KBPR_READ_BPDX CALL FUNCTION 'KBPR_READ_BPDX' TABLES t_belnr = l_t_belnr t_bpdk = c_t_bpdk * T_BPDKT = t_bpdz = c_t_bpdz * T_BPDZT = t_bpdj = c_t_bpdj t_bpdg = c_t_bpdg EXCEPTIONS not_found = 1 OTHERS = 2 .

KBPI_BUDGET_ENTER CALL FUNCTION 'KBPI_BUDGET_ENTER' EXPORTING testrun = off parked = u_parked doc_header = l_f_fmdocheader IMPORTING entry_doc_number = l_target_doc_number * HIERARCHY_DOC_NUMBER = TABLES doc_items = l_t_fmdocitems return = l_t_bpakreturn.

KBPI_BUDGET_DISTRIBUTE CALL FUNCTION 'KBPI_BUDGET_DISTRIBUTE' EXPORTING testrun = off parked = u_parked doc_header = l_f_fmdocheader IMPORTING entry_doc_number = l_target_doc_number * HIERARCHY_DOC_NUMBER = TABLES doc_items_sender = l_t_fmdocitems_sender doc_items_receiver = l_t_fmdocitems_receiver return = l_t_bpakreturn.

KBPI_BUDGET_TRANSFER CALL FUNCTION 'KBPI_BUDGET_TRANSFER' EXPORTING testrun = off parked = u_parked doc_header = l_f_fmdocheader IMPORTING entry_doc_number = l_target_doc_number * HIERARCHY_DOC_NUMBER = TABLES doc_items_sender = l_t_fmdocitems_sender doc_items_receiver = l_t_fmdocitems_receiver return = l_t_bpakreturn.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = g_fikrs i_posit = u_posit IMPORTING e_fipex = c_fipex EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = 'USER_COMMAND' it_fieldcat = g_t_fieldcat it_events = ut_events TABLES t_outtab = g_t_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = ' ' it_list_commentary = gt_list_top_of_page.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'XECHTL' i_language = sy-langu IMPORTING e_short_text = g_str_upd.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'XTESTR' i_language = sy-langu IMPORTING e_short_text = g_str_test.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'FIKRS' i_language = sy-langu IMPORTING e_short_text = g_str_fikrs.

PAK_GET_SHORTTEXT_DTEL





CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'GJAHR' i_language = sy-langu IMPORTING e_short_text = g_str_fyear.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'LONGTEXT' i_language = sy-langu IMPORTING e_short_text = g_str_longtxt.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'FM_VORGA' i_language = sy-langu IMPORTING e_short_text = g_str_budtype.

KBPS_GET_TEXT_PROCESS CALL FUNCTION 'KBPS_GET_TEXT_PROCESS' EXPORTING vorga = l_vbud fmarea = g_fikrs IMPORTING e_string_20 = c_bud_type.

KBPS_GET_TEXT_PROCESS CALL FUNCTION 'KBPS_GET_TEXT_PROCESS' EXPORTING vorga = l_vbr0 fmarea = g_fikrs IMPORTING e_string_20 = c_bud_type.

KBPS_GET_TEXT_PROCESS CALL FUNCTION 'KBPS_GET_TEXT_PROCESS' EXPORTING vorga = l_vbn0 fmarea = g_fikrs IMPORTING e_string_20 = c_bud_type.

KBPS_GET_TEXT_PROCESS CALL FUNCTION 'KBPS_GET_TEXT_PROCESS' EXPORTING vorga = l_vbfr fmarea = g_fikrs IMPORTING e_string_20 = c_bud_type.

KBPS_GET_TEXT_PROCESS CALL FUNCTION 'KBPS_GET_TEXT_PROCESS' EXPORTING vorga = l_vbub fmarea = g_fikrs IMPORTING e_string_20 = c_bud_type.



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