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

BPCOPYI3 SAP ABAP INCLUDE - documentation and ABAP source code







BPCOPYI3 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 BPCOPYI3 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 BPCOPYI3. "Basic submit
SUBMIT BPCOPYI3 AND RETURN. "Return to original report after report execution complete
SUBMIT BPCOPYI3 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 BPCOPYI3

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:

KBPS_GET_WRTTP_TEXT CALL FUNCTION 'KBPS_GET_WRTTP_TEXT' EXPORTING i_wrttp = gt_prot-wrttp IMPORTING e_text_20 = l_f_output_list-txt_wrttp EXCEPTIONS not_found = 1.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING language = sy-langu message_id = gt_prot-arbgb message_number = l_txtnr message_var1 = gt_prot-msgv1 message_var2 = gt_prot-msgv2 message_var3 = gt_prot-msgv3 message_var4 = gt_prot-msgv4 IMPORTING message_text = l_msg_text EXCEPTIONS message_not_found = 1 OTHERS = 2.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = l_arbgb message_number = l_txtnr message_var1 = l_msgv1 message_var2 = l_msgv2 message_var3 = l_msgv3 message_var4 = l_msgv4 IMPORTING message_text = l_msg_text EXCEPTIONS message_not_found = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'ALV_USER_COMMAND' * i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_html_top_of_page = 'TOP_OF_PAGE_HTML' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = l_f_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = l_t_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'X' is_variant = l_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = it_except_qinfo = g_t_except_qinfo * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = g_t_output_list EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'ALV_USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' * i_callback_html_top_of_page = 'TOP_OF_PAGE_HTML' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = l_f_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = l_t_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'X' is_variant = l_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = it_except_qinfo = g_t_except_qinfo * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = g_t_output_list EXCEPTIONS program_error = 1 OTHERS = 2 .

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = p_0486 i_language = sy-langu IMPORTING e_short_text = c_string_header.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = 'X' IMPORTING es_variant = g_variant.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' dokname = dokname msg_var_1 = gt_detail_prot-msgv1 msg_var_2 = gt_detail_prot-msgv2 msg_var_3 = gt_detail_prot-msgv3 msg_var_4 = gt_detail_prot-msgv4 TABLES links = dummy.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_RED_LIGHT' IMPORTING icon_text = g_error_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_GREEN_LIGHT' IMPORTING icon_text = g_ok_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_YELLOW_LIGHT' IMPORTING icon_text = g_warning_icon_text.



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