SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKE_COPAC_PREFORMS SAP ABAP INCLUDE - RKECOPACPREFORMS







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

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:

RKE_TAB_ENQ_KEY CALL FUNCTION 'RKE_TAB_ENQ_KEY' EXPORTING i_table = 'TKEB' i_key = ls_enq_key_attr EXCEPTIONS foreign_lock = 1 OTHERS = 2.

RKE_READ_ERKRS_MESSAGE CALL FUNCTION 'RKE_READ_ERKRS_MESSAGE' EXPORTING i_erkrs = i_erkrs IMPORTING e_v_tkeb = ls_tkeb.

RKE_MODIFY_ERKRS CALL FUNCTION 'RKE_MODIFY_ERKRS' EXPORTING i_v_tkeb = ls_tkeb.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RKE_READ_ERKRS_MESSAGE CALL FUNCTION 'RKE_READ_ERKRS_MESSAGE' EXPORTING i_erkrs = i_erkrs IMPORTING e_v_tkeb = ls_tkeb.

RKE_MODIFY_ERKRS CALL FUNCTION 'RKE_MODIFY_ERKRS' EXPORTING i_v_tkeb = ls_tkeb.

RKE_TAB_DEQ_KEY CALL FUNCTION 'RKE_TAB_DEQ_KEY' EXPORTING i_table = 'TKEB' i_key = ls_enq_key_attr.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_22 = lw_log_context-sibling.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = lw_log_hdr IMPORTING e_log_handle = g_log_handle_sum.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = lw_log_hdr IMPORTING e_log_handle = g_log_handle_det.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING * I_TEXT = i_msgid = 'BL' i_msgno = 001 i_msgv1 = l_string-part1 i_msgv2 = l_string-part2 i_msgv3 = l_string-part3 i_msgv4 = l_string-part4 * I_PROCESSED = * I_TOTAL = i_output_immediately = 'X' * IMPORTING * E_PROGRESS_SENT = .

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id i_text = -line i_msgtype = 1.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id i_text = -line i_msgtype = 1.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id i_text = -line i_msgtype = 1.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object_id i_text = -line i_msgtype = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_log_handle_det i_s_msg = ls_msg.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = g_log_handle_sum i_msgty = 'S' * I_PROBCLASS = '4' i_text = l_text i_s_context = ls_context EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_OUTPUT_FREE CALL FUNCTION 'BAL_DSP_OUTPUT_FREE' EXCEPTIONS OTHERS = 1.

BAL_DB_SEARCH





CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING * I_CLIENT = SY-MANDT i_s_log_filter = ls_log_filter IMPORTING e_t_log_header = lt_log_header_sum EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 OTHERS = 3.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header_sum IMPORTING e_t_log_handle = gt_log_handle_sum EXCEPTIONS no_logs_specified = 1 log_not_found = 2 * LOG_ALREADY_LOADED = 3 OTHERS = 4.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING * I_CLIENT = SY-MANDT i_s_log_filter = ls_log_filter IMPORTING e_t_log_header = lt_log_header_det EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 OTHERS = 3.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header_det IMPORTING e_t_log_handle = gt_log_handle_det EXCEPTIONS no_logs_specified = 1 log_not_found = 2 * LOG_ALREADY_LOADED = 3 OTHERS = 4.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = ls_log_header-log_handle * I_LANGU = SY-LANGU IMPORTING e_s_log = ls_log EXCEPTIONS log_not_found = 1 * OTHERS = 2 .

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = ls_log_header-log_handle * I_LANGU = SY-LANGU IMPORTING e_s_log = ls_log EXCEPTIONS log_not_found = 1 * OTHERS = 2 .

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ls_log_node-jobcount job_read_jobname = ls_log_node-jobname job_read_opcode = 20 "btc_read_all_jobdata "'19' "=btc_read_jobhead_only IMPORTING job_read_jobhead = ls_job_data * TABLES * job_read_steplist = lt_job_steplist EXCEPTIONS OTHERS = 0.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = g_log_handle_sum IMPORTING e_s_log = ls_log_hdr.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = ls_log_context-jobcount jobname = ls_log_context-jobname EXCEPTIONS OTHERS = 0.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ls_log_context-jobcount job_read_jobname = ls_log_context-jobname job_read_opcode = '19' "=btc_read_jobhead_only IMPORTING job_read_jobhead = ls_job_data EXCEPTIONS OTHERS = 1.

BAL_LOG_HDR_CHANGE CALL FUNCTION 'BAL_LOG_HDR_CHANGE' EXPORTING i_log_handle = g_log_handle_sum i_s_log = ls_log_hdr.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = g_log_handle_det IMPORTING e_s_log = ls_log_hdr.

BAL_LOG_HDR_CHANGE CALL FUNCTION 'BAL_LOG_HDR_CHANGE' EXPORTING i_log_handle = g_log_handle_det i_s_log = ls_log_hdr.

RKE_CHECK_ADDON CALL FUNCTION 'RKE_CHECK_ADDON' EXPORTING i_addonid = 'INSURANCE' IMPORTING e_installed = l_installed.

RKE_CHECK_ADDON CALL FUNCTION 'RKE_CHECK_ADDON' EXPORTING i_addonid = 'FI-CA' IMPORTING e_installed = l_installed.

RKE_CHECK_ADDON CALL FUNCTION 'RKE_CHECK_ADDON' EXPORTING i_addonid = 'EA-FINSERV' IMPORTING e_installed = l_installed.

RKE_REORGCE4_CE CALL FUNCTION 'RKE_REORGCE4_CE' EXPORTING i_param = gs_rfc_par i_segment_int = ls_package-pack_content IMPORTING e_ce4_count = l_ce4_number e_ce4_acct_count = l_ce4_acct_number e_ce4_ce_count = l_ce4_ce_number TABLES t_extract = lt_extract EXCEPTIONS no_authorization = 4 OTHERS = 5.

RKE_REORGCE4_SCAN CALL FUNCTION 'RKE_REORGCE4_SCAN' EXPORTING i_param = gs_rfc_par i_table_scan = cs_package-table_par IMPORTING e_cnt_segm = l_segment_count e_end = l_end e_err_check = l_err_check TABLES t_segment_int = so_paobj t_extract = lt_extract t_tabkey = cs_package-tabkey EXCEPTIONS internal_error = 4 paobjnr_missing = 5 table_not_found = 6 no_authorization = 7 OTHERS = 8.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.




DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT * CALL FUNCTION 'DB_COMMIT'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RKE_COPAC_PRE' i_callback_pf_status_set = 'SET_PF_GRID_STATUS' i_callback_user_command = 'UCOMM_GRID' i_grid_title = ld_grid_title * I_GRID_SETTINGS = is_layout = ls_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_file_struc EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING * LANGUAGE = SY-LANGU popup_title = 'Inkonsistenzen in Objekttabelle:'(154) * START_COLUMN = 10 * START_ROW = 3 text_object = 'REORGCE4_INCONSISTENCY_INFO' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = EXCEPTIONS text_not_found = 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 RKE_COPAC_PREFORMS or its description.