Archiving Profitability Segments
-
Upload
kamlesh-patel -
Category
Documents
-
view
233 -
download
1
Transcript of Archiving Profitability Segments
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 1/8
Archiving Profitability Segments
• Page restrictions apply
• Attachments:2
• Added by Lucas Michel, last edited byLucas Michelon Feb 14, 2012 (view change)
Purpose
The purpose of this WIKI is to show the difference between archiving in different releases and provide the necessary steps
for all of them.
Overview: An introduction of archiving:
Definition
When you generate an operating concern in Profitability Analysis (CO-PA), the system automatically generates the following
archiving objects and the corresponding write, delete, and reload programs (xxxx is the name of the operating concern):
• Forcosting-based Profitability Analysis:
¡ COPAA_xxxx
¡ COPAB_xxxx
¡ COPA1_xxxx
• Foraccount-based Profitability Analysis: COPA2_xxxx
• ForProfitability Segments: COPAC_xxxx
The archiving objects COPAA_xxxx and COPAB_xxxx replace the archiving object COPA1_xxxx.
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 2/8
Although the archiving object COPA1_xxxx can still be used, we recommend only using the new archiving objects. For
example, only these archiving objects have an IMG activity for preparing archiving in Customizing, whereas the archiving
object COPA1_xxxx does not.
Structure
You can archive the following tables incosting-based Profitability Analysis:
• Actual line items (table(s) CE1xxxx) with the archiving object COPAA_xxxx or COPA1_xxxx (not recommended)
• Plan line items (table(s) CE2xxxx) with the archiving object COPAA_xxxx or COPA1_xxxx (not recommended)
• Segment level (table(s) CE3xxxx) with the archiving object COPAB_xxxx or COPA1_xxxx (not recommended)
• Transaction-based distribution (table CEALE01) with the archiving object COPAA_xxxx or COPA1_xxxx (not
recommended)
Table CEAL01 can only be archived if distributed Profitability Analysis (with ALE) is active and data is distributed by
transaction. Table CEALE01 in the target system contains the references to the line items in the sender system.
For background information on tables in costing-based Profitability Analysis, seeDatabase Tables for CO-PA Transaction
Data.)
Inaccount-based Profitability Analysis, you can use archiving object COPA2_xxxx to archive the following:
• CO line items (tables concerned: COEP, COEJ, COBK)
• Totals record tables (tables concerned: COSS, COSP, COKA)
Forboth forms of Profitability Analysis, you can use archiving object COPAC_xxxx or COPA1_xxxx (not recommended)
to archive the following:
• Profitability segments (table(s) concerned: CE4xxxx)
• Account assignment number (tables concerned: CE4xxxx_ACCT, CE4xxxx_FLAG)
To restrict the data to be archived, you can select different selection parameters in archiving. For this, you can choose from
some fixed selection parameters (seeCreating Archive Files (CO-PA)). Moreover, in Customizing for Profitability Analysis
under Tools ® Utilities ® Prepare Archiving, you can select characteristics from the profitability segment characteristics
(segment level characteristics) and define them as selection parameters.
Integration
Archive Information System (AS)
Since the archiving objects in Profitability Analysis depend on the operating concern (which is generated at customer) and
on the Customizing settings under Tools ® Utilities ® Prepare Archiving, the corresponding information structures and the
field catalog must also be generated for theArchive Information System (AS).
The information structure and the field catalog are generated on the basis of thedata object definition that you created in
the IMG activity Prepare Archiving. From the technical standpoint, a data object corresponds to all data records in an archive
file with the same combination of parameter values. With an optimal data object definition, the time required for AS to access
the data in the archive can be reduced considerably. For more information, see the documentation on the IMG activity
Prepare Archiving.
The information structure and the field catalog are also generated in the IMG activity Prepare Archiving. The following
archiving objects are generated for the individual archiving objects:
• Archiving object COPAA_xxxx: Field catalog and information structure SAP_COPAA_xxxx
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 3/8
• Archiving object COPAB_xxxx: Field catalog SAP_COPAB_xxxx
• Archiving object COPA2_xxxx: Field catalog and information structure SAP_COPA2_xxxx
In order that it be possible to use the information structures in a production system, they then have to be activated in AS. For
more information about information structures, seeUsing the Archive Information System. For information about field
catalogs, see under Field Catalogs.
To display archived data from thesegment level (table CE3xxxx), you can (and should) use the Information System in
Profitability Analysis. Here, you can define profitability reports that access the archive. When you define a profitability report
(seeDefining Profitability Reports), you activate the selectionUse archived data on the Options tab page.
To display archived data fromline items (tables CE1xxxx, CE2xxxx for costing-based Profitability Analysis and COEP,
COEJ, COBK for account-based Profitability Analysis), you can and should use the transactions for displaying line items:
KE24, KE25, and KE30 (for reports based on line items). You can display the data from the archive once you have set the
Archive indicator in the menu under Extras® Data Source.
Symptom
For releases 4.5B to 6.0:
It is not possible to archive profitability segments from tables CE4XXXX or CE4XXXX_ACCT as of Release 4.5 by using the
generated archiving
objects COPA1_XXXX and COPA2_XXXX (XXXX = operating concern).
From release 6.0 and above:
You need a suitable archiving object for your CE4XXXX_ACCT table.
Archiving in older releases (5.0 and below)
You use the commom archiving objects COPA1_XXXX and COPA2_XXXX. You notice that regular table are selected
(COBK, COEP, etc...), however, CE4* tables are not.
You have data in CE4XXXX_ACCT and need to stop updating this table for any reason (such as an iminent upgrade).
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 4/8
SOLUTION:
Program RKEREOCE4 must be used in this case.
It is necessary to deactivate the profitability segments that must be archived (in < 6.0 Releases).
Note 383728 provides special programs regarding the profitability segment tables:
• ZZREOCE4_40.TXT for Release 4.0
• ZZREOCE4_NEW_45.TXT for Release 4.5
• ZZREOCE4_NEW_46B.TXT for Release 4.6B
• ZZREOCE4_NEW_46C.TXT for Release 4.6C
• ZZREOCE4_NEW_470.TXT for Release 4.70
As of Release 4.70 Support Package 13, the function for archiving unused profitability segments and account assignment
numbers is contained in
the standard system. In addition, standard program RKEREOCE4 determines the unused profitability segments and account
assignment numbers. The
only difference between standard program RKEREOCE4 and program ZZREOCE4_NEW_470 stored on sapserv3 is that in
the standard program, the
unused 'CE4<operating concern>_FLAG' entries are deactivated on the basis of unused account assignment numbers
('CE4<operating
concern>_ACCT') in addition, or the deactivated 'CE4<operating concern>_FLAG' entries are reactivated in program mode
'Reactivate
profitability segments'.
IMPORTANT: Do not use standard program RKEREOCE4 up to and including Release 4.70 Support Package 13
because it is incorrect. Up to and
including Release 4.70 Support Package 13, use the program that is stored on sapserv3.
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 5/8
Archiving in 6.0 and above:
You may use archiving object COPAC_XXXX to archive the obsolete profitability segments.
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 6/8
Related Content
Related Documents
SAP HELP: Archiving CO-PA Transaction Data
Related Notes
• SAP NOTE383728 - Archiving profitability segments
• SAP NOTE571189 - Deactivation of CE4xxxx_ACCT entries
• SAP NOTE1038939 - Archiving profitability segments II
• SAP NOTE1684574 - Archiving CE4XXXX_ACCT in older Releases
Labels parameters
Labels
Archiving CO-PA Transaction Data
Definition
When you generate an operating concern in Proftability Analysis (CO-PA), thesystem automatically generates the ollowing archiving obects an! the
correspon!ing write, !elete, an! reloa! programs ("""" is the name o the operating
concern)#
• For costing-based Profitability Analysis:
COPAA_xxxx
COPAB_xxxx
COPA1_xxxx
• For account-based Profitability Analysis: COPA2_xxxx
• For Profitability Segments: COPAC_xxxx
The archiving objects COPAA_xxxx and COPAB_xxxx replace the archiving objectCOPA1_xxxx.
Althogh the archiving object COPA1_xxxx can still be sed! "e reco##end onl$ sing thene" archiving objects. For exa#ple! onl$ these archiving objects have an %&' activit$ (orpreparing archiving in Csto#i)ing! "hereas the archiving object COPA1_xxxx does not.
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 7/8
Structure $ou can archive the ollowing tables in costing-based Proftability Analysis#
• Actual line items *table*s+ C,1xxxx+ "ith the archiving object COPAA_xxxx or COPA1_xxxx *not
reco##ended+
• Plan line items *table*s+ C,2xxxx+ "ith the archiving object COPAA_xxxx or COPA1_xxxx *not
reco##ended+
• Segment level *table*s+ C,-xxxx+ "ith the archiving object COPAB_xxxx or COPA1_xxxx *not
reco##ended+
• Transaction-based distribution *table C,A,/1+ "ith the archiving object COPAA_xxxx or
COPA1_xxxx *not reco##ended+
Table C,A/1 can onl$ be archived i( distribted Pro(itabilit$ Anal$sis *"ith A,+ is active anddata is distribted b$ transaction. Table C,A,/1 in the target s$ste# contains the re(erences tothe line ite#s in the sender s$ste#.
For bac0grond in(or#ation on tables in costingbased Pro(itabilit$ Anal$sis! see
atabase Tables (or COPA Transaction ata.+%n account-based Proftability Analysis, you can use archiving obect
COPA&'"""" to archive the ollowing#
• CO line ite#s *tables concerned: CO,P! CO,3! COB4+
• Totals record tables *tables concerned: CO55! CO5P! CO4A+
or both orms o Proftability Analysis, you can use archiving obect
COPAC'"""" or COPA'"""" (not recommen!e!) to archive the ollowing#
• Pro(itabilit$ seg#ents *table*s+ concerned: C,6xxxx+
• Accont assign#ent n#ber *tables concerned: C,6xxxx_ACCT! C,6xxxx_FA'+
*o restrict the !ata to be archive!, you can select !i+erent selection parameters inarchiving or this, you can choose rom some f"e! selection parameters (see
Creating Archive iles (CO-PA)) oreover, in Customi.ing or Proftability Analysis
un!er Tools → Utilities → Prepare Archiving , you can select characteristics rom the
proftability segment characteristics (segment level characteristics) an! !efne them
as selection parameters
Integration
Archive Information System (AS)
/ince the archiving obects in Proftability Analysis !epen! on the operating concern
(which is generate! at customer) an! on the Customi.ing settings un!er Tools →
Utilities → Prepare Archiving , the correspon!ing inormation structures an! the fel!
catalog must also be generate! or the Archive %normation /ystem (A/)
*he inormation structure an! the fel! catalog are generate! on the basis o the
data object defnition that you create! in the %0 activity Prepare Archiving rom
the technical stan!point, a !ata obect correspon!s to all !ata recor!s in an archive
8/10/2019 Archiving Profitability Segments
http://slidepdf.com/reader/full/archiving-profitability-segments 8/8
fle with the same combination o parameter values With an optimal !ata obect
!efnition, the time re1uire! or A/ to access the !ata in the archive can be re!uce!
consi!erably or more inormation, see the !ocumentation on the %0 activity
Prepare Archiving
*he inormation structure an! the fel! catalog are also generate! in the %0activity Prepare Archiving *he ollowing archiving obects are generate! or the
in!ivi!ual archiving obects#
• Archiving object COPAA_xxxx: Field catalog and in(or#ation strctre 5AP_COPAA_xxxx
• Archiving object COPAB_xxxx: Field catalog 5AP_COPAB_xxxx
• Archiving object COPA2_xxxx: Field catalog and in(or#ation strctre 5AP_COPA2_xxxx
%n or!er that it be possible to use the inormation structures in a pro!uction system,
they then have to be activate! in A/ or more inormation about inormation
structures, see 2sing the Archive %normation /ystem. or inormation about fel!
catalogs, see un!er iel! Catalogs
To displa$ archived data (ro# the segment level *table C,-xxxx+! $o can *and shold+ se
the %n(or#ation 5$ste# in Pro(itabilit$ Anal$sis. 7ere! $o can de(ine pro(itabilit$ reports
that access the archive. 8hen $o de(ine a pro(itabilit$ report *see e(ining Pro(itabilit$9eports+! $o activate the selection Use archived data on the Options tab page.
To displa$ archived data (ro# line items *tables C,1xxxx! C,2xxxx (or costingbasedPro(itabilit$ Anal$sis and CO,P! CO,3! COB4 (or accontbased Pro(itabilit$ Anal$sis+! $ocan and shold se the transactions (or displa$ing line ite#s: 4,26! 4,2! and 4,-/ *(orreports based on line ite#s+. ;o can displa$ the data (ro# the archive once $o have set
the Archive indicator in the #en nder Extras→ Data Source.