APO gATP vs R/3 ATP - To check sales order ATP across multiple plants

Hi There,
I am trying to evaluate gATP functionality for SD sales orders.
The primary requirement is to have sales order ATP checking take place across multiple plants.
E.G.
Sales order line is entered for qty 100
60 is available in plant A, 40 is available in plant B
System checks both plants and creates 2 lines - one for delivery from plant A and one for delivery from plant B
(we are currently heading down the road of writing ABAP to do this 'multi-plant' check in R/3 but the more complex the requirements get the more interested I am in understanding more about APO/gATP)
I would like to understand the benefit of implementing APO / gATP as opposed to using standard R/3 ATP and perhaps writing custom ABAP code to search for inventory across multiple plants.
I would appreciate any insight regarding what is required to setp gATP to perform such checking and any other feedback regarding this issue - especially if you have had to implement something similar at your company.
I have looked here but not much clear help:
http://help.sap.com/saphelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
Thanks,
Niall

Hi Niall
you are probably looking at RBATP (Rule based ATP). Look at transaction /sapapo/rba04 in APO where you develop your own location and product substitution rules. Going down an ABAP road in R/3 may work short-term but not long-term as the requirements may get more complex.
Regards
Srinivas

Similar Messages

  • Availability check across multiple plants

    Can anyone tell me how to do availability check across multiple plants belonging to same Company Code on First Expiry First Out basis. The Sales Order should Pick up plant which has product(batch) which is near to expiry .

    Dear Kalpkothari  ,
    Your requirement can be fulfilled using the following user exit.
    USEREXIT_SOURCE_DETERMINATION
    OR
    USER EXITS AVAILABLE FOR AVAILABILITY CHECK
    User exits in program FV45VFZZ
    o   USEREXIT_ADD_FIELD_TO_HEADER
    o   USEREXIT_ADD_FIELD_TO_LINE
    User exits in program FV45VFZY
    o   USEREXIT_DELIVERY_GROUPS
    o   USEREXIT_MVERF_INIT
    o   USEREXIT_QUOTA_KEY_VALUE
    User exits in program RV03VFZZ
    o   USEREXIT_AVAILABILITY_IN
    o   USEREXIT_AVAILABILITY_OUT
    o   USEREXIT_DARA_REFRESH
    o   USEREXIT_PLANT_SELECTION
    Thanks & Regards,
    Hegal Charles

  • Check sales order exits for category ZTAC

    Hi Experts
    I have a requirement to modify the iDOC interfaced program,
    In the routien which checks for the existence of a production order, I have to modify the following
    1.  Inspect each item on the sales order
    2. If (and only if) there is atleast one item with a category of "ZTAC" then check for a production order otherwise processing the order in the usual manner.
    Could anyone tell me how to check (Is there a sales order) if no then display error message if yes then is there a production order if no display error message if yes Create confirmation .......................
    I want to know how to write a coding to check sales order exits from table VBAP,VBAK Etc., .
    Thanks in Advanced
    Regards
    Piroz

    Hi Prabhu
    Thanks for your email and response but I need to check this in program for IDOC ....Modification
    Insert code in this way
    check sales order for category = 'ZTAN' inspect for each item on sales order
    and if you found item with cateogry ZTAN then check for production order otherwise go asual manner
    I WANT TO WRITE A CODING HERE **********************
      if production order required then check
                    for each item on sales order item list
                          with item category = 'ZTAC' then
                                     return true
                                next
                                  end function
      VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
    Eg of coding
    if lva_saleord is initial
            select single * from vbap into l_saleord
              where vbelv = lva_saleord
              and   vbeln = lva_vbeln and
              exit.
            endselect.
          endif.
    I want to write a small program in between to check the sales order exits if it is then I have to go to deliveries ...................
    Regards
    Eslam

  • How to check Sales Order complete or incomplete in program?

    Hi, Gurus:
    In the program, how to check Sales Order complete or incomplete based on Order Number vbeln?
    Thanks,

    You can check the status table VBUK for this.
    VBUK has all the status related fields in it.
    Search for the field which suits to your specific requirment.
    Regards,
    Naimesh Patel

  • Calling "Check Sales Order" on HU2 fails

    Hello,
    I'm trying to use the ES "Check Sales Order" (Manage Sales Order In) on HU2, by providing the minimal required information (ProcessingTypeCode, BuyerParty and SalesOrganisationID/DistributionChannelCode/DivisionCode).
    Calling the ES returns an error "[040(SLS_LORD)] Document type TA does not support user status" (I'm using Order type "OR").
    I also tried to use a couple of other order types (RO, TAV, ...) without success.
    The same information used with "Create Sales Order" would work.
    I have the feeling that it is more likely a role/permission issue.
    Is the "Check Sales Order" ES forbidden to standard users ?
    Any way to confirm/solve this ?
    Any other order type ?
    Thanks,
    Nicolas.

    Hi Prabhu
    Thanks for your email and response but I need to check this in program for IDOC ....Modification
    Insert code in this way
    check sales order for category = 'ZTAN' inspect for each item on sales order
    and if you found item with cateogry ZTAN then check for production order otherwise go asual manner
    I WANT TO WRITE A CODING HERE **********************
      if production order required then check
                    for each item on sales order item list
                          with item category = 'ZTAC' then
                                     return true
                                next
                                  end function
      VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
    Eg of coding
    if lva_saleord is initial
            select single * from vbap into l_saleord
              where vbelv = lva_saleord
              and   vbeln = lva_vbeln and
              exit.
            endselect.
          endif.
    I want to write a small program in between to check the sales order exits if it is then I have to go to deliveries ...................
    Regards
    Eslam

  • ATP Check - Sales order

    Dear All
    Our company requirement is not to save the sales order if stock is not available for any of the line item. This requirement is for specific order type or item catagories.
    Currently system is saving the order even if quantity is not available. 
    Can you please help me how to configure the same in SAP.
    Regards
    K.C Choudhury

    hi,
    ATP Check is checking of availablty quantities i.e ATP = Total Warehouse Stock + Planned receipts(Incoming Stock) - Planned Issues (Out going stock)
    Availbilty Check is an integral part of business process it determines the if the desire deliverible quantity can be met on requested delivery date or not.Then it passes to Material Requirement Planning. Or
    avability check is nothing but checking of availibility of stock which is placed in the order , sys carries out this check through a available to promise (ATP)
    When we create a sales order, there are several basic functions which are executed automatically for the dynamic order management . among these basic functions , availability check and transfer of requirements are crucial.
    the system first prepares schedule line containing the information on the desired delivery date and quantities , this information is passed to MRP and an avialability check and transfer of requiremnts are executed
    First the system carries out backward scheduling and establishes the material avaialbility date = desired delivery date-transit time-loading time-picking & packing time and on this date an availability check is carried out using ATP logic which means avialable to promise quanity =total ware house stock+incoing orders-outgoing
    along with the avialability check the requirements also are transferred to MRP.
    the configuration involves following
    1. switching on at schedule line catagegory the avialability check and TOR
    2. configure the avilability check using ATP and using the checking group and Checking rule
    Regards,
    Raj

  • Availability check - sales order

    Hi experts,                              
    I've gone through the relevant info, but still hit the issue below. Pls help. Thx.                                                       
    Issue: How to include the created order (not delivered ) when running availability check?                                                       
    Example:                              
    Stock (storage location C) - 1pc                              
    sales order A - 1pc (confirmed in schedule line)                         
    sales order B - 2pcs (1pc confirmed, 1pc unconfirmed)                                                       
    Those two orders are created agaisnt storage location C. No other stocks against storage location C are available, such as on-order stock.                              
    In my understanding, order B cannot be confirmed as order A has been created firstly.                                    
    Background: As the customer just sells the purchased product, he places PO firstly, then sales order following. Thus, he requests new sales order creation to be based on the stock qty, created sales order qty, PO qty to be received & delivered sales order qty.                                                       
    For this sales scenario, availability check with ATP is activated, but not against product allocation. And the check boxes "incl.purchase orders", "include sales reqmts", "include deliveries" are checked in OVZ9 only.                              
    ps. "Check sales requirements" has been checked in Availability check control while "No storage location inspection" has not been checked.

    Dear Cathy
    Can you please reconfirm that the combination of availability check and checking rule in OVZ9 in which, you have selected the box "Include sales reqmts"  is the same value what you have maintained in material master MRP3 view for availability check ??
    If the availability check is same in both the cases, then try to create a fresh order and post the outcome.
    thanks
    G. Lakshmipathi

  • Availability Check / Sales Order / Planning Strategy 50

    Hi,
    the material master has been setup with planning strategy 50.
    now if i sales order is created. the system directly created planned order for the sales order quantity.
    Now, there is smtimes a situation that some stock is already present in unrestricted stock for that material. thus during order creation, the system should first check the stock available in unrestricted stock...and if the stock is available, then system should confirm the stock without creating any planned order. and if there is no stock available, then system should go with creating planned order.
    now what should i do in ATP check to cater this requiements? Please guide.
    Hope i have explained the issue correctly.

    Hi Robert,
    check this thread Re: Emergent! Can MRP consider unrestricted-use stock with MTO plan strategy???
    Best regards,
    Zuzana

  • Insert code in prgram to check sales order exits in your own program

    Hi Experts
    I want to insert a coding in IDOC , can anyone write in abap coding and show .....The program is to check if sales order for category PSTYV ( CATEGORY ) for items ...
    if found set flag true else set flag false...
    Eg
    clear flag
    insert code
    to check s/o for ZTAC item found
    if found
    set flag = true
    else
    set flag = false
    So how can I write a a code in ABAP
    Thanks in advanced
    Piroz

    Hi Fracis
    Thanks for your advice I did in this way ,  Is there any correction required
    form look_sap_saleord  using    p_in_string
                                    p_material_in          " Material No exits
                                    p_site_in              " plant
                           changing p_out_saleord_e        " sales order
                                    p_out_material_e       " Mat No
                                    p_out_order_e          " Prod Order
                                    p_out_wemng_e          " QTY goods received for order item
                                    p_out_psmng_e.         " Ordered Qty Item
      data: lva_prodord like afpo-aufnr,   " Production Order
            lva_prodmat like afpo-matnr,   " Material Number
            lva_saleord like vbkd-vbeln,   " Sales Order
            lva_pstyv   like vbap-pstyv,   " Category
            lva_wemng   like afpo-wemng,   " Quantity of goods received for the order item
            lva_psmng   like afpo-psmng,   " Ordered Qty Item
            lva_count   type i.            " counter validation
    CHECK FOR SALES ORDER IN VBAP IF EXITS
    GO TO DELIVERES
    ELSE CHECK REQUIRED PRODUCTION ORDER
           ihrez_e Ship to party
    check single if the sales order exits
      select vbeln from vbkd into vbkd-vbeln
        where ihrez_e eq p_in_string.
      Is the sales order exits for ZTAN Category ?
        select vbeln from vbap into vbap-vbeln
          where vbeln eq vbkd-vbeln and
                werks eq p_site_in and
                matnr eq p_material_in and
                pstyv = 'ZTAN'.
        The sales order is for the specified plant.
          lva_saleord = vbap-vbeln.
          lva_prodmat = vbap-matnr.
          exit.
        endselect.
      when an order for this plant has been found.
        if not lva_saleord is initial.
        exit.
        endif.
      endselect.
      check not lva_saleord is initial.
      select count(*) into lva_count from vbap
        where vbeln = lva_saleord.
      if lva_count eq 1.
        select vbeln matnr aufnr pstyv
        into (lva_saleord, lva_prodmat, lva_prodord, lva_pstyv) from vbap
          where vbeln = lva_saleord and
                matnr = p_material_in and
                pstyv = 'ZTAN'.
          exit.
        endselect.
      else.
        select vbeln matnr aufnr pstyv
        into (lva_saleord, lva_prodmat, lva_prodord, lva_pstyv) from vbap
          where vbeln = lva_saleord
          and matnr   = p_material_in.
          exit.
        endselect.
      endif.
       move: lva_saleord to p_out_saleord_e,           " sales order
             lva_prodord to p_out_order_e,             " production order
             lva_prodmat to p_out_material_e,          " material no
             lva_psmng   to p_out_psmng_e,             " QTY Ordered
             lva_wemng   to p_out_wemng_e.             " Qty Received goods
            lva_wemng   to p_out_wemng_e.             " Quantity of goods received for the order item
    endform.                    " look_sap_sales ord
    Regards

  • Is ATP for Multiple Plants possible????

    Hi Gurus,
    I have requirement like this
    we are having two SAP Systems in one Sales order is raised.. and tha will pass to 2nd system with ALE. in Second system actual Availability Check will run for the plant given in the line item of sale order.
    but in second system there will be 6 plants containing the same material. here my requirement is system has to check all the stock lying in all the plans at it need to propose the plant at line item level in sales order.
    I know that Avail.Check will run for single plant. Is there any way to run this for multiple plants. at present user is changeing sales order and splitting line item into 6 line Items and performing Availability check based on that he is abelt find the in which plant stock is availble it become cumbersome process.
    is any User Exit can we give multiple plants for checking Stocks???.
    if End User is doing any mistake in doing Avail.Check it leads to Dead Stock.
    please provide your Inputs on this
    -Pradeep

    BC,
    Well, I will assume that you have been diligent and have already determined that the material masters are comparable between your qual system and your production system (I don't know what pre-production means).
    First thing I would check would be the differences between qual and prod in availability check configuration.  OVZ2.  Look especially at the 'accumul' settings.  Actually, any difference between qual and prod should be reviewed.  Differences are a no-no!
    Best Regards,
    DB49

  • Which table could let me check sales order type when giving dlv order info

    Hi,
    Suppose you got the delivery order detail like delivery number#,dlv type...etc...
    From which table link could we find the corresponding sales order type???
    Is there any table indicate the document flow, and with that then i could find the sales order type for this dlv order???
    Thank you very much!!

    Hi Ram,
    Could kindly indicate which field could link LIKP and VBAK directly..Thank you very much...
    Maybe below way is not the fast way...
    1)     Get sales order number with dlv# by checking document flow table VBFA.
    2)     Get Sales order type by checking tbl VBAK with sales order number.

  • Error in APO ATP check sales order

    While executing GATP chesck in the R/3 system we are getting this message.
    Error in calling up function 'BAPI_APOATP_CHECK' in APO server 'C16CLNT300': Screen output without connection to user.
    Please help us in this issue.
    Thanks &Regards,
    Rajesh.A

    Check the following settings.
    1.SM59 for ur logical system try out the remote connection.
    2.In BF11 check whether you have maintained the ND-APO plug in.
    2.Check the check mode in ur product master and alos the checking instruction setings.

  • Commitment check - Sales Order

    We have activated Funds Management.  However, while doing transactions like PR, PO, SO we come across errors.
    In the SO, system saying commitment check is activated and hence not able to save the document.  We have given commitment item and fund centre in the order.  Still it is happening.  What is to be done to resolve this ?

    Hi Eli
    Maintenance poeple are using Maintenance Order.  There they are giving Maintenance Order.  In the derivation, I can give maintanence order -> fund centre derivation.  But since they will be creating maintenance orders everytime, this is not a feasible solution, right ? 
    Similarly, network will be crated from Project Systems.  Then also fund centre issue is coming. 
    What to do in those situations ?

  • How to check sale order stock

    Hi,
    Which T-code used for view the  sales order stock
    thanks.

    Hi Balaji,
    You can View Sales Order Stock using MB52 with Special stock Indicator E and with MMBE and also try in CO09.
    Reg,
    Ashok
    Please close issue, if answered.

  • Warning message display for Price check-Sale order creation

    Hi,
    While creating sales order at line item level a warning message is required to pop-up after validating if the sale order line item's Net Price = Gross Price.
    1.Is there any IMG customization that can be done to acheive this? If Yes, how??
    2.If it can be done only by adding a required message to message class, could you pls tell me the form which may require modification??
    Thanks

    Hi,
    Develope the logic in any of the following userexits avaialble in the program-
    MV45AFZB
    MV45AFZB
    The requirement cannot be processed through Standard SAP behaviour.
    Regards
    Goutham

Maybe you are looking for

  • MBP and 24" monitor

    Hi, I am getting a 15" MBP and a 24" glossy monitor. When I connect the MBP to the monitor what happens? Where do I type and what do I use as a mouse? Does the $999 monitor come with a mouse and keyboard or are those extra? Do I just plug the MBP int

  • I need help with voiceover..

    I know how to record my own voice into a video (with the microphone symbol).. but if i wanted to take one of my video clips and just use the audio, and voice over part of my movie is there anyway to do that? I have an audio track and my video all set

  • FireWire Solution, yes it's true!

    Hey there! When surfing the net I found a beautiful gadget which enables you to hook FireWire devices to your USB port. This could be the solution for everyone who's annoyed about the lack of FireWire. You can connect Video cameras, external hard dis

  • How to Handle Multi Value  Indexes

    Hi all, i'm a newbye and i've a class attribute which is a String Array, and i want to create a secondary index on this attibute. I'm wondering which is the best solution to achieve this.

  • Wiki Error Logs

    Hi, My wikis do not work. When I look in the System Log, I see the following 3 lines, which continue to appear over and over for eternity... Jun 1 22:22:23 mydomain com.apple.wikid[13150]: Removing stale pidfile /var/run/wikid.pid Jun 1 22:22:24 mydo