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 Code | Role Description | Explanation |
|---|---|---|
| ZR_RCS_CA_M731 | CT - COSTA Transactions | Role to have access to transaction ZBW_CUST_COSTA |
Authorization objects
List of autorisation objects mandatory for the application.
| Authorization object | Explanation |
|---|---|
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
- Program: ZBW_COSTA_ORDER_CAPEX_OPEX
- Process chain: PC_CT_TR_03
- Infoprovider: APCOCT09 → CPCOCT06
- Query: BW_QRY_CPCOCT06_0001 + QV_BW_QRY_CPCOCT06_0001
- Flat file format: https://drive.google.com/file/d/17S7GBSYr4PdUoIKgFM_55WUXNZ30Mj_5/view?usp=sharing
Percentage inflation
- Program: ZBW_COSTA_INFLATION
- Process chain: PC_CT_TR_04
- Infoprovider: APCOCT11 → CPCOCT06
- Query: BW_QRY_CPCOCT06_0002 + QV_BW_QRY_CPCOCT06_0002
- Flat file format: https://drive.google.com/file/d/1ohjO7Frob67lfLQeTBI5YV1TAKlRz9MO/view?usp=sharing
Zero Based Budgeting
- Program: ZBW_COSTA_C_CTSBPKG_ZBB
- Process chain: PC_CT_TR_05
- Infoprovider: APCOCT13 → CPCOCT06
- Query: BW_QRY_CPCOCT06_0003 + QV_BW_QRY_CPCOCT06_0003
- Flat file format: https://drive.google.com/file/d/1m-KAKYcZaj0EW5-DWsYnxeovxS733nQH/view?usp=sharing
Resp. Cost Center Determination
- Program: ZBW_COSTA_RCC
- Process chain: PC_CT_RCC_01
- Infoprovider: APCOCT15
- Query:
- Flat file format: https://docs.google.com/spreadsheets/d/1vqYWqegl4sTGUZTg-lPb6o1N5XzWKx7midspUa3ZGik/edit#gid=0
Investment Reason WBS
- Program: ZBW_COSTA_INV
- Process chain: PC_CT_INV_REA_01
- Infoprovider: APCOCT17
- Query:
- Flat file format: https://docs.google.com/spreadsheets/d/1MrUM9Ukkg73aY-aEyTeLNDBwYyIjXmAQ/edit#gid=498267122
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:
- Define all filters.
- 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.
- 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.
- Search the attributes C_INV_REA & C_GEN_REA in master data C_WBS_EL2 for all entries of internal table.
- Create new table to have PSOBJ (coorder) and WBS_EL2 + Attributes in same table.
- 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:
- 0LOGSYS
- C_COMPCDE
- 0CALYEAR
- 0AC_DOC_NO
- 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 :
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:
Dependencies with other applications
Data loadings
Info providers and objects loaded
Loading frequency
Average performance
| Key Figure | Estimation |
|---|---|
| ~ 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
Unit test for program ZBW_COSTA_RCC:
https://docs.google.com/document/d/1lG0t9k2MadMawaTrYvtFDmwJ1Twzbp3jcjF1VJ-XC1g/edit?usp=sharing






























