Availibilty check during sales order creation and its relation to PP

Hi all,
A critical scenario I am stuck in. My client has 3 plants viz. 1000, 1100, 1200. Plant 1000 gets sales orders from different customers and production happens on plants 1100 and 1200 through special procurement key. Customer A and customer B are very important for plant 1000. For customer A client allocates 25 tonnes per week and for customer B, 15tonnes/ week. The amount agreed can be changed at any time with the customer.  The purpose of this allocation is to reserve capacity for these customers in order to provide short lead time.
Capacity of plant 1100 is 200 tonnes per week( I am not sure where to define). If for last 3 weeks, capacity booked in plant 1100 is 190 tonnes including 15 tonnes of Customer A and 15 tonnes of Customer B , then plant 1100 can take orders for 10 tonnes more.When a person creates a sales order in plant 1000, it should show that plant 1100 has capacity available only for customer A and for other customers it should show later date for delivery.client wants to set a forecast demand of 25 tons/week for customer A and 15 tons/week for Customer B. As client receive specific orders from customer A or B, this should reduce the forecast tonnage accordingly.
How to map this?? kindly guide.
Regards.

ME,
The question is a bit vague, so I will give a correspondingly vague answer.
First, let me say that there is no ATP in ERP that directly confirms sales orders based on capacity availability.  However, you may not need this.
production happens on plants 1100 and 1200 through special procurement key
SPK only points to one plant.  So, for a given material or a given BOM, the source is one plant.  MRP will always plan for one source, regardless of preexisting capacity consumption.
The purpose of this allocation is to reserve capacity for these customers in order to provide short lead time.
You have left off the more important concept:  What happens to the remaining capacity?  This is what you need to limit. 
So, lets look at the parts where the SPK points to 1100 as a source.  You need to ensure that A gets 25 MAX, B gets 15 MAX, and 'everyone else' gets 160 MAX (200 - 25 - 15).  This can be achieved using product allocation.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/744d05546011d1a7020000e829fd11/frameset.htm
In the case where 'Everyone else' gets an unfavorable lead time (or an unconfirmable order) you can manually shift the production for those orders to plant 1200, provided capacity is available.
client wants to set a forecast demand of 25 tons/week for customer A and 15 tons/week for Customer B. As client receive specific orders from customer A or B, this should reduce the forecast tonnage accordingly.
Forecasting is OK, but a separate topic.  He can forecast and build any way he wants, and the forecast will be consumed according to whatever strategy he has selected.  However, it won't be relevant to ATP.  The only ATPs that use forecasting are against Planned independent requirements, which are not customer specific.
Best Regards,
DB49

Similar Messages

  • Capacity check during sale order creation

    hi,
      i have the following doubts,
    1. During sale order creation i need capacity availability check for that i make settings, its working good,if i put the order in the evening time but system take the start time as morning shift starting time.can any one guide me to take the time as the order creation time. and also help me how the system check the capacity.
    2. During sale order creation , if suppose capacity is loaded means it will show a pop up with the name capacities with overload,
      Here i need the clarification how the system calculate the requirements and requirements order, capacity load, from where the system get the information for these calculation.
    Muthamil

    Hello, you are working with a make to order scenario, that means that a planned / production order must be created to address specifically your customer requirement ??
    By standard SAP you can have a capacity availabily check once the production order is in the creation phase....but this should be too late for you.....

  • Material Availability check during work order creation and Release

    Hello All,
    We are checking material availability at creation as well as release
    Say we have Material XYZ=100 in stock MMBE
    Now XYZ =100 is say at normal storage location =75
    and scrap storage location=05 and serviceable =20
    Currently when availability check is performed it checks for 95 (It excludes scrap storage location 05 )
    but we want  Availability check to be only for normal stock =75 and not for Serviceable and Scrap location
    how to do this in configuration or via exits
    Since if the material is under Scrap location it is not counting in Availability check at work order creation this logic is working fine but I do know from where this control is put that when the material is in the stock of scrap it is not counting in Availability check for work orders.Same thing I want to extend it to Serviceable stock .
    Why not it is consider it for Scrap storage location , what is config or any MM enhancement
    So that when Availability check run it will not consider Materials at SCRAP as well as SERVISABLE storage location also.
    Please have your views on this
    Regards
    pratap

    Hello
    There are two option for your requiement
    1. Changing the status of the servisable storage location stock to restricted use stock . You can include or exclude this stock status material in OPJJ. This solution is not storage location dependent. It is stock status dependent.
    2. Please refer the enhancement for the storage location determination. I am not sure about this funtionality:
    For production orders the following enhancement is available:
    PPCO0005 enhancement for storage loc. determination/backflushing
    You can use this enhancement to change the storage location and the indicator 'backflushing' in the reservation.
    The enhancement PPCO0005 contains the following enhancement components:
    Function exit
    EXIT_SAPLCOSD_001 storage location determination/backflushing
    You can find the description in modification text of the function exit.
    You can find an example of the user exit in the function group XC01 in the include LXCO1F05.
    warm regards
    Ramakrishna

  • Availability check during Sales Order Creation

    Dear SD Gurus
    In our client sales orders are being created even if we don't have inventory. We want to disallow users from creating sales orders if stock is not there or if stock is less than the order quantity.
    example-
    Material code - M0001, Stock in Unrestriced use is 10 EA.
    System should allow to create sales order upto 10 EA only. If the sales order quantity is more than 10 EA , system should throw an error message and not allow him to create or save the sales order.
    kindly revert back.
    regards

    Hi
    This can be achieved by maintaining proper value in the customer master record for the filed 'Partial Delivery Indicator'. The different values for that field are.,
    "Blank"- Up to maximum number of partial deliveries permitted are allowed
    A -  One delivery attempt carried out on requested date
    B -  One delivery attempt carried out on any date
    C -  No partial deliveries allowed
    D -  Any number of subsequent deliveries allowed
    If we maintain A in that field, the system confirms the available stock for that requested delivery date and will not create extra schedule lines for the balance quantity. Please go through the below link of SAP help documentation on partial deliveries.
    http://help.sap.com/saphelp_crm40/helpdata/en/dd/5607f4545a11d1a7020000e829fd11/content.htm
    Thanks,
    Ravi

  • Credit Check during Sales Order Change (VA02)

    Hi,
    We have implemented a credit management system, where the sales order will not get saved if the credit limit is exceeded. Now this check is working fine during sales order creation. But in VA02 during sales order change, the system is giving an information message that the credit limit is exceeded, but is allowing to save the order, which is not desirable. Could you all please help me in finding a solution to this problem..
    Thanks & Regards,
    Ritam Bera

    Hi
    Kindly check that you are using simple credit check or automatic credit check(Statis or Dynamaic) below settings
    If Automatic credit check then  go to  OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    Prerequisites for credit management to work in Sales and Distribution:
    1.Assign credit control area to company code
    2.Maintain the credit limit in FD32 with details of risk category and the credit limit value
    3.Do the settings in OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    4.Assign the credit groups to the sales and delivery document types.
    5.Maintain the Subtotal 'A' in the pricing procedure against which value the sytem should check the credit limit.
    If you have any further clarifications on above let me know
    Regards
    Damu

  • Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

    I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
    This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
    Am I missing any configuration parameters?
    Thanks,
    Chitra

    Yes , I can see the error in ST22.
    While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
    - I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
        Analysis of error shows:
         Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
          Fails in the Read table in one of the form
            Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
    The main program was "RSM13000 ". In the source code you have the termination point in
    line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
    of the (Include) program "LV45UF0V".
    The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
    Thanks,
    Csuman

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • 100% advance payment during sales order creation

    Dear Experts,
               One of our international client is having one requirement for collecting the 100% advance payment from customer during sales order creation itself. Our customer is in Germany.
    For high risk customers they want to collect the advance payment for 100%. And if this 100% advance payment was not paid by customer then, sales order should not be processed.
    And during regular sales invoice creation the same down payment also needs to be displayed in the invoice as advance payment.
    Is it possible to setup this process using milestone billing.?? .or some other process is available to setup this process.
    Thanks for your cooperation.
    Warm Regards,
    Velmurugan

    Hi
    Try with this with Credit management.Put High Risk with Error message.
    When ever you will Create Sales Order it will Block due to Credit Chech.For this scenario Enter the Parking  Vale at F-66.
    Then make a entry for Customer-CR to BANK-DR.
    This may solve ur requirement.
    Regards
    JS

  • Bypass static creidt limit check during sales order simulation BAPI

    Hello All,
    We have standard static credit limit check activated.. But, we donot want this to be checked while simulation of standard sales order BAPI... i.e. the check should remain,,, but we have a requirement that the customer should be allowed to see the result of his desired sales order's simulation, even if his credit is zero, for which we are using the bapi BAPI_SALESORDER_SIMULATE,, problem is that the BAPI performs the static credit limit check and returns with static credit limit exceed error,, is their any way to bypass this check during sales order simulation only...????
    any help in this regard would be highly appreciatable..
    thanks

    I don't think it is feasible, unless you want to do a core modification of SAP code. Also simulation would work differently than the real order, it wouldn't be a good simulation, would it?
    Have your SD consultant thought about using an inquiry or quotation instead?

  • Availability check on Sales order creation

    Dear Gurus,
    I'm trying to set the availablity check on Sales order creation VA01. I need to do this on saving the order. it there an SPRO for this. please help me out on this occation.
    many thanks..

    Hi
    If there is a stock of 1000 in unrestricted and if you have included sales requirements in OVZ9 (made a tick sales requirements in inward and outward movement) then if you create a order customer X with 100 quantities of that same material stock will be reserved for that customer X with 100 quantities
    But if you check in MMBE there wont be any reduction still it will be 1000 only
    If that order is delivered and pgi done then only In MMBE stocks will become 900
    To have a very proper reservation for that customer it is better to go to  t code MB1B movement type 412 E and that will reserve stocks for him with proper material document(reserving for sales order)
    If you do that unrestricted becomes 900 and sales order stocks become 100 in MMBE
    In case 1 there is chance of your 100 quantities can be reallocated to another customer thro back order processing
    In case 2 it is not possible it will be for that order only
    Or if you create delivery and dont do PGI then stocks will be reserved for that delivery
    But to have stocks reduced from MMBE you have to do PGI
    Regards
    Raja

  • How to Overrride ATP values during sales order creation

    Hi all,
    How i override ATP values during sales order creation.
    The scenario is that we need to migrate open orders from an existing legacy system to SAP.
    While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
    Any suggestion welcome..
    Regards,

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • BADI triggered during sales order creation

    Hi,
    Can any one please let me know the BADI triggered during sales oredr creation and  sales order change.
    Thanks

    <b>BADI for VA01:</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    <b>BADi for VA02</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    Regards,
    Nilesh

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • Availability Check during Sales Order and Inventory Adjustment

    Hi, I have a small doubt here regarding the availability check during the sales order creation. When a sales order is placed, the availability check is performed. If the material is available, then a confirmed sales order is recorded and sales order note is placed to the customer. If the material is not available, then a transfer of requirments is passed to MM for that material. Am I clear upto this point ? Apart from this, I have another confusion, when a customer places a sales order and it is confirmed, then are the stocks from the inventory get reduced that time itself ? Or the ordered stock is moved to restricted stock and while doing the PGI in delivery the actual stock is reduced from the inventory. Please confirm. Also add your knowledge here if you feel so. Thanks.

    Hi,
      The stock will not get reduce from the inventory till PGI is done.However, with respect to the availabillity check, we can control the system to take into consideration of the open orders and open delivery.If the system considers the open order of 5 quantity and the user create a order for 5 quantity for which stock available is 5.Then the system will give as no stock available while PGI even though if the stock are avaialble.
    Regards,
    Nithin.

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

Maybe you are looking for

  • Determine class type of Generic Parameter (not via getGenericSuperclass()!)

    I need to know the class type of a generic Parameter. Please imagine this class: class MyGenericClass<T> }In cases where other classes derived from MyClass and defined the generic parameter (like MyDerivedClass extends MyGenericClass<String>), this s

  • Customer Master download from ECC 6.0 to CRM 7.0

    Hello Experts, We have an issue where the DELTA DOWNLOAD of a customer master is not working. Also, no BDoC is getting generated when the new customer is created in ECC. This happens sometimes and not always. Any specific settings or any SAP NOTE on

  • Getting error in executing infpkg *need help immdtly*

    Hi, i am getting an error message "DataSource xxxx must be activated", when i try to trigger an infpackage in the BI Quality system. But when i display the Datasource, it is active.

  • My skype no shows Line Busy Always

    Hello, I have got Skype No for US [number redacted for privacy] forwarded to my Indian mobile no. However, if someone calls this no it always shows "Line Busy". Ideally, it should forward calls to my Indian mobile and also offer Voice Msg options..

  • Converting an appilcation to an applet

    I need some help with my logic in this algorithm <hr> import.awt.event.*; import.awt.*; import javax.swing.JApplet; public class name extends JApplet implements ActionListener {          call to subclass that creates Frame          create instance va