ATP check before delivery creation

Gurus,
Is there any way of confirming stock in sales order or scheduling agreement by some user exit before we create the delivery.
For example i have one sales order with quantity of 10. I have 10 pieces in stock but not confirmed in sales order yet so before batch job runs and creates delivey what should be done to confirm that stock in sales order.
Any help would be appriciated.
Thanks
Aman

Hi Amandeep,
You need to go for Rescheduling of sales order which is the standard functionality and you dont have to use user exit for the same.
Lets say your orders are created with 0 confirmed quantity and now you have stock in the system.
Execute the transaction v_v2 and check out the below mentioned step and result for the same.
During the rescheduling the open sales order items release their confirmed quantities. The items are sorted according to delivery priority, creation date, document numberand item number and are then transfered to the availability check. Both sales orders are checked in the order of their creation date, because they have the same delivery priority.
If the Unconfirmed documents required parameter is selected, at least one document of the material must be unconfirmed to assure that all documents of the material are transfered to the availability check.
The delivery date of the sales order can be set as sorting criterion for the availability check, via the sorting criterion delivery date parameter (which you didn't choose). In this case every sales order is sorted according to the delivery date within the priority.
Sales order items with the marks date and fixed quantity aren't rescheduled.
# Choose .
The system displays a list of the rescheduling results.
In the rescheduling log you can see, that sales order  has got a new confirmed quantity (column confirmed new).
# In the dialog box, choose Yes.
# Choose until the overview tree appears.
Hope this will resolve your query.
REgards,
Krishna O

Similar Messages

  • Hard Check During Delivery Creation

    Hello Experts,
    Need your advice. I am stuck up in a enhancement issue during delivery creation. i am working for passenger vehicle company.
    Back ground Info.
    the company procures chassis from vendor & builds bus body over it. there are various types of chassis & each is uniquely identified in SAP by Material No. & also mentioned in BOM created for bus. when chassis is received , equipment is created using T-code IE01. After this one more equipment is created for bus which is called BBD Serial No. The equipment for BBD serial no holds chassis serial no. My issue is at the time of creation of delivery using T-code VL01N the user puts the BBD Serial No manually in a dialog box provided, This BBD Serial No is not capturing in the importing structure IT_XLIPS of BADI "LE_SHP_DELIVERY_PROC" Method "Delivery_Final_Check".
    I have to put a check during delivery creation for consumption of Chassis , if the Chassis is consumed during production phase a Mat Doc will be generated with movement Type 261. As such we don't knew the Mat Doc for Chassis Serial no Consumed during prod phase. so to derive chassis no in the BADI against which we have to check for it's consumption. The user provide BBD Serial no in a standard dialog box in VL01N.
    Can we use Field Exit for this or any other BADI Should work.
    Best Regards
    Priyesh Shah

    Hi Priyesh,
    Below steps may help you to get the value of the standard dialog box provided in the screen.
    1. Find the field name of the standard dialog box provided in the the screen for BBD Serial no.
    2. Implement below code in the BAdI "LE_SHP_DELIVERY_PROC" method.
    FIELD-SYMBOLS: <fs> TYPE BBDFIELDTYPE.
    ASSIGN ('(SAPMV50A)BBDFIELDNAME') TO <fs>.
    Now the field symbol <fs> will hold the value passed in the dialog box.
    Please try and let me know if it is working or not.
    Thanks
    Gangadhar

  • ATP check for delivery in ECC & Sales order ATP check in APO

    Hi All,
    Can we do an ATP check for delivery in ECC , but for the same set of Materials- Plant combination , the ATP check when a SO is created should happen in APO .
    We do not want to remove the Business event 'B'  which is meant for delivery in  APO . For some materials we need APO ATP check to happen for delivery   & for some it should be in ECC  & for SO  the ATP check should happen in APO .
    Even if we do not have check instructions pertaining to Business event 'B' & a particular check mode (for the materials where the ATP check for delivery should happen in ECC & SO check to happen in APO)  , when we are doing an ATP check for delivery , it is still pointing to APO ATP check rather than ECC check .
    Any pointers for this is highly appreciated.
    Regards
    Surendra

    Hi Surendra,
    For SO, business event is A and for delivery it's B. When integrated with ECC, the check rule in ECC points as biz event in APO.
    You can control ATP check by customized settings for check rule in ECC.
    Also, by setting requirement class and requirement type in ECC, you control check mode in APO. So, even if you dont define for check mode in APO, the system might refer from ECC for the ATP check settings. Look into your ECC customization for how requirement class is derived and settings for requirement type. (based on MRP type, strategy grp and Item cat).
    I'm not sure how you can control ATP to happen for some sales orders/deleveries in ECC and for some in APO, since check mode is mentioned in material master.
    However, there are ATP BADIs (business add-ins) available in both ECC and APO, whch can serve your purpose.
    Regards,
    Bipin

  • ATP Check at Delivery Level instead of Sales Order

    In Standard SAP, whenever a sales order is created the ATP check is done and a Goods movement 601 is done for it and gets blocked.
    I want that no movement to be carried out at Sales Order Level and should get blocked only at the Delivery level, instead of Sales order.
    Can i do this by not defining any movement type in the schedule line category attached to the Item category of the sales order.

    hi amit,
      u cannot remove MT assignment to SLCAT ,but what you can do is for your checking group and checking rule remove the ATP check relevancy in requirement class defination in spro customising >sd>availibility and TOR.
      so that in VOV4 transaction for your SLCAT atp will be deactivated.
    only while posting material doc at the time of PGI system would check for availibility and block the goods movement.
    reward if helps !!!!!

  • Material Master check before PO creation.

    Hi,
    I have a requirement where some procured materials need to be checked before the purchase requisition is converted into a PO.
    The client wants the system to pop up a message saying "Check Material" when they are creating a PO, so they can back out and check material, make the corrections that they need and then go back in to convert the purchase requisition into PO.
    Is this possible in SAP? How? I do not want to flag the material for deletion.
    Thanks in advance.

    Dear,
    At the time of po creation you can see material master with help of double click on material code. But as per my knowladge you can't change material master at the time of purchase order creation.
    If i correct please revert back.
    Sorry but due to word problem i repeat it.
    Regards,
    Mahesh Wagh

  • ATP check against delivery with multiple plants

    Hi all,
    we have R/3 4.6c and APO 3.1 systems, this topic is related to ATP functionlity.
    Our Existing ATP Practice in R/3:
    1.sales are delivered via several Distribution Centers  (DC).
    2.The right DC is determined by a delivering plant which chosen during the order creation.
    3.In case of ATP no planned receipts are taken into  account.
    4.When a product is not available at the determined DC it has to be checked manually if in any other DC is stock available which can deliver the customer in stead of the original DC.
    5.If so the customer order (single order or scheduling agreement) has to be changed manually and the delivery can be created for the new chosen DC.
    6.ATP is done during a delivery run, which happens 2 to 3 times a day.
    7.Deliveries are only created for those orders where free stock is available.
    Expectations from APO GATP:
    At this point of time gATP should check in case of non available stock, is there an alternative DC available?
    Is there enough stock available in the alternative DC to create the delivery?
    Are all parameters available to be able to deliver this customer from the alternative DC?
    In case everything is ok the order should be changed (delivering plant) and the delivery for the alternative DC needs to be created.
    To avoid confusion order management people of the alternative DC have to be informed about that change.
    It is grateful if any one look into this and suggest the solution in gATP?
    And for better solution one can expect maximum reward points
    Thanks in advance
    -RK

    Hi Ramkrishna,
    As hemant rightly said we can do this with the help of RATP. But I think it will not take CTP scenario for planed orders as RATP is not compatible with CTP.
    Rules can be set in rule maintainence. And as I understand u need only location substitution. Do remember to set rule type as "chain"
    And if product is not available at alternate DC and if u want to start production (by triggering PPDS) then u can set this instructions in location determination activity.
    Also now if u want the alternate DC to deliver the product then check the "create subitem" mark in check instructions. This will create subitem in sales order and will show delivery plant as the DC where product is available
    hope this helps!

  • GATP - ATP Check -Dropping Delivery Against Adavanced Shipment Notification

    Dear SAP friends,
    As per our current configuration for Scope of Check in GATP, we can confirm outboud delivery only against Physical Stock(CC).
    Now we have requirement to create(drop) outbound delivery against Physical Stock(CC) + Advanced Shipment Noticiation(AH).  As per my understanding ATP category- AH gets updated whenever any inbound delivery is created for a Purchase Order in ECC.
    But here we have special requirement, We need to consider only those inbound deliveries which has ETA date less than Current Date + 5. Meaning it will consider only those Inbound deliveries which has ETA date in the past or has ETA date within next 5 days. How this can be acheived? Does anyone had similar requirements in the past? Possible solutions?
    Please let us know any inputs in this regard.
    Thanks a lot
    Satish

    Hi Satish,
    I do not think that there is a standard way to control this.
    You may have to do development in one of the userexit to consider only those ASN (Receipt elements) which are present in next 5 days.
    I do not know the exit name , but you can find the suitable (of course you need  help of you developer buddy) using t code SMOD and search for APO*.
    Thanks,
    Pavan Verma

  • Dynamic Credit check - problem -Delivery creation from Sales order

    Hi
    we have a problem which i would appreciate some help with.
    Sales order is blocked for credit and subsequently released via VKM1
    BUT as soon as line item is selected and then Sales document > deliver -
    the Dynamic credit block kicks in again straight away, no other changes have been made
    why is this occurring ?
    I managed to get round the problem by creating delivery via VL10c and selecting line item and then create in background

    Hi Tony,
    Do you have a credit check active again at Delivery level?
    In OVA8 - for the combination of credit control area, risk cat & credit group - please check field 'Number of days'.
    If you do not wish to carry out the credit check again for the released doc, here you can maintain the number of days.
    Description of F1 for this field is as below.
    Credit check: Number of days without check
    Specifies the number of days after which a changed document must be re-checked for credit.
    Use
    This function is used for checking documents that have already been released by a credit representative, but that have subsequently been changed. The system does NOT carry out another credit check if the following conditions are met:
    The value of the changed order is not greater than the value already approved for credit (inclusive of the deviation factor), AND
    The current date is not greater than the original release date plus the number of days specified here
    thanks
    Anirudh

  • Serial Number validation during Delivery Creation itself(PGI-system checks)

    Process:
    Sales Order PR(Purchase Order) GR( New Serial Numbers are created automatically or manually keyed in)
    Once the Goods Receipt is received, we do the (SO) DELIVERYu2014SERIAL NUMBER ASSIGNMENT Post Goods Issue
    Issue:
    Current Serial Number Profile Management does not do a valid serial number check during DELIVERY CREATION where we do a SERIAL NUMBER ASSIGNMENT.
    Only during POST GOODS ISSUE, the check happens for valid serial numbers; this is too late in the game for business as there is a time lag of 3 days from the DELIVERY CREATION and PGI.
    Reason being--- We donu2019t check the following u201C Existing Stock Checku201D( which does a serial number validation during delivery creation as well)
    SPRO>Plant Maintenance and Customer Service>Master Data in Plant Maintenance and Customer Service>Technical Objects>Serial Number Management>Define Serial Number Profiles
    If we check this option, the business requirement to do a valid serial number check does happen during delivery creation, however we cannot create new serial numbers during Purchase Order- GOODS RECEIPT.
    QUESTION:
    Can we have the system check the valid serial numbers from stock during delivery creation and serial number assignment.
    And Also create new serial numbers during Purchase Order- Goods Receipt.

    Hi
    1.In std SAP its not possible to check the serail number during Delivery creation, through enhancement it can be done.
    2.During GR for PO serial numbers can be created.
    Rgds
    Ramesh

  • ATP check active when creating sales order - want to deactivate

    Hello experts,
    at the time we created a sales order, the checking group for availability check in the master data of an article was "02" (Individual requirements). However, this was a master data error, as the correct setting for this article is "KP" (No check). We have changed this setting in the article master, but now we have a problem with the delivery, as we can not confirm the required quantity in the desired date. The ATP check says we have no availability (based on the wrong master data existing during the creation of the order), but we need to override this check.
    Is ther any way of "overriding" the ATP check of the article in our sales order, thus taking into account the "KP" (no check) setting?
    Thank you very much in advance.
    Kind regards.
    Marcos

    Have you actually created the delivery yet? If not, you can use the following path to deactivate the ATP check during delivery:
    > SPRO
      > Logistics Execution
        > Availability Check & Transfer of Requirements
          > Availability Check
            > Determine procedure for Each Delivery Item Category
    Perhaps turning of the ATP check temporarily shall help overcome the issue.

  • A BAPI to do ATP check?

    All,
    I want to create a program that will remove the delivery block from a number of sales orders. For this, I am using the BAPI BAPI_SALESORDER_CHANGE to remove the delivery block.
    However, the sales order in currently not proposing partial deliveries because sometimes the users are clicking on the complete delivery button when they create a sales order.
    What I need is either the BAPI to do partial deliveries or trigger an ATP check before the SO is saved. This would ensure that even if the users did do a mistake, the program will re-check and try to do a partial delivery if possible.
    Regards

    Hi Abdul,
    try using BAPI_MATERIAL_AVAILABILITY. This returns the availability information and also flags if a product can be fufilled.
    Hope this helps.
    Colin.

  • Block delivery creation if price has not been maitaned in sales order

    Hi,
    I have the following issue.,
    Say if have a sales order with 4 schedule lines, where the price has been updated only for 2 schedule lines. The order is incomplete.
    Is it possible to block deliveries been created if all the schedule line prices are not complete, atleast for the schedule lines where a price has not been maintained?
    Appreciate your help on this.
    Keshini

    Hi,
    It is possible to save the order, however the order remains incomplete.
    They want the order to be saved without having the prices. Prices are known at a later stage before delivery creation.
    Can we set up the system so that no deliveries can be created if a price is not maintained in the sales order?
    Thanks
    Keshini

  • ATP check in VA01

    Availability To Promise (ATP) is configured to make better delivery planning on Sales Orders and Delivery. SAP standard ATP looks-up the availability of a material in a plant for a given batch if the material is batch managed. If the material is not batch managed, a pop-up information message is issued stating that ATP is done at plant level. If the material is not batch managed, but has a valuation type, standard SAP moves valuation type into batch and then performs ATP. Due to  excise duty model for intercompany sales  valuation type is moved into batch and ATP is performed at the Valuation type level.  
    Detailed explanation of the existing problem and impact to ATP design as of today: In cases where there are direct deliveries from Sweden to a Norwegian Customer (over the Notional Plant), and where the Excise Duty Model results in a Valuation Type u2018TAu2019, the ATP check will look for available stock of Batch u2018TAu2019 in the supplying plant. In this case, in Sweden there will never be u2018TAu2019-stock, only u2018UTu2019 stock is available. Hence the ATP-check fails, delivery promise cannot be met and the new confirmed delivery date will be by default the end of replenishment lead-time (which can be anywhere between 10-30 days!). This request for change is raised to remove the u2018Valuation type, Batchu2019 level in the ATP check.
    I am using the user exit "EXIT_SAPLATPC_001" ,  can any one let me know how to achieve that functionality

    Pratik,
    In R/3 ATP check carried at one level material only for which you are entering schedule/delivery lines in sales order.
    If you are talking about cumulative availability check then please consider APO GATP.
    There is workaround for your requirement by considering Assemble to Order Strategies.
    Please go through below link Sales order availability check considering the ROH stock/procurement time
    Br
    KK

  • Credit block at delivery creation

    Hello  all,
    we  have  following  scenario:
    We  perfrom  Credit check at delivery creation  and  if the  customer  is  over  100 %  of  the  limit the  user  is  not  able  to save  the  delivery  note....Fine so  far...
    Then  they  release  via  VKM3/VKM4  and  they  are  able  to  save  the  delivery  note.
    Once  after some  days  they  try  to post  the  goods  issue ,the  delivery  note  is  blocked  for  goods  issue.
    Is  this  normal  SAP  behavior?How  can  I  avoid  it?
    Thanks  in  advance  and  BR
    L

    Hello,
    the  number  of  days  is  30.THe  reason  cannot  be  that  delivery  is  already  another  document  in the  document  flow?
    Because  the  document  released  is the  original  sales  order and  later  on  the  delivery  gets  blocked  for  GI....
    Thanks and  best  regards
    L

  • DQM before party creation

    Hi,
    We have a requirement to do DQM and check for duplicate customers before creating them in the TCA base tables using the HZ APIs. The creation of customers is done in batch using a custom concurrent program. So, we want to introduce the duplicate check before the creation and log any duplicates into the log file along with the duplicate customer information present in the TCA tables. Has anyone done this and which APIs have you used. Would appreciate if you could share the information.
    Thanks.

    Please do not post duplicate threads -- DQM before party creation

Maybe you are looking for