RCOPCA09 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 RCOPCA09 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_VERAK = Person Responsible
Selection Text: P_SETNR = Profit Center Group
Selection Text: P_PRCTR = Profit Center
Selection Text: P_KOKRS = Controlling Area
Selection Text: P_DATE = Date
Title: Profit Center: Master Data Index
Text Symbol: 501 = or
Text Symbol: 042 = already exists. Overwrite it?
Text Symbol: 041 = Profit Center Group
Text Symbol: 040 = Overwrite Profit Center Group
Text Symbol: 036 = Validity Period
Text Symbol: 035 = Date:
Text Symbol: 034 = Person in Charge
Text Symbol: 033 = Name
Text Symbol: 030 = Profit Ctr
Text Symbol: 020 = Profit Center Master Data Index
Text Symbol: 010 = Controlling Area:
001 PrCtr Valid from Valid to Description Person in Charge
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = 'SELSCRN' TABLES P_EXCLUDE = T_EXCLUDE.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING I_KOKRS = ' ' IMPORTING E_KOKRS = P_KOKRS.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = P_KOKRS POPUP = '1' IMPORTING E_KOKRS = P_KOKRS.
G_BUFFER_RESET CALL FUNCTION 'G_BUFFER_RESET'.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_PROFITCENTER_SETCLASS SHORTNAME = P_SETNR KOKRS = P_KOKRS IMPORTING SETID = P_SETID.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING SETNAME = P_SETID USE_TABLE_BUFFER = 'X' IMPORTING INFO = SET_INFO EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.
K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING BUTTONS = 'X' * class = setclass "RDI_SETS_4.0
G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING SETNAME = P_SETID MAINTENANCE = 'X' IMPORTING HEADER = SET_HEADER INDEX = SET_INDEX EXCEPTIONS SET_NOT_FOUND = 1.
G_INTERVAL_GET_NEXT CALL FUNCTION 'G_INTERVAL_GET_NEXT' EXPORTING CONTROL_BLOCK = 1 INDEX = SET_INDEX IMPORTING ENTRY = SET_ENTRY EXCEPTIONS END_OF_INTERVALS = 1.
K_PCA_RESP_AUTHOR_CHECK_RANGE CALL FUNCTION 'K_PCA_RESP_AUTHOR_CHECK_RANGE' EXPORTING I_KOKRS = AUC_KOKRS I_VORGN = 'STDT' I_ACTVT = AUC_ACTVT TABLES I_PRCTR_RANGE = P_PRCTR.
K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING I_KOKRS = AUC_KOKRS I_PCGRP = PCGRP I_VORGN = 'STDT' I_ACTVT = AUC_ACTVT.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_PROFITCENTER_SETCLASS SHORTNAME = SET_NAME KOKRS = P_KOKRS IMPORTING SETID = SET_ID.
G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING SETNR = SET_ID EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING SETNAME = SET_ID USE_TABLE_BUFFER = 'X' EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING TEXT_AFTER = TEXTLINE2 TEXT_BEFORE = TEXTLINE1 OBJECTVALUE = SET_NAME DEFAULTOPTION = 'N' TITEL = TITEL IMPORTING ANSWER = ANSWER.
G_GENERATE_BASIC_SET CALL FUNCTION 'G_GENERATE_BASIC_SET' EXPORTING LANGU = SY-LANGU SET_HEADER = RGSBS TABLES FORMULA_LINES = TDUMMY SET_LINES = SET_LIST.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING SETNR = SET_ID.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = CEPC-PRCTR IMPORTING OUTPUT = CEPC-PRCTR EXCEPTIONS OTHERS = 1.
CALL FUNCTION 'K_GROUP_NAME_CHECK' EXPORTING GROUP_NAME = SET_NAME EXCEPTIONS ILLEGAL_NAME = 1.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_PROFITCENTER_SETCLASS SHORTNAME = SET_NAME KOKRS = TKA01-KOKRS IMPORTING SETID = SET_ID.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING SETNAME = SET_ID EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.
K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING I_KOKRS = I_KOKRS I_PCGRP = LOC_SET_SNAME I_VORGN = 'STDT' I_ACTVT = '01' "anlegen EXCEPTIONS NO_AUTHORITY = 1 DATA_MISSING = 2 OTHERS = 3.
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 RCOPCA09 or its description.
RCOPCA09 - Profit Center: Master Data Index RCOPCA09 - Profit Center: Master Data Index RCOPCA08 - Profit Center: Plan Line Items RCOPCA08 - Profit Center: Plan Line Items RCOPCA07 - EC-PCA: Display Settings for Profit Center Accounting RCOPCA07 - EC-PCA: Display Settings for Profit Center Accounting