SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

RKACOR06 SAP ABAP Report - Midyear Change to CoCd/BusArea in Master Record of Cost Center/BusProc







RKACOR06 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 RKACOR06 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 RKACOR06. "Basic submit
SUBMIT RKACOR06 AND RETURN. "Return to original report after report execution complete
SUBMIT RKACOR06 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: P_BUKRS = New Company Code
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_GSBER = New Business Area
Selection Text: P_KOKRS = Controlling Area
Selection Text: P_KOSTL = Cost Center
Selection Text: P_PERIO = Period
Selection Text: P_PLNX = Ignore planning data
Selection Text: P_PRZNR = Business Process
Selection Text: P_TEST = Test Run
Title: Midyear Change to CoCd/BusArea in Master Record of Cost Center/BusProc
Text Symbol: 033 = the dependent objects (profit center, extended
Text Symbol: 032 = versions for the selected period. If you post the changes,
Text Symbol: 031 = Warning: Plan values already exist in the integrated planning
Text Symbol: 030 = Error: Actual postings already exist for the selected period
Text Symbol: 024 = Error: The company code selected has a different currency
Text Symbol: 023 = the selected period
Text Symbol: 022 = must exist, which begins on the first day of
Text Symbol: 021 = Error: To change the cost center or business process, an analysis period
Text Symbol: 013 = BProcess From Date Company Code Business Area
Text Symbol: 012 = Cost Center From Date Company Code Business Area
Text Symbol: 011 = Changes can be executed (test run)
Text Symbol: 010 = Changes were posted
Text Symbol: 006 = exists in the integrated planning versions)
Text Symbol: 005 = Ignore planning data (make changes even if planning data
Text Symbol: 001 = Error: Changes could not be saved (database error)
Text Symbol: 034 = general ledger, etc.) need to be restructured.
Text Symbol: C01 = Specify either the cost center or the business process
Text Symbol: 041 = Business Process
Text Symbol: 040 = Cost Center
Text Symbol: 036 = on the selection screen.
Text Symbol: 035 = To post these changes, you must set the "ignore planning data" switch


INCLUDES used within this REPORT RKACOR06

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:

RK_KOKRS_BUKRS_GSBER CALL FUNCTION 'RK_KOKRS_BUKRS_GSBER' EXPORTING bukrs = cs_info-bukrs kokrs = cs_info-kokrs.

K_READ_T001 CALL FUNCTION 'K_READ_T001' EXPORTING i_bukrs = cs_info-bukrs IMPORTING e_t001 = it_t001.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = cs_info-kokrs IMPORTING e_tka01 = it_tka01.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = cs_info-gjahr i_periv = cs_info-periv i_poper = cs_info-perio IMPORTING e_date = cs_info-datab.

K_CO_OBJECT_TEST_OBJ_PLANNED CALL FUNCTION 'K_CO_OBJECT_TEST_OBJ_PLANNED' EXPORTING i_objnr = itobjnr-objnr i_gjahr = cs_info-gjahr EXCEPTIONS periods_open = 1 OTHERS = 2.

ENQUEUE_EKCSKSE CALL FUNCTION 'ENQUEUE_EKCSKSE' EXPORTING kokrs = cs_info-kokrs kostl = cs_info-kostl EXCEPTIONS foreign_lock = 1.

ENQUEUE_EKCBPRE CALL FUNCTION 'ENQUEUE_EKCBPRE' EXPORTING kokrs = cs_info-kokrs prznr = cs_info-prznr EXCEPTIONS foreign_lock = 1.

DEQUEUE_EKCSKSE CALL FUNCTION 'DEQUEUE_EKCSKSE' EXPORTING kokrs = cs_info-kokrs kostl = cs_info-kostl.

DEQUEUE_EKCBPRE CALL FUNCTION 'DEQUEUE_EKCBPRE' EXPORTING kokrs = cs_info-kokrs prznr = cs_info-prznr.



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