(warning)     (warning)     (warning)     (warning)

The new wiki link for this data flow is here:

Technical Documentation - Transfer Price historical sales

Please update the doc there and no longer here.

(warning)    (warning)     (warning)     (warning)


General presentation

The application provides for a given month, the average sale prices observed during the X previous months.

Data is both :

.List of contacts

Objective of the application


The aim of the application is to calculate and provide to transfer pricing team the monthly average sale price by BFC Company Code, Material, Revenue Type.

Usage information

To be completed

History

This project was developed in September 2019 by Ludovic Depoix with BW technical support of Cyril Bianco.

A new OFFSET parameters has been added to the data flow in June 2022 by Ludovic Depoix with BW technical support of Charles Benier.

Rules

Roles and access


Role CodeRole DescriptionExplanation

ZR_RCS_CA_M67

Transfert Price Historical Sales

Menu Role

 ZR_*_CA_P05

 GBU perimeter roles

 Role Analysis authorizations

 ZBI_RCS_CO_A25

 TP – Transfert Price Historical Sales - End User role

 Application Role

Authorization objects

List of authorization objects mandatory for the application.

Authorization objectExplanation

CPFCTR1_2

BFC Global Business Unit

C_AUTHMA

Authorization Scope


 See also file maintained by Authorization team : 

Dataflow overview

Reporting documentation drive folder:

Exemple of dataflow overview :




Functional and Technical rules on Workbench + Reporting

Rules & Explanations

Systems involved

Subject

Retrieved data are coming from PF1 and WP1 COPA module.

Dependencies with other applications

Retrieved data is dependent from standard and advanced DSO (COPA Business Layer) loaded by others applications.

Data Model

Info providers and objects

InfoAreas


DSOs / aDSOs


implemented by another project

Implemented by the Transfer Price project

Composite Providers



Main Master Data

Revenue type has been defined in order to segregate the different type of sales, in order to calculate the average sale price for each revenue type.
The revenue type is the combination of 3 components:



Main Master Data & Business Rules 


Business Rule : If trading partner (C_PCOMPAN) not empty and consolidation method different from  90 sold and BFC Company of the Trading partner (C_COMPANY__0COMPANY)  not found in exception table (/!\ Posting date in Valid From and Valid To of exclusion table => Related Party

Else => Third Party

Business Rule : We will compare :

- the recipient country (ship to customer country)  C_SHIPID_0COUNTRY

- And  the country of the selling company (company code country):C_PCOMPRS__0COUNTRY  (= C_COMPCDE__0COUNTRY)

- Abroad-export :both countries are different and one of them at least is outside E.U.

- Abroad-EU : both countries are different and inside E.U.

- Domestic (same country)

The third distinction is only for chinese companies 

If the company code is not a chinese company ( C_PCOMPRS__0COUNTRY  or C_COMPCDE__0COUNTRY <> CN) = > domestic included duties 

If the company code (C_COMPRS) is a chinese company ; to split the domestic line by "included customs duties" or "duty free", based on:

- the invoicing currency (0DOC_CURRCY) <> Local company currency(C_COMPRS_0CURRENCY ) => domestic duty free

- the invoicing currency = local company currency (CNY), the legal entity is SSP CHANGSHU (5991) and the customer is related party => domestic duty free

- other cases => domestic included duties 



The global filter has been used in order to manage some parameters :



Global Filter Stream (Application)"Global Filter Rule""Global Filter"Global Filter ActiveGlobal Filter DescriptionGlobal Filter Hight ValueGlobal Filter Low ValueGlobal Filter OptionGlobal Filter Sign
TP_SPMATNR_WX11YExclude MATNR2 Z710
Z710EQE
TP_SPMATNR_WX12YExclude MATNR2 ZDIE
ZDIEEQE
TP_SPMATNR_WX13YExclude MATNR2 ZNLA
ZNLAEQE
TP_SPMATNR_WX14YExclude MATNR2 ZUNB
ZUNBEQE
TP_SPMATNR_XF11YExclude MATNR2 Z710
Z710EQE
TP_SPMATNR_XF12YExclude MATNR2 ZR09
ZR09EQE
TP_SPMATNR_XF13YExclude MATNR2 Z709
Z709EQE
TP_SPEXTRPERIOD1YRecovery Extract Period
201904EQI
TP_SPCALCNBPER1YNb of Calculation period
3EQI
TP_SPOFFSET1YNb of month OFFSET
3EQI


CALCNBPER (4) & OFFSET (2) parameters example

Main Extractors

Transactional data extractors

Master data extractors


Data Flow

As shown in the architecture schema, the Sale Price application is based on an hybrid achitecture HANA Calculation feeding a BW composite provider.

The the composite provider is used for bith extraction and reporting purpose.


HANA Calculation views

This calculation view provide all contries belonging to EU, including Monaco which in not considered as a EU member in ECC T005 table.

this is done through the folling filter expression :


This caclulation view provides the scope of MATERIAL that have to be taken into account, after application of the exclusion MATL_TYPE managed through the global filter table. 


Global Filter Stream (Application)"Global Filter Rule""Global Filter"Global Filter ActiveGlobal Filter DescriptionGlobal Filter Hight ValueGlobal Filter Low ValueGlobal Filter OptionGlobal Filter Sign
TP_SPMATNR_WX11YExclude MATNR2 Z710
Z710EQE
TP_SPMATNR_WX12YExclude MATNR2 ZDIE
ZDIEEQE
TP_SPMATNR_WX13YExclude MATNR2 ZNLA
ZNLAEQE
TP_SPMATNR_WX14YExclude MATNR2 ZUNB
ZUNBEQE
TP_SPMATNR_XF11YExclude MATNR2 Z710
Z710EQE
TP_SPMATNR_XF12YExclude MATNR2 ZR09
ZR09EQE
TP_SPMATNR_XF13YExclude MATNR2 Z709
Z709EQE


The restriction is done through the following filter expression 

Where IP_TP_C_GLBFILT_RULE is an input parameter populated by the master view which embeds the current view either :


The parameter is populated by a constant in the calculation view input parameter mapping.


this Calculation views takes in charge


where Input parameters are driven either by DTP or Query exit variables and related BADIs



CV_FMCO_CO_TP_COPA_SOLVAY

this Calculation views takes in charge



where Input parameters are driven either by DTP or Query exit variables and related BADIs



This calculation view





This calculation view takes in charge all the UNIT CONVERSION logic using joins with T006 and UOMCMAT2 DSO.




This view


the customizing is done in the semantic layer using semantic functions





This view insure the pushdown HANA of the aggregation at the level requested by the reporting layer.



Data extract (BW)

Only 2 data flows which take in charge through Open Hub of  the extract of  2 Sale price's files likely to be copied respectively in WP1 and PF1.



The DTP extract data in full mode with some restriction

The file location is /exploit/BW/TP/ 

fsl_tpdata_from_bw_to_erp.csv
fsl_tpdata_from_bw_to_rcs.csv


20/06/2023 :  PO2 project .

In SAP Transfer Price process will be split in ECO and SCO and will take place at SPIN OFF ECO/SCO  (not D1) 

4 new Open hub has been added  to produce the new files (1 ECO , 1 SCO per SAP system) 


The structure of the files has been modified compared to SOLVAY one : Authorization object has been added.

Morever , we apply a filter on the Authorization scope (C_COMPCDE__C_AUTHMA) when files are generated (filter in the DTP) 


The file location is also /exploit/BW/TP/ 

fsl_tpdata_from_bw_to_erp_eco.csv

fsl_tpdata_from_bw_to_erp_sco.csv
fsl_tpdata_from_bw_to_rcs_eco.csv

fsl_tpdata_from_bw_to_rcs_sco.csv




The loading is scheduled by PC PC_FMCO_TP_01 on 3rd working day each month at 5:30



MATERIAL : must be different the Initial

SOURCE SYSTEM : 

INPUT PARAMETERS  IPCALMONFROM & IPCALMONTO : 

Data loading

Process Chain

PC_FCMO_TP_MD : Controlling - TP - Master data

PC_FCMO_TP_01  : Controlling - TP - Sale Price Extracts

This process chain extracts launch the extract through Open Hub.



20/06/2023 :  PO2 project : Generation of the 4 new files will be added in Process chain before PO2 Spin Off




Loading frequency

The Process chain is likely to be triggered once a month after the closing date (~2nd working day of each month acoording to FR calendar )

Average performance

In WB1 which was a referesh of WBP, and so with volumes likely to be equivalent to those obeserved in production in 2019S1 :



Reporting

Queries End User Documentation

Queries

The 2 mains used query are  :

BW_QRY_CPCOTP01_0003Controlling - TP - Sale Price – Reporting
BW_QRY_CPCOTP01_0004Controlling - TP - Sale Price – Reporting detail


Workbooks

BW_WBK_COTP_0001Controlling - Sales Price - Synthesis

The query  BW_QRY_CPCOTP01_0003 has been embedded in  the BW_WBK_COTP_0001, in order to  both :




Jump

A query jump has been customized from the Synthesis Query to the delailed one, in order to allow the user to get the detail at the Item COPA document level for a specific record of the synthesis.



Of course, the number of retrieved records and overall results are in aligned with the synthesis source record

Broadcast

Maintenance

Init/Recovery procedure

By init/recovery procedure we mean manage the reference period which drives  the extraction of the  2 files in process chain : PC_FCMO_TP_01 .

The common parameter that have to be managed is located in the C_GLBFILT master data attributes 

For the following key


Global Filter Stream (Application)"Global Filter Rule""Global Filter"
TP_SPEXTRPERIOD1


You have to set  :


Global Filter Stream (Application)"Global Filter Rule""Global Filter"Global Filter ActiveGlobal Filter DescriptionGlobal Filter Hight ValueGlobal Filter Low ValueGlobal Filter OptionGlobal Filter Sign
TP_SPEXTRPERIOD1YRecovery Extract Period
201904EQI


Once the recovery process is over, do not forget to inactive the parameter for the recurring process which takes into account the current month.


You have to set  :


Global Filter Stream (Application)"Global Filter Rule""Global Filter"Global Filter ActiveGlobal Filter DescriptionGlobal Filter Hight ValueGlobal Filter Low ValueGlobal Filter OptionGlobal Filter Sign
TP_SPEXTRPERIOD1NRecovery Extract Period
201904EQI

Additional links



 Edit

  Watch

 

Pages

WBP Applications

Skip to end of banner

Go to start of banner