sexta-feira, 16 de setembro de 2016

Available to Promise (ATP)

What do we need to know?

Dates:-

Order Date

 Date on which the sales order is entered. System proposes the current date by default.

Material Availability Date

 The date on which the material must be available. On the material availability date, the vendor must start the activities relevant for delivery, such as picking and packing the goods. The material availability date must be sufficiently early enough so that the goods are prepared by the loading date.

Transportation Planning Date

 We must arrange transportation by this date, so that the delivery can be sent to the customer. The date from which the organization of goods transport must begin. The transportation planning date must be selected early enough so that the transport is available on the loading date to load the goods.

Loading Date

Picking and packing must be completed by this date so that the goods are ready for loading.

Goods Issue Date

 Goods must physically leave the shipping point by this date. The date on which the goods must leave the company to arrive at the customer location in time.
 

Delivery Date

Customer should receive delivery of the goods by this date. The date on which goods are to arrive at the customer's premises. Example: The delivery date can be the delivery date requested by the customer (desired delivery date) or the date confirmed in the vendor's order acknowledgment or shipping confirmation (confirmed or acknowledged delivery date). 

Times:-

Pick/Pack Time

 Difference between the material availability date and loading date.

Transportation Lead Time

 Number of days required for organizing a shipment for an item to be delivered.

Loading Time

 Difference between loading date and goods issue date.

Transit Time

 Number of days required for delivering an item from your company to the customer via a certain route.

How do we View Availability Situation?

Run Transaction: CO09
Enter Plant & Checking Rule, against which the Availability is to be checked. For Sales Order Checking Rule = A, Delivery = B, Back Order = BO 
 
In this screen, we can see:
  • Availability Checking Group (Avail Check): 02
  • Check Rule : A
  • End Lead Time Refers to the end of Replenishment Lead Time. If that is not included in the Configuration, then this field is not visible.
  • Totals Display:** Receipts = Sum of all +ve Quantities in Rec./Reqd qty Column
    (Leave out the last row, MRP Element 001, since it is a total)
    These are all the Planned Incoming Movements
    • Issues = Sum of all -ve Quantities in Rec./Reqd qty Column
      These are all the Planned Outgoing Movements
    • Confirmed issues = Sum of all (+ve) Quantities in Confirmed Column
      These are the confirmations against ATP.

When is Availability Check Triggered?

While creating a Sales Order, Production Order, Delivery, etc. Below is a screen from Sales Order. At the bottom is a button for Check Material Availability. Also while creating the order, if the Availability situation cannot meet the requested delivery date, the system goes to Availability screen automatically. (Discussed later)
Run Transaction: VA01

How we arrive at a Confirmed Delivery Date?

Below is the logic the system uses to check availability:

  • Using the Scheduling data from Delivery & Transportation Scheduling, the system does the backward calculation from the Requested Delivery Date. This is used to arrive at Material Availability Date.
  • On the Material Availability Date, system checks the Available Qty, as seen in CO09 in column Cum. ATP Qty. If the Available Qty is > than Required Qty, Requested Delivery Date is confirmed. Otherwise,
  • System moves into the future till it finds the required Available Qty. The new date is then the new Material Availability Date.
  • On getting the confirmed Material Availability Date, system does the Forward Scheduling to arrive at a Confirmed Delivery date.

Backwards Scheduling


Control of Availability Check

  


Forward Scheduling

  

Result of Availability Check: Some Sample Scenarios


Above is the Availability Screen as seen in Sales Order. It has following Buttons:
One-time delivery
In the results of Availability, we have 3 options to choose from. This is Case 1, when we can confirm the Customer's Requested delivery Date. The details of this are visible in the first sub screen below.
Complete dlv.
This is Case 2, when we can confirm the Customer's Requested complete delivery at a future Date. The details of this are visible in the second sub screen below.
Delivery proposal
This is Case 3, when we can confirm the Customer's Requested delivery in partial quantities at future dates. The details of this are visible in the third sub screen below.
Continue
If we select one of the above options, the same gets saved in the ATP results. Otherwise, we can select this button. In that case, system leaves the ATP screen without saving the ATP results. 

Case: Confirmation on Requested Delivery Date


Case: Confirmation after Requested Delivery Date (Complete Delivery) 

Case: Confirmation after Requested Delivery Date (Partial Delivery)


 

See the screens below corresponding to this situation.

The first screen shows the Availability (CO09) Overview. We have an incoming PO on 19 Jan. 
!image034.jpg!In the second screen
We have created a SO (VA01) on 09 Feb, with requested Delivery date for 09 Feb. 

Now we change the Availability situation, by changing the PO Date to 12 Feb. See the screens below corresponding to this situation.

The first screen shows the Availability (CO09) Overview. We have an incoming PO on 12 Feb. See the new Cum ATP qty. date wise accordingly.

!image038.jpg!In the second screen
We have created a SO on 09 Feb, with requested Delivery date for 09 Feb.
See that the Delivery got staggered according to the new Availability situation.

Case: Confirmation after Requested Delivery Date (Replenishment Lead Time)



In the screens below, we have simulated the RLT.
In the first scenario RLT is not activated, see below: 'Check without RLT'. The system considers only the confirmed inward movements. So out of 500 only 21 is confirmed.
See IMG Guide > SD > BF > AC & TOR > AC > AC with ATP > Control of Availability Check
See VA01 


 
In the second scenario RLT is activated, but corresponding data in material master is not maintained. Material is procured In-House (E), but In-house Production time (1st screenshot) & RLT (2ndscreenshot) are not maintained. The system assumes both these times as Zero. So, complete 500 are confirmed immediately. See MM01



 In the third scenario RLT is activated, corresponding data in material master is maintained. Material is procured In-House (E), In-house Production time (10 days) & RLT (not maintained). The system confirms 21 on basis of incoming material. Rest 479 is confirmed after 14 days. This is because 10 working days for in-house production + 4 holidays (Sat-Sun).





In the fourth scenario RLT is activated, corresponding data in material master is maintained. Material is procured In-House (E), In-house Production time (10 days) & RLT (20 days). The system confirms 21 on basis of incoming material. Rest 479 is confirmed after 14 days. This is because 20 working days for in-house production + 8 holidays (Sat-Sun).

What Configuration & Data do we need?

Controlling Elements:-

Requirements Type
Requirements Class
Schedule Line Category
Delivery Item Category
Checking Group
Checking Rule
Scope of Check
Strategy Group
Partial Delivery Agreement
Replenishment Lead Time

Material Master Data:-

MRP 1 > MRP Group
MRP 2 > Planned Delivery Time
MRP 2 > GR Processing Time
MRP 3 > Checking Group for Availability Check
MRP 3 > Strategy Group
MRP 3 > Total Replenishment Lead Time 

Scheduling Data:-

Transit Time
Loading Time
Pick/Pack Time
Transportation Planning Lead Time

Fonte: https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=82805121

sexta-feira, 9 de setembro de 2016

SAP ERP SD Credit Management – Troubleshooting Guide

This Guide is relevant for the Automatic Credit Management (OVAK=D) and does not include the Simple Credit Check nor the FSCM functionality. 

 What kind of problem do you face?





  • No labels

quarta-feira, 7 de setembro de 2016

Creating Factory/Holiday Calendar

This tutorial describes step-by-step procedure of creating and adding a new holiday to holiday and factory calendar.

Note: It is not recommended to make any changes to the factory calendar in a production system.
All the calendar data should be maintained in a customizing system.
Updates are done via transports from the customizing system.
As a special case a customizing client in the productive system can be established.
Changes in the customizing client will then directly affect the productive system, as the calendar data is client-independent.

SAP Calendar:

http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal0.PNG
SAP calendar master consists of three separate sub-objects which are inter-linked to each other:

  • Public Holidays,
  • Holiday Calendar and
  • Factory Calendar.


Public holidays :

Public holidays can be defined and be combined into holiday calendars.
Public holidays describe the statutory holidays for a particular country or region within a country.

Types of Public holidays:

  • Fixed date
  • Fixed day of week from a specific date
  • Specific number of days before or after Easter (Sunday)
  • Easter Sunday
  • Moveable holiday (with individual specification of dates during each specified year).

For holidays with fixed date (such as Christmas) and moveable holidays it is possible to specify simple rules guaranteeing the holiday if it falls on certain days of the week (Thu, Fri, Sun, Sat/Sun). For instance, Christmas day public holiday may be moved to the next working day if it falls on a Saturday or Sunday.

Holiday calendar :

Holiday calendar is assigned to each factory calendar.


Factory calendar

Factory calendar contain company specific dates such as alternate working Saturdays and holidays.


T-Code  :     SCAL
IMG SPRO -> Time Management -> Work Schedules

http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal_pub0.PNG

Step 1: Create Public Holidays

  1. Select the radio button Public holidays.
  2. Click Change button  .
  3. On Change Public Holidays: Overview screen click Create button  .
  4. A pop up window appear to select the Type of Public Holiday.
http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal_pub_fix0.PNG

Type of Public Holidays

  1. with fixed date: This public holiday falls on the same date every year (e.g. Christmas Day).
    1. Enter the Public Holiday Definition.
      1. Day (e.g. 25)
      2. Month (e.g. 12)
      3. Guaranteed : specify whether the public holiday should be moved or not if it falls on a weekend.
        1. Not Guaranteed: Indicates that the public holiday should not be moved if it falls on a weekend.
        2. Thursday, Friday, Sunday, Saturday/Sunday: If the public holiday is to be "guaranteed", i.e., should be a day off in any case, you have to specify the workday to which the public holiday should be moved.
    2. Enter the Public Holiday Attributes:
      1. Sort Criterion: use this to display logically related holidays in a block, e.g. all holidays for a country.
      2. Religious Denomination: (e.g. Christianity).
      3. Public Holiday Class: this specifies the holiday type. It can be used to determine the groups of holidays and normal days. (e.g. '1' is ordinary public holiday).
      4. Give Long/Short Holiday Names.
    3. Click Create icon  .
  2. Floating Public Holiday: This public holiday is not fixed. It must be defined explicitly each year. (e.g. Vesak Full Moon Poya Day).
    1. Enter the Public Holiday into relevant boxes: Year/Month/Day (e.g. 2012, 05, 05).
    2. Enter the Public Holiday Attributes and click Insert Date icon.
http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal_pub_float.PNG

Step 2: Create Holiday Calendar

To assign public holidays in a holiday calendar, we need to maintain one or more holiday calendars to accommodate the differing holiday schedules of our company.

  1. Select the radio button "Holiday Calendar".
  2. On Change Public Holiday Calendar: Overview screen click Create button  .
  3. Enter the Calendar ID and the Name of the calendar. A holiday calendar is identified in the system by a two-character calendar ID.
  4. Enter the validity of the calendar.

Assign Holidays

  1. Click on the Assign Holiday button to assign the holiday.
http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal_holi_cal.PNG

  1. From the Insert Public Holidays into Holiday Calendar screen, search for the respective calendar and select the holidays you want to allow.
  2. Click on the Assign publ.holiday Button.
  3. The public holiday gets added; click on save button to save the holiday calendar.
  4. Acknowledge all the messages.
http://wiki.sdn.sap.com/wiki/download/attachments/263554549/scal_pub_holidays.PNG

Step 3: Define the Factory Calendar

hcal_2013.png
  1. Select the working days and assign a holiday calendar to factory calendar.
  2. Select the radio button "Factory Calendar".
  3. Enter the Factory Calendar ID (same as the Holiday Calendar) and the Factory Calendar Name.
  4. Enter the Holiday Calender ID.
  5. Save.

Special Rules:


Special rules are used to define a date (or periods) as a holiday or as a workday, which is not maintained in the holiday calender (which is applicable for that year only).
In the Public Holiday definition you can determine if a holiday should be moved if it falls during weekends.
You can assign this special rules accessing the "Change Factory Calendar: Details" :: Special Rules button.
scal_srule_Layer 3.png
  1. Go to Factory calendar (change) --> change calendar --> Special rules.
  2. Enter the date and specify if it is a holiday or workday, then save.
  3. The Special rules have higher priority than holiday calendar holidays or workdays.

Finally, click Year Overview and check for the dates.
fcal-2013.png

Final Step: Transport the Calendar

All changes made to the holiday or factory calendar must be transported manually.

  1. Go to SAP Calendar: Main Menu.
  2. Select one of the sub-objects and click Transport button  .


Calendar Functions


Once the SAP Calendar is configured properly, you can use this data to perform various types of calculations.
SCAL function group consists of some predefined function modules that can be use to determine whether or not a given date is a working day, holiday, etc.


Function ModuleDescription
DATE_COMPUTE_DAY
Computes the day of the week for a given date. Day values are calculated as 1 (Monday), 2 (Tuesday), and so on.
DATE_COMPUTE_DAY_ENHANCED
Computes the day of the week just like DATE_COMPUTE_DAY; also returns the day value as text (e.g., TUESDAY, etc.).
DATE_CONVERT_TO_FACTORYDATE
Calculates the factory date value for a given date. Also provides an indicator that confirms whether or not the given date is considered a working day according to the selected factory calendar.
DATE_GET_WEEK
Determines the week of the year for the given date. For example, the date 9/13/2010 would be the 37th week of the year 2010.
FACTORYDATE_CONVERT_TO_DATE
Converts a factory date value back into a date object.
HOLIDAY_CHECK_AND_GET_INFO
Tests to determine whether or not a given date is a holiday based on the configured holiday calendar.
WEEK_GET_FIRST_DAYCalculates the first day of a given week.
Fonte: http://scn.sap.com/community/erp/blog/2012/12/31/creating-factoryholiday-calendar