13
Cost Centre Accounting Profit Centre Accounting Business Warehouse Design Documentation document.doc 12/05/22 Page 1 of 13 SAP SAP SAP SAP

PCA Doc

Embed Size (px)

DESCRIPTION

va

Citation preview

Page 1: PCA Doc

Cost Centre Accounting

Profit Centre Accounting

Business Warehouse

Design

Documentation

document.doc 17/04/23 Page 1 of 10

S A PS A PS A PS A P

Page 2: PCA Doc

Cost Centre Accounting

PCA Design Summary:

The design has split the data from a single cube structure to multiple cubes according to the following criteria:

Fiscal Yearo Current Year.o Last Year.o All Previous Years Data.

Split by Data Sourceo 0EC_PCA_3o 0EC_PCA_1o 0EC_PCA_4

Split by Actual & Plan Data

A multi-provider is used to integrate data across all Cubes for user reporting.

document.doc 17/04/23 Page 2 of 10

S A PS A PS A PS A P

Page 3: PCA Doc

Cost Centre Accounting

1. PCA Primary Data Flow

2.

Source System = PAE

document.doc 17/04/23 Page 3 of 10

S A PS A PS A PS A P

Page 4: PCA Doc

Cost Centre Accounting

3.

4. PCA Multiprovider

Following are the details:

MP Technical Name: ZPCA_MP

Source Data Providerso ZPCA_C01 - Profit Centre Accounting - Current Year Actualo ZPCA_C02 - Profit Centre Accounting - Previous Year

Actualo ZPCA_C03 - Profit Centre Accounting - Plan Datao ZPCA_C04 - Profit Centre Accounting - Accounting Datao ZPCA_C05 - Profit Centre Accounting - Archived Actual

document.doc 17/04/23 Page 4 of 10

S A PS A PS A PS A P

Page 5: PCA Doc

Cost Centre Accounting

5. ZPCA_C01

Name: Cost Centre Accounting – Current Year Partitioning Criteria:

i. Fiscal Yearii. Value Typeiii. Data Source

Partitioning valuei. Update rule for Info Object 0FISCYEAR Fiscal Year: The

rule checks and validates that the fiscal year value should fall with in current fiscal year. If the value is out side current fiscal year then the record is not updated in the cube. Else data is update in Previous year cube.

ii. Update rule for Info Object 0VTYPE Value Type for Reporting checks actual and plan data. If the Value type value is equal to ’10’ (Actual Data) then the record is updated in the cube.

iii. The cube only gets loaded from 0EC_PCA_3. Data Source: 0EC_PCA_3 Daily Delta load from R/3 ABAP Routine in Update Rules.

i. 0FISCYEAR Fiscal Year : The routine converts the system date into Current fiscal Year and compare with the fiscal year coming in the transaction data. If the two values are identical then the result is updated in the cube. Else the result is updated in the last year cube (ZPCA_C02).

ii. 0VTYPE Value Type : The routine checks the value of Value type for reporting. If the value is not equal to ‘10’ (actual data) then the data is not updated.

iii. 0CURTYPE Currency Type: The routine check the values of Currency type coming in the transaction and discard the data record with Currency Type Value ‘00’ (Document currency) as this is not required for reporting. Valid currency types for update are:

1. 10 – Company Code Currency2. 30 – Group Currency

document.doc 17/04/23 Page 5 of 10

S A PS A PS A PS A P

Page 6: PCA Doc

Cost Centre Accounting

6. ZPCA_C02

Name: Cost Centre Accounting – Last Year Partitioning Criteria:

i. Fiscal Yearii. Value Typeiii. Data Source

Partitioning valuei. Update rule for Info Object 0FISCYEAR Fiscal Year: The

rule checks and validates that the fiscal year value should be less then current fiscal year value. If the value is less then current fiscal year the record is updated in the cube.

ii. Update rule for Info Object 0VTYPE Value Type for Reporting checks actual and plan data. If the Value type value is equal to ’10’ (Actual Data) then the record is updated in the cube.

iii. The cube only gets loaded from 0EC_PCA_3. Data Source: 0EC_PCA_3 Daily Delta load from R/3 ABAP Routine in Update Rules.

i. 0FISCYEAR Fiscal Year : The routine converts the system date into Current fiscal Year and compare with the fiscal year coming in the transaction data. If the two values are identical the result is updated in the cube. Else the result is updated in the last year cube (ZPCA_C02).

ii. 0VTYPE Value Type : The routine checks the value of Value type for reporting. If the value is not equal to ‘10’ (actual data) then the data is not updated.

iii. 0CURTYPE Currency Type: The checks the values of Currency type coming in the transactions and discards the data record with Currency Type Value ‘00’ (Document currency) as this is not required for reporting. Valid currency type for update are:

1. 10 – Company Code Currency2. 30 – Group Currency

IMP: Please note that data older then two years will also gets updated in the this cube if coming from R/3.

document.doc 17/04/23 Page 6 of 10

S A PS A PS A PS A P

Page 7: PCA Doc

Cost Centre Accounting

7. ZPCA_C03

Name: Profit Centre Accounting - Plan Data Partitioning Criteria:

i. Value Typeii. Data Source

Partitioning valuei. Update rule for Info Object 0VTYPE Value Type for

Reporting checks actual and plan data. If the Value type value is equal to ’20’ (Plan Data) then the record is updated in the cube.

ii.iii. The cube only gets loaded from 0EC_PCA_1.

Data Source: 0EC_PCA_1 As and when required. ABAP Routine in Update Rules.

i. 0VTYPE Value Type : The routine checks the value of Value type for reporting. If the value is not equal to ‘20’ (plan data) then the data is not updated.

ii. 0CURTYPE Currency Type: The checks the values of Currency type coming in the transactions and discards the data record with Currency Type Value ‘00’ (Document currency) as this is not required for reporting. Valid currency type for update are:

1. 10 – Company Code Currency2. 30 – Group Currency

document.doc 17/04/23 Page 7 of 10

S A PS A PS A PS A P

Page 8: PCA Doc

Cost Centre Accounting

8. ZPCA_C04

Name: Profit Centre Accounting - Accounting Data Partitioning Criteria:

i. Posting Periodii. Value Typeiii. Data Source

Partitioning valuei. Update rule for Info Object 0FISCPER3 Posting period:

The rule checks and validates that the posting period value should be 0 as this Cube only gets updated with Opening Balance data from this data source. This is also an additional check to prevent data belonging to other periods getting updated in the cube (valid of for DS 0EC_PCA_1).

ii. Update rule for Info Object 0VTYPE Value Type for Reporting checks actual and plan data. If the Value type value is equal to ’10’ (Actual Data) then the record is updated in the cube.

iii. The cube gets loaded from 0EC_PCA_1 and 0EC_PCA_4. Data Source: 0EC_PCA_1 – Used to load opening balance.

i. Data can be loaded1. As and when required.2. Primarily after the year-end closing.

ii. ABAP Routine in Update Rules.1. 0CURTYPE Currency Type: The checks the values of

Currency type coming in the transactions and discards the data record with Currency Type Value ‘00’ (Document currency) as this is not required for reporting. Valid currency type for update are:

a. 10 – Company Code Currencyb. 30 – Group Currency

Data Source: 0EC_PCA_4 – Used to load month end adjustments (Prep Push Data).

i. Data can be loaded1. As and when required.2. Primarily after the month end closing to load

changed prep push data.ii. ABAP Routine in Update Rules.

1. 0CURTYPE Currency Type: The checks the values of Currency type coming in the transactions and discards the data record with Currency Type Value ‘00’ (Document currency) as this is not required for reporting. Valid currency type for update are:

a. 10 – Company Code Currencyb. 30 – Group Currency

9. ZPCA_C05

document.doc 17/04/23 Page 8 of 10

S A PS A PS A PS A P

Page 9: PCA Doc

Cost Centre Accounting

Name: Profit Centre Accounting Actual Data - Archived Partitioning Criteria:

i. Fiscal Year ii. Value Type iii. Data Source

Partitioning valuei. Update rule for Info Object 0FISCYEAR Fiscal Year checks

that the data older then two years will gets updated in the cube. The logic works on the following basis

1. Current – 2 = Data valid for Archive Cube.2. If the data is less then two years old then it will not

be updated in the cube.ii. The cube only gets loaded from 8ZPCA_C02, which is the

data source, generated from PCA Cube ZPCA_C02. Data Source: ZPCA_C02 One load in fiscal year, after the completion of Year End Closing

Process. ABAP Routine in Update Rules.

i. 0FISCYEAR Fiscal Year : The routine converts the system date into Current fiscal Year and based on the value of current fiscal year calculates the value of previous fiscal years (Current year – 2). This value is then compared with the value in the transaction to validate and update the data belonging to previous fiscal year in the cube.

ii. 0VTYPE Value Type : The routine checks the value of Value type for reporting. If the value is not equal to ‘10’ (actual data) then the data is not updated.

document.doc 17/04/23 Page 9 of 10

S A PS A PS A PS A P

Page 10: PCA Doc

Cost Centre Accounting

10. Process Chains PCA - Process Chain PCA Actual Line Item Data PCA Prep Push Data – Actual PCA Transaction Data – Plan PCA - Opening Balance

document.doc 17/04/23 Page 10 of 10

S A PS A PS A PS A P