Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part...
-
Upload
rehanshaikh783723 -
Category
Documents
-
view
313 -
download
15
description
Transcript of Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part...
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
Configurable Process Scheduling
(CPS) Used in Transportation and
Shipment Scheduling of GATP -
Part 1
Applies to:
SAP SCM 5.0, 5.1, 7.0 and above.
For more information, visit the Supply Chain Management homepage.
Summary
This White Paper explains functioning of CPS. CPS is Configurable Process Scheduling. CPS is one way of configuring Transportation and shipment scheduling in GATP. CPS uses business processes which have activities and these activities have a start date and end date. CPS should be used in scenarios where Transportation and shipment Scheduling can not be achieved using Condition Technique. This is a part one and second part will have more complex scenarios.
Author: Pavan Verma
Company: Netage Systems Inc
Created on: 29 July 2010
Author Bio
Pavan Verma has 12 years of experience in SAP and has strong more than 5 years of GATP, SNP and SD. Pavan is presently working with Netage systems Inc. as Senior SCM Solution Architect.
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
Table of Contents
Introduction ......................................................................................................................................................... 3
Scenario .......................................................................................................................................................... 4 Configuration ................................................................................................................................................................ 6
Related Content ................................................................................................................................................ 19
Disclaimer and Liability Notice .......................................................................................................................... 20
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
Introduction
Configurable process scheduling is a cross-application function, which you can use to schedule several freely definable business processes according to your own rules.
Using CPS, SAP has given opportunity to configure dates such as Material availability date (MBDAT) or Goods issue date (WADAT). By using Time stream calendars cut-off time can be configured.
CPS uses Process Alias. Process Alias is the name of the business process example SCHEDL_SDD for sales order processing where many dates are required or PLANNING process where Goods Receipt and Goods Issue dates are derived.
Process alias refers to Scheduling Schema. There are two ways of finding Process Alias either by assigning it to item category or by condition technique.
“Note that assignment of the item category to the process alias is ignored if the system has previously found a process alias using the condition technique. “
You have set configurable process scheduling so that the system calculates at least the following derived date types:
Unloading date (ELDAT)
Delivery date (LFDAT)
Goods issue date (WADAT)
Loading date (LDDAT)
Material availability date (MBDAT)
Transportation planning date (TDDAT)
The dates must also be arranged in such a way that the following conditions are met:
The unloading date is greater than or equal to the delivery date.
The delivery date is greater than or equal to the goods issue date.
The goods issue date is greater than or equal to the loading date.
The loading date is greater than or equal to the material availability date.
The loading date is greater than or equal to the transportation planning date.
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
Scenario
Let us try to understand CPS from a sales order availability check and Transportation Scheduling.
Following example is the CPS Scheduling of sales order availability check.
In the activity Transport and Plan -- Duration is determined, all other activities such as. Load, Set up, Unload have only Calendar is Determined
Fig-1
Duration of Lead or Plan is determined due to condition record found for Plant = 3000 and Delivery Priority = 02
Fig 02
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
Duration of Transport is determined due to condition record found for Transportation Group = 0001
Fig 3
The condition record values can be accessed by T code /SAPAPO/SCH_GCM - Edit Conditions for Configurable Process Scheduling
The maintenance group is defined in configuration, the maintenance context is GCM (Hard coded).
Fig 4
Fig 5-A
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
Fig 5-B
Configuration
In the ECC, Transportation Scheduling should be active for the sales document type.
The path is IMG--> Sales and Distribution--> Basic Functions--> Delivery Scheduling and Transportation Scheduling--> Define Scheduling By Sales Document Type
Fig 06
In SCM
CPS Configuration starts with defining activities in the Schema and later CPS works on the basic principle of Condition Technique.
1. Create Condition Table
2. Create Access Sequence
3. Assign Condition Table to Access Sequence
4. Create Condition Type.
5. Assign Access Sequence to Condition Type.
6. Create Procedure
7. Assign Condition Type to Procedure
8. Assign Procedure to Scheduling Schema and Activity Type
9. Create Condition Record.
IMG--> SCM Basis--> Configurable Process Scheduling--> Define Schema
Scheduling schema or procedure (eg. SCHEDL_SDD) is used within a process definition. The procedure is used to control the behavior of scheduling of a sales order or STO.
There is no need of defining a new Z schema as standard SAP delivered schemas are good enough.
Moreover SAP has hard coded Schemas in the scheduling programs
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
SCHEDL_SDD has following activities
LEAD
LOAD
PICK
SLEAD
TRAN
UNLD
In the following configuration, we can see what is the basis of Location, Duration, Calendar, Time zone determination. Example Location Determination: The start of activity TRAN is Location From and end of TRAN is Location To.
Fig 7
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
The priority of determining Class to determine Calendar / Duration/ Time zone is maintained here.
We can see that Calendar Determination, The first priority goes to Condition Records and then to Location Master Data.
Fig 8
The name of Scheduling schema should match with Process Alias. The process alias is mapped to workflow identifier.
The path to maintain Process Alias: IMG --> SCM Basis-- > Configurable Process Scheduling --> Process Definition --> Define Process Alias
Fig 9
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
The condition technique allows us to use the fields which are required by the business such as Ship To, Plants, Loading Group, Delivery Priority etc.
Fig 10
The following example explains how to influence the MAD (Material availability date) and define Transit time.
MAD date can be pushed by using activity LEAD
Transit Time can be determined by using activity TRAN
Create Condition Table
Select Application SCH and Usage DU .Usage DU is for duration.
Table CUS88 with Fields Plant and Delivery Priority
Fig 11
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10
Table CUS681 with Field Transportation Group
Fig 12
Create Access Sequence
Fig 13
Access Sequence Z21
Fig 14
Access sequence ZAC3
Fig 15
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 11
Assigning table CUS88 to access sequence Z21
Fig 16
Assigning Table CUS681 to access sequence ZAC3
Fig 17
Fig 18
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 12
Create Condition Type and assign Access Sequence to it
Fig 19
Define Determination Procedure
Procedure ZTPTGR and ZLEAD
And assign condition type ZTPT to procedure
Fig 20
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 13
Assign Condition type ZLD to Procedure ZLEAD
Fig 21
Create Condition Maintenance Group
Condition Maintenance Group ZSCH
Fig 22
Assign Schema and Activity to a Determination Schema
Fig 23
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 14
Determine Assignment of Item Category to Process Alias
This configuration can be used if CPS needs to executed by certain item categories or in specific order types.
Fig 24
But process alias can be determined either by item category (Fig 24) or directly by Condition Technique Fig 23.
Incase of Stock Transport Order, there is no item category so system finds Process Alias using Condition Technique.
Now the condition record maintained procedure Z20 for activity LEAD is going to influence the MAD date and the condition record maintained procedure ZTPTGR for activity TRAN is going to influence Transit Time.
The usage CA or Calendar is mapped to Time stream calendars. We can use Time stream along with Factory Calendar to influence working time of Delivering location or working time of Receiving location (Customer –Ship To).
Time Stream Calendars can be used to influence the activities also example Start of TRAN. If we want PGI should happen on particular days we can control that using Time stream Calendars and assigning these calendars to appropriate fields.
Fig 25
Warning: You may get short dump if you try to look lots of records in change mode, the solution is look in display mode.
Maintaining these records is a pain, business may want easy solution, and using development condition records can be uploaded or deleted.
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 15
Time Stream Calendar can be maintained by T code /SAPAPO/CALENDAR - Calendar
Fig 26
The following example explains different calendars assigned to combination of Plant and Ship To. Z93 condition type is assigned to procedure Z93 . Procedure Z93 is assigned to activity TRAN and usage Duration.
Fig 27
The Customer 3250 will have Post Goods Issue date always on Friday and 100181 can be shipped on any day.
The following example is a sales order for Ship To 3250
Fig 28
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 16
The condition record found using condition technique
Fig 29
Results in ECC show the PGI date on Friday, based on Requested delivery date of 08/04/10
Fig 30
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 17
The following example is a sales order for Ship To 100181
Fig 31
The condition record to determine Calendar is found using condition technique Fig 32.
Fig 32
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 18
Results in ECC show PGI date based on scheduling, based on Requested delivery date of 08/04/10
Fig 33
Development in CPS Scheduling can be done in two of the user exits of SCM
EXIT_/SAPAPO/SAPLVCRM_001 : Scheduling: Inbound Interface
EXIT_/SAPAPO/SAPLVCRM_002 : Shipment Scheduling: Data Determination
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 19
Related Content
http://help.sap.com/saphelp_scm2007/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_scm2007/helpdata/en/bf/2cfe7079d2bd4f9da8161ded949143/frameset.htm
Configurable Process Scheduling (CPS) Used in Transportation and Shipment Scheduling of GATP - Part 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 20
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.