You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 54 Next »

General presentation

Objective of the application

Tool Leader + IT leader of the application: 

Usage information

History

Roles & Access

Roles and access

List of application role + menu role  and explanation if we have several applications role with specials rules.

Role CodeRole DescriptionExplanation
ZR_RCS_CA_M731CT - COSTA TransactionsRole to have access to transaction ZBW_CUST_COSTA 






Authorization objects

List of autorisation objects mandatory for the application.

Authorization objectExplanation






Dataflow overview

Reporting documentation drive folder:

https://drive.google.com/drive/folders/0B0qn89R0RGdqYkZZOFZyYXlXVkE

Exemple of dataflow overview :

Template Application name DataFlow

https://docs.google.com/spreadsheets/d/1HmJbWbZb6an2Bq9mKEye-Gtr7H3uAh9q/edit#gid=1556785809

Composites providers:

CPCOCT01 (uses calculation view  CV_FMCO_CO_CT_UNION_COSTS_TRANSPARENCY).

Functional and Technical rules on Workbench + Reporting

Flat files loading - Transaction ZBW_CUST_COSTA


Order Capex Opex

Percentage inflation

Zero Based Budgeting

Resp. Cost Center Determination

Investment Reason WBS

Rules & Explanations

Cluster GBU

Clusters and sub clusters come from PF1_050, datasource DTS_BW_REPO_BU_CLU_SCLU. This datasource uses module function ZFM_BW_REPO_BU_CLU_SCLU).

We extract data into adso APCOCT14 and then load the attributes and textes in master data CPFCTR1_2, C_CLUSTER & C_SUBCLUS (loadings done in process chain PC_CT_MD_01).

Group of function

Goal:

Add in master data C_COSTCTR two attributes: group function and GBU function extracted from hierarchy Z013ZCBS_GRP (WP1 system). The link between cost center and hierarchy is C_FUNCT_2 (attribute from cost center and level 4 in hierarchy Z013ZCBS_GRP).

Steps: 

1) Extract Z013ZCBS_GRP hierarchy in master data C_FUNCT_2 where: (done in process chain PC_CT_MD_01).

  • C_FUNCT_2 = level 4 in Z013ZCBS_GRP (without controlling area).
  • C_FUNCT_2__C_GRPFUNC = Level 3 in Z013ZCBS_GRP.
  • C_FUNCT_2__C_GBUFUNC = Level 2 in Z013ZCBS_GRP.

2) Load attributes C_GRPFUNC & C_GBUFUNC in master data C_COSTCTR (with look up on C_FUNCT_2)


Cost package derivation from:

Material Group

In adso APCOCT04 we use data from master data C_MAT_GRP to determine cost sub package (C_CTSBPKG).

This loading is done in process chain PC_CT_TR_01 (process skipped for the moment because values in master data C_MAT_GRP are not ok, so data loaded by flat file).

Segment

In adso APCOCT05 we use data from master data C_SEGT to determine cost sub package (C_CTSBPKG).

This loading is done in process chain PC_CT_TR_01.

Cost Element:

In adso APCOCT06 we use data from adso APCOCT16 (only landscape ERPSOLV and ERPRCS)  to determine cost sub package (C_CTSBPKG) associated to cost element.

For the moment there is no process chain to load this dso, for the moment there is another transformation and dtp to load the adso with flat file.


Investment Reason for PM Order

Goal: in master data c_coorder add three new attributes C_GEN_REA & C_INV_REA & C_ORD_TYP

C_GEN_REA & C_INV_REA come from C_WBS_EL2 and C_WBS_EL2 comes from dso ABCOCT01 & ABCOCT02.


Main rules:

  • Developments are done in transformtions:
    • Transf: 0COORDER_ATTR -> C_COORDER
    • Transf: 0COORDER_ATTR -> C_COORDER Solvay
  • The filters used are defined in master data global filter we stream "C_COORDER".
  • By default the period to read adso ABCOCT01 is current month -1. But it's possible to make the look-up with several month with definition of period in master data global filter: 

Start routine:

  1. Define all filters.
  2. Do a select in internal table to take data from adso APCOCT01 or APCOCT02 with filters on CALMONTH, C_PSOBJTY, C_DESTTY and C_PTOBJTY.
  3. Aggregation with keys LOGSYS /BIC/C_PSOBJ /BIC/C_PTOBJ BIC/C_WBS_EL2 of data from DSO ABCOCT0* in internal table sorted by ascending.
  4. Search the attributes C_INV_REA & C_GEN_REA in master data C_WBS_EL2 for all entries of internal table.
  5. Create new table to have PSOBJ (coorder) and WBS_EL2 + Attributes in same table.
  6. Select current GEN_REA, INV_REA, ORD_TYP from master data C_COORDER to be able to keep current data if nothing was found in dso ABCOCT01 or C_WBS_EL2

End routine:

If C_COORDER___0ORDCATEG = 30 feed C_INV_REA & C_GEN_REA & C_ORDR_TYP

Else feed only C_ORDR_TYP

If nothing was found, no change, keep the current attributes in master data C_COORDER.


ANAPLAN/F2G SCOPE

In scope of Costa data, it's necessary to define which data are for COSTA, F2G or ANAPLAN. The idea is to exclude some records not in scope of ANAPLAN or F2G.

https://drive.google.com/file/d/1gm7dEVDqkwav53t70qyF9hPcTdlgGQG1/view?usp=sharing

To do that, it's necessary to define the rule of exclusion in a table: ZCOSTA_ANAPLAN

This table could be maintened with SM30 or transaction ZMAINT_COSTA_ANAPLAN.


We use this table in calculations views CV_FMCO_CO_CT_UNION_COSTS_TRANSPARENCY & CV_FMCO_CO_CT_UNION_COSTS_TRANSPARENCY_DEST.

To apply the exclusion flag anaplan or F2G:

  • We do a projection of table ZCOSTA_ANAPLAN, filtered on one type of C_CTEXR_A or C_CTEXR_F.
  • Create a full outer join with costa data and ZCOSTA_ANAPLAN on the necessary field(s) to find which records match with the filter, if there is a match we add a new column with the C_CTEXR_A or F.
  • Repeat the join for each type of filter.

  • At the end we can define a global column for exclusion flag and exclusion reason (anaplan and F2G).


Level 5 - Responsible Cost center

Level 5 responsible cost center is retreived in CV_FMCO_CO_CT_UNION_COSTS_TRANSPARENCY & CV_FMCO_CO_CT_UNION_COSTS_TRANSPARENCY_DEST.

1 - Projection of adso APCOCT18 where L5 are stored.

2 - Join with costa (co_area, c_resp_cc) to have calday (calculated with the first day of the costa period) from costa data in same line of L5.

3 - Projection of L5 with filter on L5 date from and L5 date to with help of calday.

4 - Rank to take only one L5 by co_area, c_resp_cc and date.

5 - Join to add the L5 in costa table with join on CO_AREA, C_RESP_CC and CALDAY.


GBU Global

In calculations views

CV_FMCO_CO_CT_COOM_DEST_RHODIA
CV_FMCO_CO_CT_COOM_DEST_SOLVAY
CV_FMCO_CO_CT_COMPOSITE_RHODIA
CV_FMCO_CO_CT_COMPOSITE_SOLVAY
CV_FMCO_CO_CT_AT_DEST_COR
CV_FMCO_CO_CT_AT_DEST_SAMPLE
CV_FMCO_CO_CT_COST_NON_ERP
CV_FMCO_CO_CT_COPA_COMPO_RHODIA
CV_FMCO_CO_CT_COPA_COMPO_SOLVAY

The global GBU is calculated in fuction of C_MAGNITU or C_RESP_CC:

If we don't have GBU in attribute of C_MAGNITU (destination GBU) we use GBU from C_RESP_CC (origin GBU).

Rule in calculation view: if(isnull("C_MAGNITU__CPFCTR1_2") OR "C_MAGNITU__CPFCTR1_2" = '',"C_RESP_CC___CPFCTR1_2","C_MAGNITU__CPFCTR1_2")


FI - Tab Sample COGS flow ECC WP1

Get ECC Sample COGS table in specific datasource and replicate it in BW part (Bex COSTA):


Needs column "S" of "Step 1 - Axis , Filters and authorization excel file":



aDSO creation has been made : 

  • APCOCT08 with PK:
    1. 0LOGSYS
    2. C_COMPCDE
    3. 0CALYEAR
    4. 0AC_DOC_NO
    5. 0ITEM_NUM


Rules In start routine: 


SITER field determination, with dso DPCOMPCD(DSO : Company Code Specific Attributes Purchasing) with company code 

and 0PLANT master data with plant


in target part for master data C_SITER:


First get C_SITE data in 0PLANT (internal table IT_PLANT) and if no data get C_SITER in dso DPCOMPCD (internal table IT_SITER)



For DTP :  full loading.


Process chain get data to ECC and load the aDSO APCOCT08 - PC_CT_TR_SAMPLE

This process chain has been put in COSTA global Process chain PC_CT_META_01 and load every day.


aDSO is used in calculation view CV_FMCO_CO_CT_SAMPLE and get in left join several fields.

There are calculated columns in projection P_FORMAT:



this calculation view is used in composite provider CPCOCT01.


Non ERP flow CYTEC CBS

Goal: Load from CYTEC Non ERP data (Bex COSTA) for cost center and cost element to:

  • cube CUB_FC007 (ods ODSBCCA9)
  • master data 0C_COSTCTR
  • master data 0COSTELMNT

Needs column "Y" of "Step 1 - Axis , Filters and authorization" excel file:

Loading is made in program ZBW_CYTEC_CBS and download in AL11 directory with csv file:

  • /exploit/BW/Cytec/cbs_function_costs_cytec_NARAUJO.csv

3 process chain are used for load NERP data in cube and 2 master data:

  • PC_FC_CYTEC_003
  • PC_FC_CYTEC_002
  • PC_FC_CYTEC_001

PSA deletion has been made in program with process chain:

  • PC_FC_CYTEC_003A
  • PC_FC_CYTEC_002A
  • PC_FC_CYTEC_001A


NERP BW Flow:


dso is used in calculation view CV_FMCO_CO_CT_NERP_COMPO and get in left join several fields.

There are calculated columns in projection P_FORMAT:


this calculation view is used in composite provider CPCOCT01.


Budget flow loading by flat file


Goal is to upload with flat file budget COSTA data and import it in BW (Bex COSTA) from program ZBW_COSTA_BUDGET


Needs column "AF" of "Step 1 - Axis , Filters and authorization" excel file:

Template of Budget flat file :

https://docs.google.com/spreadsheets/d/1S6CIePgX-txS7DQT3JLKxFE0XIxyABMi/edit?rtpof=true#gid=1967646351

aDSO has been created for get Budget data from AL11 folder:

  • APCOCT12
  • /exploit/BW/COSTA/budget_costa.csv

An event have been created for data loading in BW side:

  • Z_EVT_START_PC_CT_BUDGET_01

Process chain is:

  • PC_CT_BUDGET_01

Budget BW flow:


aDSO APCOCT12 is used in calculation view CV_FMCO_CO_CT_BUDGET_FLOW and get in left join several fields.

There are calculated columns in projection P_FORMAT:


this calculation view is used in composite provider CPCOCT01.


IFRS16 FIAP lease Rhodia and Solvay

Goal is to get data in dso DBFIPA10 CAPEX Rhodia - FIAP Lease and DBFIPA11 CAPEX Solvay - FIAP Lease.

There are not specific program but there are calculation view with several left join to get several fields.

Needs column "V" and "W" of "Step 1 - Axis , Filters and authorization" excel file:


dso are used in calculation view CV_FMCO_CO_CT_WCFI_LEASE_COMPO_RHODIA and CV_FMCO_CO_CT_WCFI_LEASE_COMPO_SOLVAY get in left join several fields.


There are calculated columns in projection P_FORMAT:

this calculation view is used in composite provider CPCOCT01.


Corrective Flow

Goal is to actual and quantity correction in COSTA flow.

Needs column "AD" of "Step 1 - Axis , Filters and authorization" excel file:


Template of file for program ZBW_CORR_FLOW:

https://docs.google.com/spreadsheets/d/14Yol6G9Uj0CoYze8LkHSB7fmwTloiyHb/edit?rtpof=true


Loading is made in program ZBW_CORR_FLOW and download in AL11 directory with csv file:

  • /exploit/BW/COSTA/CORR/corr_costa.csv

aDSO have been created:

  • APCOCT07

No event have been created for data loading in BW side:

  • loading is made on demand

Process chain is:

  • PC_CT_CORREC_01

Budget BW flow:

aDSO APCOCT07 is used in calculation view CV_FMCO_CO_CT_CORR_FLOW and get in left join several fields.

There are calculated columns in projection P_FORMAT:

this calculation view is used in composite provider CPCOCT01.


PCARD flow


Goal identify with a flag all CO document (at header level) link to PCARD Flow( COOM flow Solvay and Rhodia).

PCARD GL Account is put in table C_GLBFILT for determine relative CO document GL Account for PCARD, GL Account can be changed :


There are 2 HANA views, CV_FMCO_CO_CT_COOM_SOLVAY and CV_FMCO_CO_CT_COOM_RHODIA for determine PCARD flag:


Networks substitution by WBS


Goal Before Origin/Destination Process replace the partner Object for 0NWA posting by WBS object.

Only for PF1 Solvay

For do this datasource have been used:

  • 0ACTIVITY_ATTR
  • 0NETWORK_ATTR    

2 master data have been created:

  • C_NETACT → compounding 0LOGSYS & C_NETWORK 
  • C_NETWORK → compounding 0LOGSYS



DTP's have been created on ODP. 

Transformation's are on direct mapping without trasnformation rules.

Loading has been made in process chain PC_CT_MD_01 (daily loading)

Impacted HANA views:

  • CV_FMCO_CO_CT_DEST_R0_CCA_SOLVAY
  • CV_FMCO_CO_CT_DEST_CCA_TO_WBS_SOLVA






Dependencies with other applications

Data loadings

Info providers and objects loaded

Loading frequency

Average performance


Key FigureEstimation
~ Average Process Chain Runtime
~ Average nb of rows loaded per load
~ Total nb of rows loaded (if full)
~ Average Runtime for 10k lines

Record Keeping

Reporting

Queries End User Documentation


Main queries

Main functionalities

Broadcast

Maintenance

Known bugs

Recurring procedure

Planned Evolution



  • No labels