Database Tables for CO-PA Transaction Data

 

The concepts line item and profitability segment are essential for understanding how data is stored in CO-PA. For example, a line item can be compared to an item in a billing document from the SD component. The combination of characteristic values stored in a line item is what defines the particular profitability segment to which the line item must be posted.

Furthermore, a time-based dimension (the posting period) has to be represented.

The CO-PA data basis, which the system creates when an operating concern is generated, reflects how the information is organized logically.

Table CE1xxxx for actual line items (where xxxx = operating concern) contains all the data at the most detailed level. Plan line items are stored in the table CE2xxxx.

Segment table CE4xxxx, which is located at a higher level, is used to assign segment numbers to each combination of characteristic values. For the first summarization to be performed, at least the document number and the billing item are hidden.

The characteristics that were deactivated from use in the profitability segment in Customizing are also hidden. Segment table CE4xxxx should therefore be optimized for processing data within Profitability Analysis, such as for the information system. Table CE4xxxx_ACCT contains external account assignment information as well as the characteristics for CE4xxxx and serves as the "interface" to other applications.

Segment level CE3xxxx is set up between the segment table and the line items, making time-based classification possible. Alongside value fields, the segment level also contains the characteristics record type, planned/actual indicator, version, and period, as well as some additional technical details. Several lines from the segment level are attached to a particular profitability segment (that is, to a line in the segment table). These lines all have the same segment number but relate to different posting periods.

Each line at the segment level adds together the value fields for a row of line items bearing the same segment number and assigned to the appropriate posting period.

The following provides an overview of the tables:

Costing-Based

Account-Based

CE1xxxx

Actual line items

COEJ

CE2xxxx

Plan line items

COEP

CE3xxxx

Totals records per profitability segment

COSS, COSP

CE4XXXX

Definitions of the profitability segments

CE4xxxx

Example

You have invoiced three documents for customer 0815. The first posting occurs in March (posting period 003), and revenues of 100.00 and 200.00 are posted respectively for the products ART1 and ART2. The second posting occurs in April. Revenues of 400.00 and 800.00 are posted for the products ART1 and ART3 respectively. The third posting also occurs in April. Revenues of 1600.00 and 3200.00 are posted respectively for the products ART1 and ART3. When the line items are posted, the segment table and segment level are updated, producing the following table contents:

Segment Table (CE4xxxx):

Segment Number

Customer

Product

Additional chars

0047

0815

ART1

0048

0815

ART2

0049

0815

ART3

Segment Level (CE3xxxx):

Segment Number

Period

Revenue

Additional value fields

0047

003.2000

100.00

0047

004.2000

2000.00

0048

003.2000

200.00

0049

004.2000

4000.00

Line Item Table CE1xxxx (Planned Data in CE2xxxx):

Segment Number

Period

Document

Item

Customer

Product

Additional chars

Revenue

Additional value fields

0047

003.2000

000007

0001

0815

ART1

100.00

0048

003.2000

000007

0002

0815

ART2

200.00

0047

004.2000

000008

0001

0815

ART1

400.00

0049

004.2000

000008

0002

0815

ART3

800.00

0047

004.2000

000009

0001

0815

ART1

1600.00

0049

004.2000

000009

0002

0815

ART3

3200.00

More Information

For more detailed information on the more technical aspects, see Physical Structure of the Data in CO-PA.