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

RK4CS300_PRE SAP ABAP Report - Reorganization of the Segment Table







RK4CS300_PRE 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 RK4CS300_PRE 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 RK4CS300_PRE. "Basic submit
SUBMIT RK4CS300_PRE AND RETURN. "Return to original report after report execution complete
SUBMIT RK4CS300_PRE 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_CCHECK = Check Operating Concern
Selection Text: P_CE4 = Edit CE4 Table
Selection Text: P_CE4ACC = Edit CE4_ACCT-Table
Selection Text: P_CHECK = Deactivate Prof. Segments
Selection Text: P_INVAL = CE4 Security Buffer
Selection Text: P_LOCK = Lock Operating Concern
Selection Text: P_MEMSA1 = Save Memory
Selection Text: P_NUMDIS = Log: Interim Result
Selection Text: P_RESET = Reactivate Prof. Segments
Selection Text: P_SA_IN = CE4 Security Buffer On / Off
Selection Text: P_S_ACC = Financial Accounting
Selection Text: P_S_BIL = Billing Data
Selection Text: SO_PAOBJ = D .
Selection Text: P_PROT = D .
Selection Text: P_PRETST = D .
Selection Text: P_PREPRD = D .
Selection Text: P_S_SLS = Sales Documents
Selection Text: P_S_PCA = Profit Center Accounting
Selection Text: P_S_OPA = Settlement Rules
Selection Text: P_S_MM = Materials Management
Selection Text: P_S_MISC = Other Tables
Selection Text: P_S_DEL = Deliveries
Selection Text: P_S_CO = Controlling
Selection Text: P_S_CE = Profitability Analysis
Title: Reorganization of the Segment Table
Text Symbol: 424 = Options (Deactivate Prof. Segments)
Text Symbol: 425 = Tables to be Edited (Deactivate Profitability Segments)
Text Symbol: 500 = Read Prof. Segments :
Text Symbol: 501 = Read Table
Text Symbol: 502 = is not checked
Text Symbol: 503 = Check Table
Text Symbol: 504 = Specify CO-PA Type:
Text Symbol: 505 = Controlling Area
Text Symbol: 506 = is not active
Text Symbol: 507 = Op. Concern
Text Symbol: 508 = is not assigned
Text Symbol: 509 = No Op. Concern with
Text Symbol: 510 = Found





Text Symbol: 511 = Only Costing-Based PA is Active for Op. Concern
Text Symbol: 512 = Only Account-Based PA is Active for Op. Concern
Text Symbol: 513 = Costing-Based and Account-Based PA is Active for
Text Symbol: 514 = Check Tables / Deactivate Prof. Segments:
Text Symbol: 515 = No Company Code for Plant
Text Symbol: 516 = Found
Text Symbol: 517 = No Controlling Area for Company Code:
Text Symbol: 518 = Not Maintained
Text Symbol: 519 = Operating concern could not be determined
Text Symbol: 520 = for op. concern:
Text Symbol: 423 = Action Area
Text Symbol: 347 = RUECK
Text Symbol: 348 = CATSCO
Text Symbol: 349 = CATSDB
Text Symbol: 350 = FTPT_REQ_ACCOUNT
Text Symbol: 351 = COMU
Text Symbol: 352 = TCJ_POSITIONS
Text Symbol: 353 = VBREVK
Text Symbol: 354 = CATS_TEMP
Text Symbol: 400 = Expert Mode
Text Symbol: 401 = Tables for Prof. Analysis
Text Symbol: 402 = Tables for Controlling
Text Symbol: 403 = Tables for Billing Docs
Text Symbol: 404 = Tables for Sales Documents
Text Symbol: 405 = Tables for Deliveries
Text Symbol: 406 = Tables for Fin. Accounting
Text Symbol: 407 = Tables for Settlement Rules
Text Symbol: 408 = Tables for Materials Management
Text Symbol: 409 = Tables for Profit Center Accounting
Text Symbol: 410 = Other Tables Containing Prof. Segments
Text Symbol: 411 = Other Settings for Expert Mode
Text Symbol: 420 = Op. concern
Text Symbol: 421 = Program mode
Text Symbol: 422 = Processing
Text Symbol: 521 = Sessn:
Text Symbol: 548 = Tables for Profit Center Accounting
Text Symbol: 549 = Other Tables
Text Symbol: 550 = Select At Least CE4 or CE4_ACCT
Text Symbol: 551 = Checked CE4 Records





Text Symbol: 552 = Checked CE4_ACCT Records
Text Symbol: 553 = No Restriction
Text Symbol: 554 = Complex Restriction
Text Symbol: 555 = frm
Text Symbol: 556 = to
Text Symbol: 557 = Reactivate Operating Concerns
Text Symbol: 558 = Edit CE4 Table:
Text Symbol: 559 = Edit CE4_ACCT Table
Text Symbol: 560 = CE4 Data Records Reactivated in Total
Text Symbol: 561 = Of Which Were Reactivated in Dependency on CE4_ACCT
Text Symbol: 562 = CE4_ACCT Data Records Reactivated
Text Symbol: 563 = CE4 Data Record Reactivated (Selection)
Text Symbol: 564 = Program Parameters:
Text Symbol: 565 = Deactivated Prof. Segments
Text Symbol: 566 = Deactivated Acct Assignmnt Nos
Text Symbol: 567 = No Profitability Segment and No Account Assignment Number Found
Text Symbol: 570 = CE4_FLAG Data Record Reactivated
Text Symbol: 571 = Checked CE4_FLAG Records
Text Symbol: 572 = Unused Prof. Segments CE4_FLAG - in %
Text Symbol: 547 = Tables for Materials Management
Text Symbol: 522 = Deactivate Op. Concerns
Text Symbol: 523 = Processing:
Text Symbol: 524 = Upd. Run
Text Symbol: 525 = Test Run
Text Symbol: 528 = Save Memory
Text Symbol: 529 = Check Operating Concern
Text Symbol: 530 = Lock Operating Concern:
Text Symbol: 531 = Inconsistencies in Master Data:
Text Symbol: 532 = No. Errors
Text Symbol: 533 = Table
Text Symbol: 534 = Error Cause
Text Symbol: 535 = Result of the Run:
Text Symbol: 536 = Unused Profitability Segments in CE4 - in %
Text Symbol: 537 = Unused Prof. Segments in CE4_ACCT - in %
Text Symbol: 538 = Process End
Text Symbol: 539 = All tables are selected
Text Symbol: 540 = Tables for Prof. Analysis
Text Symbol: 541 = Tables for Controlling
Text Symbol: 542 = Billing Doc. Tables



Text Symbol: 543 = Tables for Sales Documents
Text Symbol: 544 = Tables for Deliveries
Text Symbol: 545 = Tables for Fin. Accounting
Text Symbol: 546 = Tables for Settlement Rules
Text Symbol: 124 = Operating Concern
Text Symbol: 125 = No. of Prof.Segment Numbers in System w/o CE4 Record:
Text Symbol: 126 = % of Profability Segments Used in Segment Table
Text Symbol: 127 = % of Profability Segments Used in Acct Assignment Table
Text Symbol: 128 = Test Run
Text Symbol: 129 = Profitability Segmnts in the Segment Table Used Out of
Text Symbol: 130 = Prof.Segments in the Acct Assignment Table Used Out of
Text Symbol: 131 = Prof.Segments in the Segment Table Not Used Out of
Text Symbol: 132 = Prof. Segments in Acct Assignment Table Not Used Out of
Text Symbol: 133 = Test Run
Text Symbol: 134 = Save Memory
Text Symbol: 135 = Read by Package
Text Symbol: 136 = Only Reactivate
Text Symbol: 137 = Operating Concern Lock
Text Symbol: 138 = Test Run -Identical Segments:
Text Symbol: 139 = UpdateRun -Identical Segmnts:
Text Symbol: 140 = Read Table:
Text Symbol: 141 = Identification of Identical CE4 Segmnts:
Text Symbol: 142 = Check Identical CE4 Segments:
Text Symbol: 143 = No. of Duplicates:
Text Symbol: 144 = For ProfSegmt
Text Symbol: 145 = Inconsistent
Text Symbol: 146 = Clean Up Identical CE4 Records:
Text Symbol: 147 = Invalidate Unused Segments in
Text Symbol: 148 = Reactivate Unused Segments in
Text Symbol: 149 = Referenced in
Text Symbol: 150 = Only Costing-Based Prof. Analysis Active for
Text Symbol: 151 = Costing-Based and Account-Based Active for
Text Symbol: 152 = Only Account-Based Prof. Analysis Active for
Text Symbol: 153 = Program Parameter :
Text Symbol: 001 = Program Mode
Text Symbol: 002 = Operating Concern
Text Symbol: 003 = Prof. Segment Number Interval
Text Symbol: 004 = Options
Text Symbol: 005 = Tables to be Processed
Text Symbol: 006 = Only Reactivate Used Prof. Segments
Text Symbol: 100 = Prof. Segment Numbers Not in CE4
Text Symbol: 101 = AcctAssignmnt Nos Not in CE4
Text Symbol: 102 = Prof. Segment Numbers Not in Acct
Text Symbol: 103 = Errors
Text Symbol: 104 = Table with Errors
Text Symbol: 105 = % of Prof. Segments Not Used in the Acct Assignment Table
Text Symbol: 106 = & of Prof. Segments Not Used in the Segment Table
Text Symbol: 107 = Search Table
Text Symbol: 108 = Not in CE4
Text Symbol: 109 = No Company Code for Plant
Text Symbol: 110 = determinable
Text Symbol: 111 = Company Code from Plant:
Text Symbol: 112 = and Company Code:
Text Symbol: 113 = different
Text Symbol: 114 = Sales Organization:
Text Symbol: 115 = is not available
Text Symbol: 116 = Company Code from Sales Org:
Text Symbol: 117 = No Controlling Area for Company Code:
Text Symbol: 118 = Neither Company Code Nor Controlling Area Found
Text Symbol: 119 = Inconsistent CO-Area from Table:
Text Symbol: 120 = and Org. Data:
Text Symbol: 121 = Controlling Area
Text Symbol: 122 = is not active
Text Symbol: 123 = is not assigned
Text Symbol: 317 = EBKN
Text Symbol: 318 = EBSEG
Text Symbol: 319 = EKKN
Text Symbol: 320 = ESKN
Text Symbol: 321 = MSEG
Text Symbol: 322 = RBCO
Text Symbol: 323 = RKPF
Text Symbol: 324 = MWXMSEG
Text Symbol: 325 = MWZMSEG
Text Symbol: 326 = GLPCA
Text Symbol: 327 = GLPCP
Text Symbol: 328 = GLPPC
Text Symbol: 329 = GLSPC
Text Symbol: 330 = QALS
Text Symbol: 331 = VBSEGA
Text Symbol: 332 = CBSEGS
Text Symbol: 333 = VFKN
Text Symbol: 334 = VSEBKN_CN
Text Symbol: 335 = VSVBAP_CN
Text Symbol: 336 = WBRP
Text Symbol: 337 = VBREVE
Text Symbol: 338 = COIFT
Text Symbol: 339 = AFRV
Text Symbol: 340 = AFRV_DEL
Text Symbol: 341 = ASSOB
Text Symbol: 342 = KMZEI
Text Symbol: 343 = T076K
Text Symbol: 344 = T5DBV
Text Symbol: 345 = T5DBX
Text Symbol: 346 = TQ8CO
Text Symbol: 154 = Inconsistencies in Segment Table:
Text Symbol: 155 = Inconsistencies in Master Data:
Text Symbol: 156 = Results of the Run:
Text Symbol: 157 = Invalidate Profitability Segments
Text Symbol: 158 = Reactivate Used Inactive Profitability Segments
Text Symbol: 159 = Check References
Text Symbol: 160 = Search in All Selected Tables:
Text Symbol: 161 = Read Segments:
Text Symbol: 162 = Determine Type of Prof. Analysis:
Text Symbol: 165 = No Search in Table
Text Symbol: 202 = Do you really want to execute the program?
Text Symbol: 203 = Yes
Text Symbol: 204 = No
Text Symbol: 205 = Execute
Text Symbol: 301 = CE1 Table
Text Symbol: 302 = CE2 Table
Text Symbol: 303 = CE3 Table
Text Symbol: 304 = CE4_ACCT Table
Text Symbol: 305 = CE4_KENC Table
Text Symbol: 306 = COEP
Text Symbol: 307 = COEJ
Text Symbol: 308 = COSP
Text Symbol: 309 = COSS
Text Symbol: 310 = VBRP
Text Symbol: 311 = VBAP
Text Symbol: 312 = LIPS
Text Symbol: 313 = BSEG
Text Symbol: 314 = ACCTIT
Text Symbol: 315 = COBRB
Text Symbol: 316 = AUAA


INCLUDES used within this REPORT RK4CS300_PRE

INCLUDE ARCH_PREPROC_PRG_STANDARD1.


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:

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = list_tab EXCEPTIONS not_found = 1 OTHERS = 2.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' TABLES listobject = list_tab.



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