In Part 1 covered the creation of Attributes.
Now Part 2 covers Analytic Views.
COPA Analytical View ACTUAL DATA
This Analytic view Is based on CE2DEA table & following attribute views
Material Attribute View ( MARA,MAKT tables)
Customer Attribute View (KNA,T005U,T005T Tables)
Image may be NSFW.
Clik here to view.
1. Create an analytical view AV_ACTUAL_XX with the description Contribution Margin for Actuals.
As a result you should see below screen.
Image may be NSFW.
Clik here to view.
2. Drag & drop CE1IDEA table in to Data Foundation.
Navigate to your package, expand the folder and select the attribute views for PRODUCT and LOCATION and drop in to Logical Join.
Image may be NSFW.
Clik here to view.
3.In the details screen , select PERIO,KNDNR,ARTNR,AKORG,VV010,VV070,VV0290 & VV0960
Right Click > Add to Output
Image may be NSFW.
Clik here to view.
4. Join DataFoundation.ARTNR to AT_PRODUCT_MATNR.
5. Join DataFoundation.KNDNR to AT_LOCATION_KUNNR.
Image may be NSFW.
Clik here to view.
6. Define the calculated measures to be included in the analytic view.
Right click on Calculated Measures and choose New.
Image may be NSFW.
Clik here to view.
Create the first Calculated Measure, Net Revenue.
Select Decimal data type with length 15,0
Double click on the desired measure for it to appear in the expression editor. Either type in the minus sign or double click on the Operator.
Image may be NSFW.
Clik here to view.
- Continue to create all other needed Calculated Measures.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Name | Description | Data Type | Length | Formula |
|
|
|
|
|
CM1 | Contribution Margin 1 | DECIMAL | 15 | NetRevenue –ProductVariance |
CM2 | Contribution Margin 2 | DECIMAL | 15 | CM1 -OtherExpenses |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7. Navigate to Data Foundation Tab, where we will define filters.
- Apply filters on the fields PALEDGER and VRGAR (record type).
- Select PALEDGER > right click > Apply Filter.
- Choose Operator Equal from the Apply Filter dialog box & Specify the value 01.
- For VRGAR, choose Operator Equal and specify the value F.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
8. Validate the Analytic view, Active & click preview to see data.
Image may be NSFW.
Clik here to view.
9.Result will appear in the below screen.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
10. Navigate to the Catalog. Select the folder _SYS_BIC, expand Column Views and locate you Analytic View.
Image may be NSFW.
Clik here to view.
------------------------------------------------------------------------------------------------------------------------------------------------
COPA Analytic View PLAN DATA
This Analytic view Is based on CE2IDEA table & below attribute views.
Material Attribute ( MARA,MAKT tables)
Customer (KNA,T005U,T005T Tables)
11.Create an analytic view AV_PLAN_XX with the description Contribution Margin for Plan.
As a result you should see below screen.
Image may be NSFW.
Clik here to view.
12. Drag & drop CE2IDEA table in to Data Foundation.
Navigate to your package, expand the folder and select the attribute views for PRODUCT and LOCATION and drop in to Logical Join.
Image may be NSFW.
Clik here to view.
13 .Navigate to the Logical View Tab to see the two attribute views.
- Note that the Data Foundation is empty.
- It will be filled once you select your columns.
Image may be NSFW.
Clik here to view.
14 .In the details screen , select PERIO,KNDNR,ARTNR,AKORG,VV010001,VV070001,VV290001 & VV960001
Right Click > Add to Output
Image may be NSFW.
Clik here to view.
14. Join DataFoundation.ARTNR to AT_PRODUCT_MATNR.
15. Join DataFoundation.KNDNR to AT_LOCATION_KUNNR.
Image may be NSFW.
Clik here to view.
16. Navigate to Data Foundation Tab, where we will define filters.
• Apply filters on the fields PALEDGER and VRGAR (record type).
• Select PALEDGER > right click > Apply Filter & Choose Operator Equal from the Apply Filter dialog box, Specify the value 01.
• For VRGAR, choose Operator Equal and specify the value F.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Notice there is now a filter icon next to the PALEDGER and VRGAR.
Image may be NSFW.
Clik here to view.
17. Define the calculated measures to be included in the analytic view.
Right click on Calculated Measures and choose New.
Image may be NSFW.
Clik here to view.
Create the first Calculated Measure, NetRevenue.
- Select Decimal data type with length 15,0
Double click on the desired measure for it to appear in the expression editor. Either type in the minus sign or double click on the Operator.
Image may be NSFW.
Clik here to view.
18. Continue to create all other needed Calculated Measures.
Name Description Data Type Length Formula
--------------------------------------------------------------------------------------------------------------------------------------------
CM1 Contribution Margin 1 DECIMAL 15 NetRevenue –ProductVariance
CM2 Contribution Margin 2 DECIMAL 15 CM1 -OtherExpenses
Image may be NSFW.
Clik here to view.
19. In the below screen under Calculated columns you can can new columns.
Image may be NSFW.
Clik here to view.
20.Validate & Active the analytic View.
Preview the data
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Thanks for reading this series blogs.
Soon I will update part 3 also.
Regards,
Mahesh Kumar CV