Académique Documents
Professionnel Documents
Culture Documents
NIKE
TECHNOLOGY USE:
APO and i2 technologies
SUBMITED BY:
AMIT KUMAR
Table of Contents
1.
2.
RESTART POINTS
3.
DEBUGGING
4.
EXCEPTION CODES
5.
INTEGRATION POINTS
6.
7.
Dependency/Impact Analysis
8.
9.
Different Environments
10.
11.
Contract Creation
12.
13.
14.
Calendar setup
15.
16.
1. Application Overview
The purpose of Apparel Supply Planning is to create a plan that will:
APO/DP sends to SCP the demand in monthly buckets for a total of 19 months.
A feasible capacity constraint plan is generated for the first 9 months of the horizon
All POs locked during previous engine run consume capacity before any new demand is
planned.
Regional managers set the numbers for BA ( Build Ahead ), BL ( Build Late ), SS
( Safety Stock ) & loading sequence
BL, BA, SS, Loading Sequence are set by country/region, risk factor & ln-line or promo.
The following listing provides the list of modules, sub-modules and interfaces that will be
maintained with respect to i2 SCP.
Application
Sub-Applications /
Modules
Interfaces
Technology Stack
Supply
Planning
i2 Supply Chain
Planner
Supply
Planning
SWAPP
MAPPER
Tera Data DB
PPS, CLP
PDM
Supply
Planning
n/a
HP-UX B.11.11
Supply
Planning
Batches
n/a
Autosys
2. Restart points :
a. eGate Jobs: When an egate job fails(job description will have a command line of
java eXxxxxx), we should restart the whole job instead of restarting the interface
alone
b. SAP Jobs: When a SAP job fails(job description will have a command line of
SAPJOB), we should restart the whole box instead of restarting the failed job
alone
c. i2 jobs: When an i2 job fails its very critical to check the stage of the engine
where it failed and have to restart from the required jobs instead of the single job
along. Refer section xx for details
d. i2 engine failures: If i2 engine fails its important to check why the engine failed.
This can be done by checking engine log file scp_engine.log This file is located
under
$INSTANCE_PATH/project_data/logs/scp
3. Debugging :
a. eGate Jobs: When an egate job fails(job description will have a command line of
java eXxxxxx),login to the aspuser staging warehouse DB and execute the
following command to see the logs for this specific failed job.
Select L.log_id,
p.lgst_port_nm,
L.intf_nm,
L.log_defn_cd,
L.sub_cmpnt,
to_char(tmst, 'dd-mon-yyyy hh:mi:ss'),
L.rlat_data
From Message_Logistics M ,
Logistics_Port P,
Log L
Where Upper(L.log_defn_cd) like 'ASP%'
And
And
4. Exception Codes :
6
a. When we have an user query with specific error message, login to the aspuser
staging warehouse DB and check for the specific combination of the
style/factory/werks/season in the table TV_ASP_STYLE_LIST
b. Verify the exception codes in the table TV_ASP_XCEP to know the exact error
message for the specific error code
c. Please refer to the attached file for exception codes.
C:\Documents and
Settings\Shreys\Desktop\TV_ASP_XCEP_CD.xls
5. Integration Points :
a. Delivery Plan files: The delivery plan files come from Teradata environment.
They are located under $FTPDIR on Intpeg2 server.
b. R/3 files:
c. File watcher jobs:
i. 43G: This file AspMapper43G.dat has the details of the Country level
sourcing overrides. The file watcher job associated with this file is
nscasg0109_fwmapasovr
ii. 58I: This file AspMapper58I.dat has the details of the Regional sourcing
overrides. The file watcher job associated with this file is
nscasg0104_fwmapsrcovl
iii. 606: This file has the details of the Factory lead times and minimums for
non-CMP styles. We send a file named AspMapperCap606ParmsMsg.dat
to mapper requesting for the factory minimums and lead times and
mapper in turn sends back the file fg-cap-606.dat with the required
information. The file watcher associated with this file is
nscasg0101_fwmapcapfl
iv. BPBLD: We send the supply plan to the mapper team and the mapper
team sends back the Buy Plan file <To be updated>. The file watcher job
is nscasg0105_fwmapbp
7
7. Dependency/Impact Analysis
a. Delivery Plan: In the absence of delivery plan files, ASP engine can not create
the supply plan. These files are a critical input for ASP engine. In the absence of
supply plans, Pos will not get created.
b. ASP Reports: ASP reports are dependent on ASP engine run. ASP exports data
like supply plan, material pegging info etc, which is used as a critical input for
ASP Brio reports generation. These reports are used by business user for
planning.
c. AME/AMPS reports: AME/AMPS reports are indirectly dependent on ASP run.
The buy plan generated from Mapper will become an input of AME run. Mapper
in turn depends on supply plan generated by ASP.
Buy Date In Past(BDIP) occurs when lead time for the style is such that the
suggested buy date by the system is in the past. i.e. before plan.current ASP
engine while planning explores all possible options like violating safety stock,
build late and expedite mode to bring the plan after plan.current. However it is
not always possible to resolve this. The lead times which cause this issue are as
below. One should start from demand date and go back in time by subtracting
the lead times mentioned below.
DC Processing Time
Safety Stock
Transit Time
Macro Lead Time
By subtracting all these lead times you will get ideal buy date which will be most
likely in the past before plan.current. Plan.current is the date on which engine
runs. This ideal buy date is aligned to Nike apparel global buy date which is
further in the past. Hence a BDIP scenario emerges. To debug this issue one
needs to have access to apparel SW database or apparel ODS database.
Following are some places where you can get the values for the lead times
mentioned above.
1) Macro Lead time: This is in table TV_ASP_FCTY_PARM
2) Safety stock/build Ahead/Build Late: This is in table TV_ASP_INV_PARM
3) DC Processing Time: The default values are updated in table
TV_TMAPI_DC_PARMS
If this join fails for the record in question, then a NULL is populated for
FY_FCTY_CD in TV_ASP_STYLE_LIST.
Another reason why a supply plan may not exist is that demand in question may
have some error. Examine the NO_LD_ALL in TV_ASP_STYLE_LIST table. If it
is not NULL then investigate the reason based on the code.
10
Why did the style error out with message Lead Time found is 0 or null for
Region/Style/Factory combination?
If this error occurs NO_LD_CD will be set to 11 in TV_ASP_STYLE_LIST table.
What it means is that there no macro lead time for the specified combination of
experimental style number, season, year & factory. You may also have to check
rb_mkt_reg_cd. This data should be checked against TV_ASP_FCTY_PARM. If
no rows are found for above mentioned combination error code 11 will be raised.
Why style is sourced from factory A when it should be sourced from factory B?
The default factory for a style is specified in PPS. This is available in table
TV_ASP_PPS_SGSRCQT. Business users have the option of using override
through Mapper system. The TV_ASP_MPR_58I table contain factory overrides.
To check if override exists one has to look at the combination of season-year,
experimental style number, style number, style color, market type id & market
region code. Override can be specified using any combination of above
mentioned data. In case of sourcing question as above check if there is any
override from Mapper system.
Mapper is
fg-cap-606.dat and loaded in ASP table TV_ASP_FCTY_PARM
2) Safety stock/build Ahead/Build Late: These come from SAP Inventory Toolkit
and
loaded in table TV_ASP_INV_PARM
11
To explain the GAC date we can start with demand date and go back in time
starting
with DC processing time. Also by subtracting safety stock time & transit time
will give
you the GAC date. Please note that due to transportation alignment GAC date
may
shift. i.e. if the transportation operation is starting in a month after make month
then
alignment logic will pull it in the same month as make month. This is a Nike
business
policy.
12
Please explain error 58i override invalid - Factory is not active for Apparel
The factory overrides come from Mapper. The default factory comes from PPS.
The overrides are mentioned in table TV_ASP_MPR_58i while the default factory
is in table TV_ASP_PPS_SGSRCQT. In case the override factory is inactive
exception code 37 is flagged in style list table. Refer to package
ASP_SOURCE_OVERRIDE for code logic. The procedure
Put_Invalid_Fcty_xcep will check for this exception.
This will update xxx_stat flag in Mapper based on
sy_sty_nbr/sy_colr_cd_id/season/year/Marketting type/region code. That means
if one
fy_fcty_cde is invalid for sy_sty_nbr/sy_colr_cd_id/season/year/Marketting
type/regionit then all the rows for
sy_sty_nbr/sy_colr_cd_id/season/year/Marketting
type/regionit will be excluded from processing.
9. Different Environments
a. Production Support Environment
13
b. QA
c. Development
d. Production
e. Process of Issue Regression
14
C:\Documents and
Settings\Shreys\Desktop\Apparel_LER_and_Short_Run_Checks.doc
15
Dependent
Autosys Boxes
16
Purpose
NSCASG_36
NSCASG_500
GB-AspDpulAllNI
(New 1007
Demand Pull)
NSCASG_03
GBAspDpulOnly-NI
(New 1007
Demand Pull )
NSCASG_04
Only if theres a
Demand Pull Run
request by Business.
17
18
19