General presentation

Objective of the application

BW Demand Planning Scheduling (DPS)

<describe in a few words the content of application + link with functional or technical specifications (google links) done with during the project or linked with PPMO>

Tool Leader: tbd

IT leader of the application: tbd 

Name of project: Dynasys

PMO Project: 6046 S&OP with Dynasys - Core model and pilot

UR: UR335513 DYNASYS Sales Forecast / UR333365 DYNASYS Demand Planning

Reporting Coordinator: GONZALEZ-ROUX, Célia <celia.gonzalez-roux@solvay.com>

Usage information

Number of users: tbd

Critical period: none

Geographical perimeter: worldwide

InfoArea:

Process chain Display Component:

Roles & Access

Roles and access

Role Id  
ZR_RCS_CA_M52 DP - Demand PlanningRole Menu Dynasys
ZBI_RCS_DP_A02Demand Planning - DynasysRole utilisateur Dynasys
ZBI_RCS_DP_A03Demand Planning - Dynasys Keyuser

Role Key user Dynasys, accès aux transactions

  • ZMAINT_MATPLANT
  • ZMAINT_MATVENDOR

Authorisation objects

n/a

Dataflow presentation

Overview

Functional and Technical rules on Workbench

General presentation

Most DSO / Cubes are used to extract data to the Dynasys tool. 

Data are extracted from a source outside BW dynasys (it could be another BW application, ECC table, query etc), loaded into DSO and/or Cubes. Then data are transformed through an APD and loaded into flat files which are loaded into the Dynasys tool.

Useful file to understand dataflow from APD to source, and check filters applied all along the dataflow:

Conversion in KG unit

Only conversion in two steps are managed (UOM then T006; conversion in Three or more steps are not managed in Dynasys and should be updated by the business)

 

Transformation from ZWPPTDYS ECC table

Documentation

Functional specification are available in the following spreasheet:

In the following tabs:

ECC process

The ZWPPTDYS is loaded on ECC side through the transaction ZWPPTMRPOUT (which load the ZWPPMRPOUT program)

BW Process

This table is loaded from PF1/WP1 into WBP in the DPDYN02 DSO (Propagation) and then in the DBDYN14 (Propagation).

All rules are available in the following transformation

ODSO DPDYN02 -> ODSO DBDYN14

See short description of this rules below

 Begin of global

Declaration of types

Declaration of table & variable

Begin of routine

Declaration of field-symbols

Refresh internal table

Clear variable

Get Source system using class oref_dynasys_utils, method get_source_systems

Get Systems extensions using class oref_dynasys_utils, method get_system_extension

Phase 0: Table preparation

Load each required table into hashed table.

Phase 1: DSO Enrichment

Depending on value of field c_delkz:

  1. Step 1: Ship/Rec Shipto ID (PARTNER_CUST_ID)
  2. Step 2: Ship/Rec plant ID (PARTNER_PLANT_ID)
  3. Step 3: Complement ID (COMPL_ID)
  4. Step 4a: BU Source
  5. Step 4b: BU Destination
  6. DOC_TYPE
  7. ITEM_CATEG

Remarks:

Between phase 1 and 2:

fields are assigned for expert routine (source to result)

system extension is added to field (Material, Plant, Partner plant ID etc) and remove unneeded 0 using function conversion_exit_alpha_output. These new value are stored in dedicated infooject to e used later in Phase 2 of script

A check is done to find any correspondance with content of specific tale zmatplant and zmatvendor


Phase 2: Flag determination

Once Phase 1 is finished, depending on DELKZ value, several fields are loaded:

File flag fields: these flag will be used in APD to dettermine which data needs to be loaded in flat file

Flowid identify which rule has been applied regarding the specification

All rules are checked one after the other. Once one check is validated, the check stop

Remarks: c_pfctr2 = BU SOURCE and c_recptbu = BU DESTINATION

Global Filter C_GLBFILT

Stream: DPS

Main filter : C_PFCTR2 (BU) and  PLANT

These 2 filter may be extended regularly due to the extension of Dynasys perimeter (RCS en january 2016, Soda in june 2016)

Other filters: C_MGN_ACC, DEL_TYPE, ITEM_CATEG, MATL_TYPE, REASON_REJ, REC_TYPE

Usage of error stack

>>>>>>>>>> To be detailed

Specific table

ZMATPLANT

ZMATVENDOR

>>>>>>>>>> To be detailed

"UD connect" connection

Dynasys is a MSSQL tool, BW WBP is on an AIX server. No ODBC driver exists between BW and MSSQL server in Linux / AIX.

This problem was solved setting an UD connect connection

User ID for Dynasys connection is Dynasys_Interface / Password  : 791hB6zi8Rk1DBSV3uNG

 

Dynasys Production server: WDCCLSLBV01\SLV1_DBPRD

Dynasys Development server: WDCCLSLBV01\SLV1_DBDEV

Management of file through APD

Files are created in the following folder

/exploit/depart/Dynasys

To avoid problem with quotes, routines have been added in APD to encapsulate existing quotes in description fields

Data loadings

Loading frequency

Daily: launched by the LO_DAILY_MASTER_DATA process chain around 6:00 AM each day.

Weekly: launched on saturday, 9:00 AM

Yearly: launched the 15th of January at 9:00 AM

 

Flag end of process chain: For both daily and weekly process chain, at the end of APD execution, a command is sent to the Dynasys tool. This command must be executed in productive environnement only and is not effective in other environnement (it will raise an error). The Decision process prevent execution of the command in non productive environnement.

 

Average performance

Most DSO & Cubes are loaded in full mode due to the low amount of data and/or calculation rules.

Exception:

DPDYN21: 2,1 M lines loaded in delta mode

DPDYN22: 2,2 M lines loaded in delta mode

Daily chain usually run for 25 to 45 minutes.

Weekly chain usually run for 40 minutes  to 1,5 hour

Remark: on going evolution will transfer most process in the weekly chain to the daily one (increasing duration of daily chain and decreasing weekly chain).

Historization

No data below 3 year before beginning of current year are kept. Ex: in Aprl 2016, only data greater than or equal to 01.01.2013 are loaded in Dynasys.

Reporting

Queries Documentation or user guide

No dedicated documentation on queries

Main queries

only one queries (5/2016). To be updated with the Sales Follow Up evolution  (Anne-Laure Bouchet) and the Forecast Accuracy evolution (Laressa Moretti)

Main functionnalities

n/a

Broadcast

n/a

Maintenance

Known bugs

Customer Sales empty or inexact (C_CUSTSAL or 0CUST_SALES)

Due to loading routine in the propagation level of DPSDSO05 / DSO_SD02 which are loaded in delta mode, this field is not correctly updated

 

Customer Sales attributes empty or inexact (0CUST_SALES)

Modification on ZZ fields are not taken by the delta. Only full loading can fix this problem.

 

Update of UD Connect datasource

Data loaded from Dynasys tool are using "UD connect" connection type (Java).

Datasource updated in Udconnect can encounter problem in WBQ / WBP due to Metadata cache (whereas everything is ok in WBD)

S:RSSDK:300 Field GHFF_QUANTITY is not a member of /BIC/CADTS_ EXP000010000001

Message no. RSSDK300

Ask Addagio team for a « cache clearance for quality / production system on this JCO connection” 


Recurring procedure

n/a

Planned Evolution

Several minor evolution