BPI req for ATP check

Hi All,
kindly suggest some bapi for material ATP check.
Thanks

Search the forum - it's been discussed many times.  A basic SE37 search or BAPI search would also give you the answer...

Similar Messages

  • 3rd party process using product allocation for ATP-check

    Hi all,
    is there anybody out there who can share experience in setting up the 3rd party process using product allocation on APO for ATP-check? As the documentation is not that impressive any help is higly appreceated.
    Thanks
    Michael

    This will not be correct forum to reply to your query.
    Still, try following Hyperlink for some understanding,
    [Third-Party Order Processing by Product Allocation|http://help.sap.com/saphelp_scm70/helpdata/EN/7c/2b7941601b030de10000000a1550b0/frameset.htm]
    Thanks & Regards
    JP

  • CO09 and BAPI_MATERIAL_AVAILABILITY for ATP Check

    Hi all,
    On R/3 4.6c...
    I am trying to find if there is a BAPI or funciton module out there which I can use to get the material availability (ATP quantity) as per the results of CO09.
    I looked at BAPI_MATERIAL_AVAILABILITY but the BAPI only accepts the checking rule. This does not have a switch to check with requirements. On CO09, there is a check box which allows us to check with requirements or not (With reqmts quants).
    For my ATP check, I would like the system to assume that the total requirements quantity is taken into account during the availability check, rather than the quantities that have already been committed.
    This is required for a system to system call hence the need for a BAPI or funciton module.
    Thanks for any help!
    Fred

    Hi,
    You can get the ATP quantity by using function module 'AVAILABILITY_CHECK'.
       ls_atpcsx-matnr  = lt_ekpo-matnr.
       ls_atpcsx-werks  = 'D001'.
       ls_atpcsx-prreg  = '01'.
       ls_atpcsx-lgort  = 'CS'.
       ls_atpcsx-idxatp = '1'.
       ls_atpcsx-chkflg = 'X'.
       ls_atpcsx-bdter  = sy-datum.
       APPEND ls_atpcsx to lt_atpcsx.
       clear ls_atpcsx.
       CALL FUNCTION 'AVAILABILITY_CHECK'
         TABLES
           p_atpcsx            = lt_atpcsx
         EXCEPTIONS
           ERROR               = 1
           OTHERS              = 2.
       IF sy-subrc = 0.
         READ TABLE lt_atpcsx INTO ls_atpcsx INDEX 1.
         it_result_cspo-atpqty = ls_atpcsx-atpm1.
         REFRESH lt_atpcsx.
         clear ls_atpcsx.
       ENDIF.

  • Warehouse blocked for ATP Check

    Hello Everybody.
    I need create a warehouse with the characteristic that the stock in this warehouse must not be considered in the ATP check.
    Where I can customize this characteristic?
    Thanks in advance.

    Silvia,
    Warehouse management has nothing to do with ATP check. ATP check works at IM level only, please control it through SLoc.
    - you can use SLoc MRP to exlude SLoc from planning and ATP check
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/f4/7d2d2644af11d182b40000e829fbfe/frameset.htm
    - you can exlude ceratain stock types from ATP check - see SPRO > Sales and Distribution > Basic Functions > Availibility Check and Trnasfer of Requirements > Availability Check > AC with ATP Logic or Against Planning > Carry out Control For Availability Check (OVZ9)
    - you can use MRP area
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/106956ae8a11d1a6720000e83235d4/frameset.htm
    Regards,
    Csaba

  • ABAP routine for ATP check

    Hi all...Is there any existing ABAP routine which does ATP check (material availability and allocation check) ??

    fm 'BAPI_MATERIAL_AVAILABILITY'
    BR< JAcek

  • Function Module for ATP Check specific to BATCH

    Hi All,
    I have a requriement where I need to find the available stock for a material for a given plant and most importantly BATCH.
    I tried using BAPI_MATERIAL_AVAILABILTY, but it returns the overall stock avaliable at the plant level irrespective where I mention the BATCH. In other words I can SEE in MMBE that the for the BATCH there is no UNRESTRICTED STOCK , however when i execute the Function module It shows me the total stock availabe at the Plant .
    Please let me know if there is any fm that  caters to my requirement.
    Thanks
    Srinivas

    Hi Srinivas,
    Can you please elaborate the solution?
    Regards
    Ankush

  • Block the ATP Stock for non-ATP checked items in BOP

    Hello GATP Experts,
    We have a strange and interesting scenario here with STOs. Let me explain step by step
    1) We don't do ATP check for STOs and hence a Z-check mode has been designed and it will be considered for STO documents
    2) Now, let us consider a situation where I have a stock of 100 CS for Material M1 at Plant P1.
    3) Let's say, a STO document gets created at 09:00AM in the morning with requested quantity 50 and as it doesn't do ATP check this will be fully confirmed
       and consumes 50CS of the stock.
    4) So, the net cumulative quantity that is available is 50CS.
    5) At 11:00AM,let us say; there is a sales order that was created for a quantity of 100 CS. As the sales document does the ATP check it consumes the only available 50 CS and gets saved with partial confirmaiton situation.
    Now, at 12:00 PM - We are running the BOP. When we run the BOP ; what standard SAP does is STO document (as per our business scenario, STOs has higheest priority and they fall on top of the list) gets skipped due to non-ATP check mode and full stock is allocated to the sales order which makes no sense to us which leads to over confirmation situation.
    We thought of exluding the STOs from BOP ; however - we end up in not re-scheduling the STO documents which would result in requiring a separate BOP to be run for the STO documents.
    FYI - We have contacted SAP and they have confirmed that the above mentioned behavior of the BOP is as designed and it cannot be changed.
    Is there any alternative solution for this ? Appreciate your valuable ideas.
    Thanks
    Babu Kilari

    You might have already considered this. pardon if this sounds dumb.
    see if you can pass STO's as a receipt in the scope of check for STO's. I presume it is requirement element in your case for ATP checking rule for STO's. Don't include these STO's in sales order checking rules.
    This may result in inconsistent ATP logic though. Alternately try creating a Z category for STO and call it a receipt. include this also in the scope of check for STO's. 
    Try running BOP and see what happens. BOP on its own is not a gurantee that a requirement is always confirmed over another, whatever be the sorting criteria. If there isnt enough stuff, the system has its own internal logic of sorting too which probably treats priority by time of creation of the requirement.
    Publish if you meet any success. These ideas are just based on my fancies
    Guru

  • ATP Check for service parts and procurement scenario

    Dear Experts,
    We're testing CRM service scenario, focusing on the ATP check.
    After running the avaiability check for the service parts in the service order,
    is it posssible to determine the scenario automatically as follows?
    - when the necessary parts items are not available
    -> "Procurement" scenario will be used.
    The corresponding documents such as PO, PR or Reservation will be generated in ERP according to the setting "Define Logistics Scenario for the Procurement of Materials and Services".
    - when the necessary parts items are available in stock
    -> "Material withdrawal" scenario will be used. The items will be withdrawn at the service confirmation.
    From our understanding, the determination of the above scenario is controlled by the item type(ex.SRVP),
    so we expect that the system sets the appropriate item type depending on whether the item is available or not.
    Is there any possible solution for this?(i.e.standard customizing, BAdI etc....)
    Any advice would be higly appreciated.
    Best regards,
    F.T.

    Hi F.T,
    I have worked in Service Order Management Scenario, but not integration of Service Orders for ATP Check. But I found this Presentation which I hope might be somewhat helpful regarding the feasibility of the Business Scenario. You can have look at  the same and will be able to decide if this is the correct way forward or not.
    [Presentation|http://www.google.co.in/#hl=en&biw=1366&bih=548&q=ATPCheckforservicepartsandprocurementscenarioinSAPCRM+++&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=a254323013e5943b]
    Hope this will help.
    Thanks,
    Samantak.

  • ATP check in va01 should consider BOM components delivery days for delivery date calculations of header material

    Hi All,
    My requirement is for ATP check in sales order,
    I am creating sales order for header material(FG) using strategy group 40.
    Its BOM consist 3-4 ROH, each ROH is assigned scheduling agreement.
    EX: I am creating order on todays date for FG
    IN-HOUSE production time = 5days, GR processing time = 1days
    transportation time = 5days.
    ROH 1= 1week, ROH 2= 2week, ROH 3 = 3weeks
    Now After MRP run for FG's, planned order will be created for deficit stock.
    now while doing ATP check in sales order system calculates delivery date = In-house production time + GR processing time + Transportation time.
    But components for manufacturing FG's are not considered .
    System should throw delivery date = In-house production time + GR processing time + Transportation time + components(ROH) delivery time (whichever is higher : As without this order delivery date is useless).
    Experts Please help.

    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

  • ATP Check for deliveries

    Hi Experts
    Can we perform check against deliveries in APO GATP?
    What are the prerequesites to perform ATP check against deliveries.
    In scope of check  we want to select production orders which are in released status.
    Please give your inputs.
    Regards

    Preetam,
    After creating the supporting configuration, APO ATP checking is thereafter 'turned on' by creating and activating an ATP integration model in the ERP.  Generally, it is done by material/plant combination.  Therefore, if you turn on ATP checking for Sales orders, you also turn it on for all other types of docs (including deliveries) for that particular material/plant combination.
    I hope you have thought out this whole process.  The main reason for using ATP checking in APO is that APO has a richer suite of ATP solutions.  If your business requirements are satisfied by the ATP checking in ERP, then it makes no sense to spend the money to implement ATP in APO. Your original issue had to do with making released production orders relevant for ATP for deliveries.  If this is the only new requirement, then this can easily be managed in ERP.  OVZ9>select your Availability check, with checking rule B (deliveries).  Under "incl production orders" select 'F'.  From a business perspective, this means that some of your deliveries will be created without stock on hand, and therefore will not be immediately shippable.  You need to make sure that this process change is integrated throughout your warehouses.
    And, to your final question.  If your delivery item category(s) are already relevant for ATP checking in ERP, they will also be relevant for ATP checking in APO.  Since deliveries do not use RBA, you do not have to worry about adding new ERP delivery item categories for the conversion to APO ATP checking.  Most commonly in APO, one uses only the 'product check' (similar to the standard ERP ATP check) for deliveries.
    Rgds,
    DB49

  • ATP check for batch managed products

    Hello All,
    I have a requirement for ATP check for batch managed products and would be glad if someone can help me on that.  One of the characteristics on my product is expiry date. Business wants to restricts confirming products which has an expiry date of less than 90 days for orders outside the country. How can we achieve that?

    Hello
    You can try with activating Shelf Life Expiration Date (SLED).
    For config, check SPRO - Logistice General - Batch master - SLED
    Then finally setup Customer Exit to calculate/check the SLED.
    Exit EXIT_SAPLMHD1_001 for enhancement SAPLMHD1.
    Further, you can refer following SDN thread for reference/understanding:
      - SLED by customer/ material
    Regards
    JP

  • Collective ATP check

    Hi Experts,
    I have some scenarios in which requires some input.
    1. ATP check run by COMAC (with out reset indicator ticked) [ This is because once the reset indicator is ticked COMAC re arranges the stock commitment  based on the requirement date of components; which is not required as one component reserved by one production order cannot be given to another order event though the order was created subsequently with earlier req. date.]
    a.  COMAC is run for ATP check. In scenarios where req qty was commited first while creation and then subsequently withdrawn  the commit qty was not reset to 0 . So a funny situation of  Req qty = Commit qty = With drawn qty  and the COMAC did not change the Commit qty to 0
    b. In the case of partial qty committed at the creation of order and then subsequently running the COMAC updates the commit qty correctly based on the stock availability ,  but once the qty is fully with drawn , the COMAC run does not update this component. It leaves it there So CO03 gives incorrect data. For example REq = 80, Commit = 30, Withdrawn = 80 (As all component was withdrawn in two steps of 50 and 30 based on stock availabilty and the COMAC did not update the 30 to 0)
    1. ATP check run online : (by clicking the material availability chk in prodn order)
    For the requirement qty the committed qty and with drawn quantity are updated correctly.
    Is this normal behavior ?  Do we have any way out to run the COHV  with data reset ticked but do not want the component to be prioritized based on req. date of components ?
    Rgds

    I've posted this question but didn't get any response. Can some one please give me an idea how to do the collective ATP check for production orders.
    Thanks
    Vijaya

  • How to ATP check when sold to party in sales order is changed?..

    Dear SD Gurus,
       I have one issue with ATP check in my current project where I need to change the the Sold to party of the sales order for a valid business case. We are using production allocation method for ATP check which reduces the Open PA qty once the sales order is saved.
    In the above scenario, once the Sold to party in sales order is changed, it redetermines everything and also goes through a ATP check which is cusing as an issue as it would again reduce the open PA qty for the same items in sales order for which are already taken into account. It would either reduce the open qty or propose the next date if it is no more available on that day.
    This is a big issue for us. Also it deleted the texts that are maintained.
    Does anyone know how to stop the ATP check in this (main issue) and also if possilble stop the deleteion of texts?
    Thank you very much for your help in advance..
    BR/
    Ashutosh

    Hello SAJU,
      The ATP check is done automatically when sold to party is changed..the issue is how to stop it? beacause of production allocation , it would be incorrect to reduce the open PA qty once more for the sales order when sold to party is changed. So I would like to stop it. Is there any exit or paramater by which we can stop ATP check?
    Thanks for your reply..
    BR/
    Ashutosh

  • ATP Check: R/3 and APO

    Hi All,
    My Query related to an Earlier Post (GATP:  Unable to check ATP (in GATP)  when creating sales order in R/3).
    I would like to change the settings for ATP Check from APO system to R/3, I.E, the ATP Check for Business Rule should be triggered in R/3 and not in APO.
    In the earlier post,  inputs were provided for the following:
    - Activation of ATP in external system: this is done in SPRO in the data transfer section.
    - Another common point is cheking rule: In SPRO see that your business event(SO) is enabled for ATP check.
    As per my information, the 'ATP Check' tick is possible at the level of Checking Group and Schedule Line Category in R/3
    Could someone please provide inputs as to where in SPRO can we check the above 2 points mentioned?
    regards,
    Sudhir

    Hi Sudhir,
    The following are the points where changes are required for ATP check in APO.
    The presumption is that there already is a active CIF connection.
    1)  MRP type of the material has to be 'XO'
    2)  Define an integration model for ATP checks of those materials.
    3)  Define Checking Group.  SPRO  ->  S&D   ->  Basic Functions  ->  Availability Check  -> Availability check with ATP logic.(Here you define 02 - individual requirement)
    4)  Define Check Control:  the path is same. (Note that the combination of 02 & A is added)
    5)  Define Requirement Class: the path is same. Here you put the availability check tick. Use 050 & check availability check & transfer of requirement for them.
    6) Next you define procedure for the schedule lines.( hope this is what you were looking for.
    7)  Go to SPRO  -> integration with other SAP components  -> APO  -> Basic settings for data transfer  ->  Change Transfer  ->  Change Transfer for master data  ->  Activate change pointers Generally     and tick it.
    You are now ready to for ATP of SOs from R/3 in APO.
    All setteings required in APO for GATP is clearly mentioned in APO help docs.
    Sure it will work for you.
    All the best
    Regards
    Santanu Dawn

  • Sales Bom explode for ATP subitem

    Hi,
    We have a senario that customer orders parent item, so we input parent item. In sales order, this parent item will go to APO for ATP check. then APT will force to create new subitem in the sales order after ATP check. After new item created, I want sales BOM can be exploded as the subitems of APO confirmed item.
    It seems std SAP dun allow link any subitems to APO subitem. Does anyone has similiar solution to share? Thanks a lot.

    Hi,
    We have a senario that customer orders parent item, so we input parent item. In sales order, this parent item will go to APO for ATP check. then APT will force to create new subitem in the sales order after ATP check. After new item created, I want sales BOM can be exploded as the subitems of APO confirmed item.
    It seems std SAP dun allow link any subitems to APO subitem. Does anyone has similiar solution to share? Thanks a lot.

Maybe you are looking for

  • How to refer a field created at the paper layout?

    Hi, I created a field for total pages of a report in the paper layout. How do I refer to it in the formattrigger since I don't want to show it if there is only 1 page. I tried putting & or : in front of the field name but it is not valid since the fi

  • Runtime Error '9", "Subscript out of Range"

    This is the line that comes up on debug: Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan" I'm not a code guru, I have no clue where or why or if this ever worked. Any Help would be greatly appreciated. BJN Cut off the end  Set W

  • Me21n printout

    i want to take printout of purchase order created via me21n in a smartform . please suggest how should i proceed . any piece of code or link will be highly appreciated . regards navjot

  • Updating a Sequence To Reflect in Other Sequences

    I taped an interview on 2 camera's. I use my Sony FX1 HDV camera for my main HQ audio and 2nd camera, while I use the other camera, Canon 7D, for my First Camera. Then I sync up the Audio in Final Cut. This weekend I wanted to edit, but I didn't have

  • BufferedReader readLine() not returning null

    I'm trying write an SMTP client using Socket. I'm sending EHLO command to the SMTP server is is returning multiline response. When I tried to read this multiline response using the BufferedReader in a while loop, it is never returning null. Following