Rule based ATP check with SOA

Hello,
We wish to implement ATP check using Ent Services.
Details:
Environment : SAP ECC 6.o with Enhancement Package 3/ SCM 5.0
Ent service used: /SAPAPO/SDM_PARCRTRC :  ProductAvailabilityRequirementCreateRequestConfirmation
We were able to carry out Product check using the service. However we are unable to carry out rule based ATP check using the same service.
We have carried out the entire configuration as per SAP's building block configuration guide for Global ATP & SAP Note 1127895.
For RBA <Rule based ATP check>, we are getting the results as expected when we create Sales order from SAP R/3 (Transaction VA01), however ATP simulation in APO & Ent service does not give the results as expected. When we carry out ATP simulation in APO / Ent service, results are same as Product check & not as RBA i.e. they respect only requested Product location stock & does not propose alternate Product or Location in case of shortages
Plz share the experience to fix the issue
Mangesh A. Kulkarni

Hi mangesh
Check this links , not very sure , but may help you...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/availability%252bchecking%252bin%252bsap
Re: ATP confirmation in CRM
https://www.sdn.sap.com/irj/scn/wiki?path=/display/scm/rba
Regards
Abhishek

Similar Messages

  • Rule based ATP Check - User Exit to modify the item

    Hi all,
    We are working with standard rule based ATP check to change the plant in the Sales Order item.
    That creates a new subitem with the new plant determination, and changes the Item Category of the original item.
    My doubt is: Is there any User Exit in this process to do the system change something else in the Sales Order items?
    << Moderator message - Please do not offer points >>
    Thanks!!
    Edited by: Rob Burbank on Oct 8, 2010 2:20 PM

    Hi Roger,
    Please clarify more what do want to change exactly example any Z field to be copied from main item to sub item.
    You can use exit USEREXIT_MOVE_FIELD_TO_VBAP ,  USEREXIT_MOVE_FIELD_TO_VBAK 
    Thanks,
    Pavan Verma

  • Rule based ATP check

    Hello,
    We are implementening rule based ATP check for Sales order scnerio. Our Business process is
    1.Customer will cretate order for product P1 & Location L1.
    If stock is available, system will confirm the order else it should search for alternate product & location in following swquence
    2. Product P2, Location L1
    3. Product P1, Location L2
    4. Product P2, Location L2
    We have maintained all the configuration as per SAP bulding block for Rule based ATP check in SAP & APO server.
    Problem : If stock for requested Product location is not available, syetem does not propose the stock of alternate product & location as maintained in rule sequence. It gives error as :
    "No product found" "Internal error: Item /000000"
    Would appreciate if anyone can share information on fixing ths issue?
    With Regards
    Mangesh A. Kulkarni

    hello
    We have resolved the issue at our end..
    It was due to activation of unwanted exit in APO..
    Regards
    Mangesh A. Kulkarni

  • Delivery & Invoice for Rules based ATP check materials

    Hi All,
    We have an query regarding rules based ATP , delivery & Invoicing . When we create a SO ( say we have only one line item 10 , with quantity 100 created at Plant P1 , item category TAN ) , ATP confirmation happens   ,based on the stock & receipts ( say we have confirmation of 60 units at Plant P1  ) . Since we are using RBATP , the remaining 40 quantity is being confirmed at Plant P2.  Now the order will have multiple line items 10 the original line item but with different item category TAPA and also two more line items  for quantity of 60 & 40  for plants P1 & Plants P2 respectively with item category TAN. This is the standard functionality.
    My question is , Will there be any issues with respect to delivery & Invoicing  as there are multiple plants and different item categories.
    Thanks & Regards
    Surendra

    Hi,
    With respect  to delivery you will have differnt delivey document because your shipping point is going to be different.
    Regarding Billing you can combine the differnet delivey document if the delivery document created using the sales order contains the same payer,payment terms, billing date,material group and Incoterms.
    Apart from the above you will not face anyproblem by having 2 diiferent item category for the above said scenario..
    Regards,
    V.Devaselvam.

  • Rule based GATP Check

    Hello experts,
    Our team has configured rule based gatp check parameters and maintained condition technique, relevant rules with product substitution, location substitution, profile parameters and rule determination.
    We are having four condition tables i.e. most specific to most generic and condition records are maintained for all the key combinations, whereas system is picking up the record, which is most generic.
    Please let me know how the system picks up the condition record in rule based atp check.
    Thanks and Regards,
    Sai Dacha
    9849030809

    Hi Anupam,
    Please find the comments.
    Can you also check your check instruction and see if it has
    --> "Activate RBA" and "Start immediately" check box checked for the check mode you guys are using and business event A
    Comment:
    Both the check boxes are checked for the relevant combination.
    If you have this setting then I would like you to check in master data where you have created Integrated Rules:
    Comment:
    I've maintained only one rule, which is in valid periods.
    Make sure you have maintained integrated rules correctly and assigned the correct location determination procedure.
    Comment:
    Checked both Production Substitution and Location determination procedures and their assignments.
    --> Very basic point but no harm in checking, sometimes we miss very basic things: Do you have all the locations in APO and also products at those location which you want to populate in the sales order.
    Comments:
    All the combinations of products and locations are in APO.
    Thanks,
    Sai Dacha

  • Rules based ATP: characteristics substitution (with restrictions)

    Dear Experts,
    We are dealing with the following challenge: we are performing a characteristics based ATP check in SCM (e.g. ATP check on Length Class, Quality Grade et cetera) based on a sales order in ECC. We are using single-unit batches, so each batch consists of one piece of finished product (in our situation one roll of carpet). Besides characteristic values for characteristics Length Class and Quality Grade each batch has a characteristic value for the characteristic Dye Lot, refering to the original production batch.
    In most cases a customer won't require a specific Dye Lot, on the other hand, because of quality requirements, goods for one sales order should be delivered from one and the same Dye Lot.
    We were thinking to solve this by means of a default dummy value for Dye Lot which will be used as input for Rules Based ATP. By means of rules the default dummy value will be replaced by any possible value available for Dye Lot. However, the restriction that total required volume should be covered from one and the same Dye Lot remains. Within Rule Control it is possible for product/location substitutions to create such a restriction: "Start (first product in the substitution list): The substitution list is restricted to the first element in the substitution list; that is, it contains only one entry." (see for more info[http://help.sap.com/saphelp_scm50/helpdata/en/3a/967337e68ae526e10000009b38f889/frameset.htm|http://help.sap.com/saphelp_scm50/helpdata/en/3a/967337e68ae526e10000009b38f889/frameset.htm]). As far as we know this is not possible for characteristics substitution.
    Our questions:
    - Is any of you familiair with this subject (i.e. Characteristics dependent ATP for Mill and comparable industries) and aware of a possible solution to our challenge?
    - What effects are expected with regards to performance? (All Dye Lot values together create a large list; are all possible values considered in ascending order or is list first filtered for the right volume w.r.t. the required volume? What's the logic behing this?)
    FYI: We have the following installation:
    - SAP ECC 6.0 Industry Solution Discrete Industry & Mill Products (IS DIMP)
    - SAP SCM 5.0
    Regards,
    APOtester
    Edited by: APO Tester on Jun 17, 2008 1:55 PM

    Hi,
    Please follow the link
    Re: Rules based product substitution in STO
    Thanks,
    Pavan Verma

  • Rules Based ATP with Stock Transport Order

    Hi All,
       Can we use Rules Based ATP with Stock Transport Order..
       Where to assign the business transaction to the STO order type ?
    Regards,
    Biswajit

    Hi,
    Please follow the link
    Re: Rules based product substitution in STO
    Thanks,
    Pavan Verma

  • Rules based ATP to Consider Checking Horizon

    Hello SAP Experts,
    I am a novice to GATP functionality. I have one scenario tried to work on it and Standard SAP system doesn't seem to work this way.
    Rules based ATP for location Determination is used for order confirmation.
    Loc A   Mat 1  500 Pcs
    Loc B   Mat 1  200 Pcs
    Rule 1 LocA --> Loc B
    Order comes in for Mat 1 at location A for 1000 Pcs and confirmation was given for 700 Pcs out of which 200 Pcs will be sourced from Loc B. I'm trying to confirm remaining 300 at the end of Checking horizon as per Customer requirement. Please suggest a way to acheive this.
    Regards,
    Priyanka

    Hi,
    You will start from ECC, Material master MRP3 view   MARC-WZEIT   Total replenishment lead time (in workdays).
    In APO , SPRO--GATP-Maintain check control - make sure that ATP group and business event example 01 and A should have "consider Checking horizon" .
    RLT from R3 will become Checking horizon in product master in APO. In APO product master ATP tab CHKHOR is the field name.
    Make sure that in the rules -- calculation profile -allowed delay is not maintained or should not be less than RLT /Checking horizon.
    Thanks,
    Pavan Verma

  • Rule based ATP is not working for Components

    Hi All,
    Our requirement is to do availability check through APO for Sales order created in ECC,so we are using gATP.
    Requirement: We are creating salesorder for BOM header (Sales BOM) and avaialbility check should happen for components i.e. Product avalaibility & Rule based substitution.
    Issue: Product availiabilty is working for components but rules based substituion is working,  mean Rules are not getting determind for components.
    Settings:
    - Header doesnot exist in APO and compnents do exist in APO
    - Availability check is not enabled for header item category and enabled for Item category for components
    - Rules have been created for Components in APO
    - Rule base ATP is activated in Check instructions
    We have also tried MATP for this i.e. PPM created in APO but still didn't get the desired result.
    If we create salesorder for the component material directly then Rule based ATP is happening, so for components Rule based ATP is not working.
    How do we enable enable Rulesbased ATP for components, i mean is there any different way to do the same.
    Thanks for help.
    Regards,
    Jagadeesh

    Hi Jagdeesh,
    If you are creating BOM in ECC and CIFing PPM of FG/Header material to APO, I think you need to CIF Header material, too, with material integration model.
    Please include header material in you integration models for material, SO and ATP check as well.
    For component availability check, you can use MATP; but for MATP, FG should be in APO. You need not to CIF any receipts of FG (stock, planned orders, POs etc), so that MATP will be triggered directly. Then maintaining Rules for RMs will enable to select available RMs according to the rule created.
    Regards,
    Bipin

  • Questions on Rules-Based ATP and Purchase Requisitions for STOs

    Hello experts,
    We are working on rules-based ATP configuration and have several questions about the functionality.  Iu2019m hoping that some of you are using this functionality and can help give us direction.
    In our environment we have multiple distribution centers and multiple manufacturing plants.  We want to confirm sales orders against stock and production orders in any of those plants, depending on the locations that have stock or planned production.  For example, we will place a sales order against plant A.  If there is not enough stock in plant A then rules-based ATP will use location determination to check in plant B, then C.  The scope of check on the ATP check will include stock and released production orders.  We will configure plant A as the u201Cconsolidation locationu201D so if stock is found in plants B or C then stock transport orders will automatically be created to move the stock to plant A before shipping to the customer.
    We have configured rules-based ATP and this functionality is working well in our Development system.  The ATP check is executed and uses the rules-based ATP to find eligible stock in other plants.  The system is also creating purchase requisitions to move the stock to the consolidation plant. 
    Our first concern is that there doesnu2019t appear to be any firm linkage between the sales order and the resulting purchase requisition.  For example, if we create sales order 123 for plant A and the rules-based ATP finds stock in plant B it automatically creates a purchase requisition 987 to move the stock from plant B to plant A.  However, there doesnu2019t appear to be a linkage between sales order 123 and purchase requisition 987.  For instance, if we delete sales order 123 the purchase requisition doesnu2019t get deleted. 
    Our second concern is that the quantity on the purchase requisition can still be confirmed against later sales orders.  For example, say the above scenario resulted in a purchase requisition 987 that consumed all the stock available in plant B.  We then create a second sales order 456 for the same product.  Plant A is out of stock so the rules-based ATP looks in plant B.  We would expect that plant B would also not have any stock because itu2019s all been consumed by the purchase requisition.  Instead, the system creates a second purchase requisition to move quantity from plant B to plant A.  Itu2019s as if the system doesnu2019t realize that the purchase requisition 987 is already planning to move stock out of plant B.
    Does anyone have any thoughts or suggestions on these two scenarios?  Is there a way to configure the system so there is a hard linkage between the sales order and the purchase requisition so that if the sales order is deleted then the purchase requisition is also deleted?  Should ATP realize that purchase orders are consuming inventory and not allow later sales orders to confirm against that same inventory?  Any advice or experience would be greatly appreciated.
    Thanks,
    David Eady
    Application Delivery Team Lead
    Propex, Inc.

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • APO Rule based ATP for RA Repair

    Hey,
    Could you please help me to turn on rule based ATP for document type RA outbound?
    The senario is as follows:
    Customer returns to my company the product.
    My company has multiple locations (plants) for replacement products. I would like to determine the replacement product location with rule-based ATP. We use rule-based ATP for the sales site w/o issues.
    I set up in configuration:
    ZRA (copy of RA) with business transaction RMA(to trigger the rule based ATP)
    Assigned ZRA / Item usage = R104/ PSTYV= ZXNN (item category allows rule based ATP).
    ZRA     ZNO1     R104     IRRA     ZXNN
    I also did the below rules based ATP item catgegory determination:
    AUART        MTPOS         VWPOS        UEPST         PSTYV
    ZRA     ZNO1     APO0     ZTP1     ZXNN
    ZRA     ZNO1     APO1          ZTP1
    ZRA     ZNO1     APO1     ZXNN     ZTP1
    ZRA     ZNO1     APO2     ZTP1     ZXNN
    When I create with VA01 a ZRA order and add a replacement plant then I get this message:
    The ATP rules are not called up for item 000030 - Message no. /SAPAPO/ATP147
    But when I go from the "APO Availability Check" view to the Rule then I see my rules determined.
    The detail message also says that the system "things" the line was already delivered, which is not the case.
    Could you please tell me if it is possible to combine rule-based ATP with the RA replacement process and if yes how to do it?
    Thanks,
    Sabine

    Check OSS Note 571044 - RBA: Use of calculation profiles and rules
    Regards,

  • Rule Based ATP- Error in calling up function 'BAPI_APOATP_CHECK' in APO ser

    Hi Experts
    I hae configured Rule Based ATP with Multi-Level ATP check. I have completed all configuration required for Rule Based ATP but still facing an error
    " Error in calling up function 'BAPI_APOATP_CHECK' in APO server 'SC5CLNT001': Check instructions 30 / A does not exist for locat"
    Have any of you ever encountered this error?
    Regards,
    Sushovan Datta

    Dear Sushovan,
    Most likely cause of the above error is a missing requirement class in R/3 and missing Check mode in APO for material and plant combination.                            
    Please read the F1-Help for field check mode in APO:                    
    "Together with the business event, the check mode derived from the product master defines the type and scope of the checks carried out. It also controls forecast consumption.                                                                               
    SD (R/3) uses the requirement class of the requirement as check mode. As of R/3 Plugin 2000.1, the requirement class is transferred (via the strategy group in the material master) to the location-specific APO product master (ATP tab page). In the process, no plausibility check is carried out. For this reason, you should not enter any other check mode in the product master. (The check mode in the product master must agree with the requirement class from the R/3 system.)"                                                                               
    So please create for your material in corresponding plant the requirement class ' 030' assigned to the strategy group in MRP3 in R/3 and the same in the check mode field in //mat1 in APO.                                                                               
    Afterwards the gatp check will find the check mode and business event  (check instructions) and the error will be not appear again.            
    Regards,
    Tibor

  • Rules based ATP not working

    Hi Experts,
    We are facing couple of issues with Rules based ATP . The scenario is we are using only location based  substitution
    1) We are creating an order for a material in ECC . This material is GATP relevant & the settings are made for rules based ( if no stock available at Plant 1 it would check for stock  at plant 2 and confirm the requested quantity if available )   , ATP check is happening after creation of order for plant1  , but it is not checking for quantity at plant 2  eventhough quantity is available at Plant 2 .
    I am checking the rules, it says no rule was found ,it is not possible to dispaly the rules , But for the sameif i am doing a ATP simulation in APO , it is working fine , the susbstitutions are happening & confirmations are being done.
    2) IS it possible to use both checking horizon & rules based ATP ? The situation is if we use Checking horizon  in check control , any SO will get confirmed based on checking horizon , if no receipts or stock is available before the CH . If the rules based ATP is present along with CH  for plants 1 & 2, the system is still confirming the quantity at the CH on Plant1 , even though there is enough quantity to be confirmed at Plant 2.
    Thanks for your help
    Regards
    Surendra

    The first issue  is solved . There was discrepancy in the data format between APO & ECC . The data when transferred to APO from ECC has been converted to a  format  which APO uses & when a SO is created in ECC the data that was entered in the SO is not being recognised by APO  so the error .
    Regards
    Surendra

  • Rule based ATP

    hi gurus,
    can some one tell about rule based availability check.
    siva

    hi siva,
    Iterative, step-by-step availability checking process driven by self-defined rules. The results of one step determine, in conjunction with certain predefined parameters, whether the availability check should be continued.
    Example:
    1. Is the product available at this location?
    2. If not, is an alternative product available at this location?
    3. If not, is this product available at a different location?
    4. If not, is an alternative product available at an alternative location?
    5. If not, production is triggered.
    Rules-based ATP uses the advanced availability checking methods.
    Pl check this link where lots of related info on availability check is available
    <a href="http://help.sap.com/saphelp_crm40/helpdata/en/b6/de3efc6bbcdc4b948d466857a10323/content.htm">availability check</a>
    Pl reward if it helps.
    Thanks & Regards
    Sadhu Kishore

  • Switch "ON" Rules based ATP

    Hi,
    How can we switch on or switch off "Rules based ATP".
    Is it possible to do it at material level or is it done at some group level or system level.
    Thanks and regards,
    Ashok

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

Maybe you are looking for