SAP Reports / Programs

RCOPCA09N SAP ABAP Report - Profit Center: Master Data Index







RCOPCA09N 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 RCOPCA09N 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

KE5X - Profit Center: Master Data Index


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 RCOPCA09N. "Basic submit
SUBMIT RCOPCA09N AND RETURN. "Return to original report after report execution complete
SUBMIT RCOPCA09N 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: GD_DATE = Date
Selection Text: GD_PCGRP = Profit Center Group
Selection Text: GT_PRCTR = Profit Center
Selection Text: GT_VERAK = Person Responsible
Selection Text: GT_VERUS = User Responsible
Title: Profit Center: Master Data Index
Text Symbol: 001 = Or
Text Symbol: 101 = Profit Center Master Data Index
Text Symbol: 102 = Controlling Area
Text Symbol: 103 = Key Date
Text Symbol: 201 = Profit Center Group


INCLUDES used within this REPORT RCOPCA09N

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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SELSCRN' TABLES p_exclude = gt_extab.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = ' ' IMPORTING e_kokrs = gd_kokrs.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = gd_kokrs popup = '1' IMPORTING e_kokrs = gd_kokrs.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = id_kokrs IMPORTING e_tka01 = es_tka01 EXCEPTIONS not_found = 1.

G_BUFFER_RESET CALL FUNCTION 'G_BUFFER_RESET'.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = id_pcgrp kokrs = id_kokrs IMPORTING setid = ed_setid.

G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING setname = ed_setid use_table_buffer = 'X' IMPORTING info = ls_set_info EXCEPTIONS set_not_found = 1 OTHERS = 2.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING buttons = 'X' field_name = 'RPRCTR' searchfld = ld_searchfld searchfld_input = ' ' searchfld_required = 'X' table = 'GLPCT' typelist = 'BS' IMPORTING class_name = ld_set_class set_name = ld_set_name EXCEPTIONS no_set_picked = 01.

K_PCA_RESP_AUTHOR_CHECK_RANGE * CALL FUNCTION 'K_PCA_RESP_AUTHOR_CHECK_RANGE' * EXPORTING * i_kokrs = is_tka01-kokrs * i_vorgn = 'STDT' * i_actvt = cd_actvt * TABLES * i_prctr_range = it_prctr.

K_PCA_RESP_AUTHORITY_CHECK * CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' * EXPORTING * i_kokrs = is_tka01-kokrs * i_pcgrp = ld_prctr_group * i_vorgn = 'STDT' * i_actvt = cd_actvt.

G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING setname = id_setid maintenance = 'X' IMPORTING header = ls_set_header index = ld_set_index EXCEPTIONS set_not_found = 1.

G_INTERVAL_GET_NEXT CALL FUNCTION 'G_INTERVAL_GET_NEXT' EXPORTING control_block = 1 index = ld_set_index IMPORTING entry = ls_set_entry EXCEPTIONS end_of_intervals = 1.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = id_kokrs i_prctr = ls_prct2-prctr i_vorgn = 'STDT' i_actvt = '03' i_no_dialog_message = 'X' EXCEPTIONS others = 1.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = id_kokrs i_prctr = ls_prct2-prctr i_vorgn = 'STDT' i_actvt = '03' i_no_dialog_message = 'X' EXCEPTIONS others = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_program = ld_repid i_callback_pf_status_set = 'PF_STATUS_SET_SHOW_LIST' i_callback_user_command = 'CALLBACK_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = 'A' is_variant = ls_variant it_events = lt_event TABLES t_outtab = it_prct2 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_header.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = cd_tcode EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

K_MD_CREATESET CALL FUNCTION 'K_MD_CREATESET' EXPORTING call_prog = 'RCOPCA09N' set_check_proc = cd_form_auth set_class = '0106' set_desc = ld_set_desc set_field = cd_set_field set_table = cd_set_table show_sname = 'X' gd_kokrs = gd_kokrs TABLES settab = lt_set_tab EXCEPTIONS OTHERS = 0.

G_SET_ENCRYPT_SETID





CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = id_setname kokrs = gd_kokrs IMPORTING setid = ld_setid EXCEPTIONS OTHERS = 0.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = gd_kokrs * I_PRCTR = i_pcgrp = id_setname * I_KSTAR = i_vorgn = 'STDT' i_actvt = '01' * I_NO_DIALOG_MESSAGE = ' ' * I_AUTH = * I_ACCTGRP = * I_ACCTRANGE = * EXCEPTIONS * NO_AUTHORITY = 1 * DATA_MISSING = 2 * OTHERS = 3 .



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