CA PPM: Can you provide more details regarding the Financial Planning Slice Tables?

Document ID : KB000054959
Last Modified Date : 03/10/2018
Show Technical Document Details
Issue:

Can you please let us know more information about the tables that store the detailed financial planning data for Cost Plans, Benefit Plans and Budget Plans?

 

Cause:

Can you provide more details regarding the Financial Planning Slice Tables?

We appear to be missing data.

Resolution:
NOTE: If you are looking for tables or views that provide Cost Plan data sliced into Fiscal Periods, you can look into the CA PPM Solution Pack (CSP) for stock reports or check out the Financial Universe within Business Objects for building your own reports.  If you need assistance in building your own reports or portlets, please contact your account manager or CA Global Services team.

The FIN_PLANS table stores all the financial plan-to-investment relationship.

There are two types of tables that hold the time-scaled values (TSV) data for each cell within the detailed financial plans. The tables that are named like ODF_SSL_* contain the slice values for the TSV. The tables that are named like ODF_SL_* contain internal, system-defined and user-defined sliced values for financial detailed plans. These tables are dependent on a successful 'Time Slicing' job completion.

Sliced Data
The ODF_SL tables are used to display data in the Investment > Hierarchy > Detail View. For ensuring that updated values are reflected on these views, execute the 'Time Slicing' job.

TSV Data
The tables below link to the FIN_BENEFIT_PLAN_DETAILS which contains the Benefit Properties and reflect the time-scaled values that appear on the detailed financial plans. These tables do not depend on the 'Time Slicing' job.

 

select id, request_name, table_name from prj_blb_slicerequests where request_name like '%benefitplandetail%::segment%

 

Figure 1

The tables below link to the FIN_PLAN_DETAILS for Cost Plans

 

select id, request_name, table_name from prj_blb_slicerequests where request_name like '%costplandetail%::segment%' 

 

Figure 2

Below is a sample query that you can use to get the cell details for the 'Actual Benefit' value on a specific Benefit Plan.

Based on the information provided above you can modify this query to get results for other cells and other plan types.

For MSSQL - Actual Benefit Plan Data

SELECT I.ID PROJECT_ID,
I.NAME PROJECT_NAME,
P.ID PLAN_ID ,
P.NAME PLAN_NAME,
D.DETAIL DETAIL_NAME,
ABFT.START_DATE,
ABFT.SLICE,
ROUND(ABFT.SLICE*(DATEDIFF(DAY, ABFT.START_DATE, ABFT.FINISH_DATE)),2) CALC_SLICE 
FROM ODF_SSL_BFT_DTL_ABFT ABFT,
FIN_BENEFIT_PLAN_DETAILS D,
FIN_PLANS P,
INV_INVESTMENTS I 
WHERE ABFT.PRJ_OBJECT_ID = D.ID 
AND D.PLAN_ID = P.ID 
AND P.OBJECT_ID = 5001379 
AND P.OBJECT_CODE ='PROJECT' 
AND P.OBJECT_ID = I.ID 
ORDER BY P.ID,
P.NAME,
D.DETAIL
;

 

For Oracle - Actual Benefit Plan Data

SELECT I.ID PROJECT_ID,
I.NAME PROJECT_NAME,
P.ID PLAN_ID ,
P.NAME PLAN_NAME,
D.DETAIL DETAIL_NAME,
ABFT.START_DATE,
ABFT.SLICE,
ROUND(ABFT.SLICE*(to_date(ABFT.FINISH_DATE) - to_date(ABFT.START_DATE)),2) CALC_SLICE 
FROM ODF_SSL_BFT_DTL_ABFT ABFT,
FIN_BENEFIT_PLAN_DETAILS D,
FIN_PLANS P,
INV_INVESTMENTS I 
WHERE ABFT.PRJ_OBJECT_ID = D.ID 
AND D.PLAN_ID = P.ID 
AND P.OBJECT_ID = 5001379 
AND P.OBJECT_CODE ='PROJECT' 
AND P.OBJECT_ID = I.ID 
ORDER BY P.ID,
P.NAME,
D.DETAIL
;

NOTE: Only the 'planned' data that is directly entered through the application will be stored in the cost plan slice tables.

By design, the following tables are not used for storing cost plan data:
ODF_SSL_CST_DTL_VCOST 
ODF_SSL_CST_DTL_AREV 
ODF_SSL_CST_DTL_VUNITS 
ODF_SSL_CST_DTL_ACOST 
ODF_SSL_CST_DTL_AUNITS 
ODF_SSL_CST_DTL_VREV 

The Cost Variance is a computed field that is computed on the fly and not stored in a table. 
It is computed as planned cost minus actual cost. 
Actual Cost is not stored on the ODF_SSL slice tables either, because it is computed from the PPA_WIP data.
Therefore, the following table/attribute can be queried:
PPA_WIP.Quantity
PPA_WIP_VALUES.TOTALCOST
PPA_WIP_VALUES.ACTUALCOST 
Additional Information:

https://docops.ca.com/ca-ppm/15-4-1/en/ca-ppm-15-4-1-release-information/ca-ppm-15-4-1-change-impact-and-upgrade

DE41635: Timeslice Job not working correctly ODF_SSL_CST_DTL_COST
is resolved in the following versions:
15.4.1.1
15.5.0