ATP check on Sales order items not due for delivery?

All,
In our Sales order, we have a number of dummy material lines. Now, when I use the normal sales order ATP check button, SAP does nothing. However, we have a custom program that does an ATP check, and it returns a zero qty.
My question is, how do we know if a material is due for delivery, before an ATP check is done? The only suggestion I have is to look at the schedule line, and see if there is a material movement behind it.
Any other ideas?

Mark
This is a classic SD Professional's dilemma, though it manifests differently at different clients. Mostly customers crib about future requirements stopping current sales orders from being delivered or Scheduling agreements with future delivery dates 'stealing' stock from Sales orders.  Another manifestation is production orders usurping components from sales orders for spares and so on. ATP functionality in SAP is pulled in various directions by conflicting demands and it is difficult to satisfy everyone. Companies with chronic probelms often end up with negative ATP which is perhaps the most serious stage of the prognosis.
Your solution lies in:
1) Availability check control settings : Sales documents vs. deliveries  : For the delivery, don't include 'Sales Requirements'  and for the sales orders, do include 'Delivery Requirements and so on.
2) Performing nightly rescheduling (V_V2) with Delivery priority and delivery date as key sort criteria. If the volumes are not high, you can try using manual confirmation via CO06.
Take a look at this OSS note and the ones mentioned within:
36520 - Availability check for delivery

Similar Messages

  • Set  item categaries of sales order  is  not  relevant for picking

    dear friends:
       when i created the outbound delivery and must maintain the picking quantity of materails.i change the configration of system so that not nessesary maintain the picking quantity. set  item categaries of sales order  is  not  relevant for picking via t_code:vlop,what it effect .help me analyze it .
    best regards.

    Hello,
    In TA :OVLP   set/reset the indicator according to your requirement.
    In the case of outbound deliveries, only the delivery items that are relevant for picking are transferred to the Warehouse Management (WM) component. Certain items such as text items or service items (consulting activities) are not relevant for picking.(in those cases uncheck the box)
    In the case of inbound deliveries, this indicator controls whether the item is relevant for putaway.
    This indicator must be set in order for the item to be included in a Warehouse Management transfer order and then put away.
    Regards,
    Nisha
    @award pts if helpful.

  • Mark field is Sales Order as "not ready for Input"

    Hi there!
    I would like to mark a field in a sales order as "not ready for input"  i.e greyed out...would any one happen to know where I can control that?  The exact field is screen field: VBKD-KURSK.
    Thanks in advance
    Elizabeth

    hi,
    check out these link.
    VBAP-KTGRM and VA02??
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADMLO/CAGTFADMLO.pdf.">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADMLO/CAGTFADMLO.pdf.</a>
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/c1/6484d4c25411d1a5250060087d1f3b/content.htm">http://help.sap.com/saphelp_46c/helpdata/en/c1/6484d4c25411d1a5250060087d1f3b/content.htm</a>
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1984%3Fpage%3Dlast%26x-order%3Ddate">https [original link is broken] [original link is broken]
    regs,
    jaga

  • Mark  field in Sales Order as 'not ready for input'

    Hi there!
    I'd like to mark a field in the sales order as not ready for input. I need to refresh my memory on how this is done!  The particular field is screen field: VBKD-KURSK.
    Many thanks in advance
    Elizabeth

    Hi Elizabeth,
    you could use a transaction variant (SHD0). Maybe ther e is another easier solution...
    Regards
    Elmar

  • Changes to sales order item not reflected if Call Transaction is used

    I m updating another Sales Order item quantity and reason for rejection programmatically from another sales order.
    The code is working fine and the quantity does get changed as well as the reason for rejection flag get set (if required). But if I go to the change log from the menu in VA02 for the order item which has been changed. It does not record the changes.
    I have tried using both BDC call transaction method as well as BAPI_SALESORDER_CHANGE in neither case the change log for the order which has been changed reflects the programmatically made changes?
    What m I doing wrong. Here is the code.
    IF v_update_order_flg = 'X'.
          REFRESH t_bdcdata.
          CLEAR s_bdcdata.
          REFRESH t_messtab.
          PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
          PERFORM bdc_field  USING 'VBAK-VBELN' <wa_r_rtb_posnrs>-zrtbvbeln.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
          PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
       For Going to  specific Item Number
          LOOP AT t_schedule_lines.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POPO'.
            READ TABLE t_item_in WITH KEY itm_number = t_schedule_lines-itm_number.
            PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
            PERFORM bdc_field  USING 'RV45A-POSNR' t_schedule_lines-itm_number.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POSI'.
            PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
            v_ro_qty = t_schedule_lines-req_qty.
            CONDENSE v_ro_qty.
            PERFORM bdc_field  USING 'RV45A-KWMENG(01)' v_ro_qty.
            PERFORM bdc_field  USING 'VBAP-ABGRU(01)' t_item_in-reason_rej.
          ENDLOOP.
          PERFORM bdc_field  USING 'BDC_OKCODE' '=SICH'.
          v_call_transaction_flg = 'X'.
          EXPORT v_call_transaction_flg TO MEMORY ID 'call_transaction'.
          CALL TRANSACTION 'VA02'
                       USING t_bdcdata
                       UPDATE 'S'
                       MODE   'N'
                       MESSAGES INTO t_messtab.
          v_call_transaction_flg = space.
          FREE MEMORY ID 'call_transaction'.

    Hi Srikrisna,
    This is a typical problem with BDC for updating QUANTITY and CURRENCY fields.
    You need to create a character variable of the same length as your quantity field. Move your quantity value to the newly created Character variable.
    Now use this new char variable in the BDC.
    This correction should solve your problem.
    NOTE: BDC RECOGNIZES CHARACTER FIELDS ONLY.
    Regards,
    Prakash Pandey

  • ATP check at sales order by storage location

    Can I do an ATP check against a plant/storage location level during sales order entry?  Basically, for a particular plant, if I have 2 storage location with the following quantities:
    0010 = 100ea
    0020 = 150ea
    Can I create a sales order for 110ea, specify the storage location 0010, and have the ATP come back as saying that I will be 10ea short?

    Hi Sandip,
    I think this is Standard SAP, you can put Storage location in sales order and then ATP will check only in that storage location.
    You dont need any special configuration for this. The only thing to be careful is what other documents like PO, Delivery you are using for considering in ATP.
    Otherwise if a  storage location is mentioned in the sales order ATP will happen only in that storage location.
    Regards,
    Abhishek

  • Sales order qty not confirmed when delivery done with partial qty

    Hi Guru's
    Need your help............
    We have issue in drop shipment scenario process. Sales order created with 10 line items from CRM and order released from CRM and replicated order to ECC and backend created PR also. After that user set reject status for all items so that PR line items also deleted, again user released rejection status for all items and line items updated in the same PR with different line item number for materials then PO & GR also done in ECC and stock also allocated for sales order line items but still sales order qty not confirmed in CRM sales order. 
    I checked all configurations regarding availability check but could not found.
    Example:
         Sales order line item qty: 4            -      2 qty confirmed (delivered).
         For remaining qty (2 items)I have done GR. After GR It is allocated to sales order but it is not confirming the order quantity.
    plz help me to fix this issue?
    regards
    sai

    Hi,
    Please check In ERP transaction OVZJ, for the sales org, distribution channel, and division that is being used in the affected sales orders, set the Avail. Check Rule to 'E'. Then retest the issue, as this might help.
    Regards
    Gavin

  • Sales Order is not consider for MRP in MRP Type PD and Strategy 40

    Sales Order quantity is not consider for net requirement calculating in MRP.
    My MRP Type is PD and Strategy 40.
    Also in MD04 Sales order is not appearing.

    Dear,
    Requirements to MD04 will flow based on the settings you maintain in OVZ9 for the combination of "Availability Check" and "Checking Rule". Here whatever fields you choose under the tab "In/outward movements", that will be considered.
    It may be because of Requirement type Missing at schedule line category level . In MD04 requirement are pass on Either Individually or collectively . In Case of Individual each schedule line create one entry in MD04 ( Stock Requirement list)
    So check the materail master for checking group is maintain or not?
    Please refer this thread also,
    Re: Sale order not reflecting in MD04
    After that run MRP again and check the result.
    Regards,
    R.Brahmankar

  • ATP check in sales order for TAB

    Hi
    We have the requirement to create a purchase requisition from the sales order in case there is no stock. We know how the item category TAB works but in this specific case, we should first check if there is no stock present via ATP. If there is stock present, it should be a normal TAN. How can we solve this in the easiest way?
    It becomes more complicated that in case we enter a qty of 100 PCS in the sales order, the sytem can find 40 pcs in stock. In this case we want that 40 pcs are taken from stock and 60 pcs are passed to a purchase requisition.

    Hello
    As per my understanding you need, in the standard scenario, if the stock is not available -  item cat should change from TAN to TAB.
    This can be achieved through user exit.
    MV45AFZZ
    MV45AFZB
    Here you need to maintain one special material table,
    When you create a sale order, system will check the stock - if it is available, will confirm & item cat will be TAN.
    If the stock is not available, system will check if the material is maintained in the special material table, if yes - it will change the item category from TAN to TAB.
    Special material table maintainance is basically to avail this facility for certain materials.
    thank you
    Anirudh

  • ATP Check in Sales Order

    I have the following problem:
    I am working on a custom ATP check for the Internet Sales Order. I am looking for the user exit or maybe a place when the ATP check is triggered for both cases:
    1 initial material is entered and is checked in which plant is available of the requested quantity by ATP check
    2. when the delivery date (First Date)  on the item level is changed to the future date.
    any ideas are welcomed. will award points.
    Edited by: Maksims  Jegorovcevs on Feb 6, 2009 4:06 PM

    Hi,
    You can try the following user exits;
    EXIT_SAPLATPC_001 - Processing Requirements Table Before Calling Actual Check
    EXIT_SAPLATPC_002 - Processing Results of Actual Check
    For your second question, when the delivery date of the line item is changed, the system itself will do automatic ATP check. Also in transaction OVZ2, for the checking group, you can use the field accumulation (value 3) for availability check with accumulation and confirmed quantities.
    Regards,

  • Automatic  cross plant   ATP check in sales order.

    Dear Gurus
    in the company code A010, we have 4 plant , (P010,P020,P030,P040)
    Now we have a requirement :
    When create the sales order, we want system automatic check the plant P010 stock, if first plant stock is shortage, then system automatic check the next three plant stock and confirm it.
    Does anyone have experience about this ?
    Thanks.

    hello, friend.
    this is not possible in standard ERP.  however, this is possible if you have SCM linked to the ERP.
    if working in ERP alone, you need to specify the plant in the line item and re-do the availability check.
    regards.

  • Sales order item not deleted

    Hi,
    I am trying to delete the item from sales order, but following message display- for the reason of cost management it is not possible to delete the item.
    Regards
    Deven

    HI,
    Check the requirement type in ur sales order.
    For requirement type check cost manage is possible or not
    KK

  • ATP Check in Sale Order

    Hi All,
    While executing Sale order in the R/3 system we are getting this message.
    Error in calling up function 'BAPI_APOATP_CHECK' in APO server 'xxxx':
    Table /SAPAPO/ORDM is unknown.
    Please help us in this issue.
    Thank you,
    Durga

    Are you set any GATP relted setting on your R/3 system or in APO?
    Please check that.
    It looks that some one has did the settings which check the APO for ATP.

  • Auto completion of Sales order item after upto 90% delivery

    Hello,
    Business Requirement:
    After 90% quantity of an order quantity is delivered, the item should not be considered by MPS planning run and the item should not appear in MD04.
    Current workaround:
    Currently, for that item we are setting Partial Delivery / item = A, manually, and then the order item disappears from MD04.
    Question:
    I found in the customer master sales area data, Partial Delivery / item can be set to A and it gets copied in the sales order. But, the underdelivery talerence is nil in our customer master records. So I dont know how to satisfy the condition of 10% underdelivery. Is there any way by which this can be done, other than writing a program and scheduling it for nightly batch job.

    Hello,
    Business Requirement:
    After 90% quantity of an order quantity is delivered, the item should not be considered by MPS planning run and the item should not appear in MD04.
    Current workaround:
    Currently, for that item we are setting Partial Delivery / item = A, manually, and then the order item disappears from MD04.
    Question:
    I found in the customer master sales area data, Partial Delivery / item can be set to A and it gets copied in the sales order. But, the underdelivery talerence is nil in our customer master records. So I dont know how to satisfy the condition of 10% underdelivery. Is there any way by which this can be done, other than writing a program and scheduling it for nightly batch job.
    Any help is appreciated.
    Thanks.
    Madhura

  • Pricing condtion value of sales order is not reflects in Delivery doc !!

    Hi SAPients,
    I have an issue like my client is maintained condition record for a certain material valid from eg: 01.06.08 to 03.06.08.
    Now he has done a sales order on 03.06.08 and required delivery date is 04.06.08 but pricing date is 03.06.08. In conditions tab pricing is picking from condition record maintained for PR00.
    While doing delivery on 04.06.08, the system throws a an error like pricing error mandatory PR00 is missing and in analysis we found like condition record is missing or field overflow and displays message no:V1801.
    And Delivery document is saved after PGI.
    In Invoice the system is picking the price as on 03.06.08 as per the client requirement.
    Note: In Copycontrols VTFL we have used pricing type 'C" and Pricing Source as "E"
    Kindly suggest genuine reason to get PR00 from sales order to delivery with effect to previous pricing condition record.
    Thanks & Regards,
    kodalisreedhar
    9866033269

    Dear Jyoti
    If you want the pricing procedure to be flown into your delivery, then you have to assign in IMG where you have indicated.  Other than this, there is no other place to define.
    Of course, in billing, based on sale order, it will flow.
    thanks
    G. Lakshmipathi

Maybe you are looking for