ATP check partial Quantity allocation to Sales Orders

Hi,
Our client has three different sales order types for processing sales differently for the same materials.
While doing ATP check they have a order of priority i.e ZOR1 -> ZOR2 -> ZOR3 with ZOR1 highest priority.
For sales order type ZOR2 currently they donot have partial quantity allocation to sales orders.i.e if two orders, Order 1 created with 100 Qty and other Order 2 with 50 Qty and if ATP is 50 Qty.
System is allocating material to Order 2 which has order quantity 50 ( Which equals ATP Qty )
Now the client requirement is to configure system such that it does partial allocation to Order 1 ( order qty 100, where as ATP Qty is 50 ) i.e system should allocate even partial quantity to sales orders, that too in FIFO ( system should allocate ATP qty to order created first then next and so on )
Please let me know what changes i need to do to achieve the above functionality in SAP system.
Thanks
Venkata Rama Reddy.K

Dear Venkat,
Please check the customer master for the customer which you have maintained in the 1st order. If the customer allows partial delivery, them the system will allocate the stock to the order which is created at first.
At the time of ATP check(In Availability Screen), you do need to choose, One-time or System proposal, which will allocate the stocks partially to the 1st order as you don't have enough stock.
Check out the settings in the customer master (for the customer in the 1st sale order) under Shipping Tab.
Partial delivery per item  D/A/B
Max. partial deliveries    >0
(And more thing, you mentioned that sales document type is having priority. As of I know - there won't be any setting which will set particular sales document type with high priority. If you are really doing that kind of setting - update the same in this forum - it may help others..)
Hope it may help you.
(Venkat: Has your issue solved? Kindly update in the forum - if your question is answered)
Thanks,
Venkatesh.S.P.

Similar Messages

  • Manual quantity allocation per sales order

    Hi All,
    The requirement is as follows.
    My client want users to allocate quantity for sales order manually so that they can control quantity allocation for sales orders when there is shortage of stock.
    We do not want to use product allocation for this, So can anyone suggest if there is any other way to allocate the stock manually for sales order.
    Thanks in advance,
    JM

    Hi,
    This can be acheived by enhancement.
    You can use userexit MV45AFZB -userexit_source_determination for this.
    You need to maintain the Z-table for all the bottleneck material with confirmation quatity column.
    So everytime when you create a sale order for bottleneck material, system will check this table & irrespective of any order quantity, it will confirm the quantities mentioned in the table.
    This way you can maintain the logic & fullfil the above requirement
    thank you

  • 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

  • No confirmed quantity allocation in sales order

    Hi friends,
    I have a scenario where a sales order has 5 items to be delivered.Now the problem is that  i recieve confirm quantities for 3 items by going into schedule line tab at the item level and checking the availibility check.
    Iam not getting the confirmed stock for the remaining 2 items
    I have also reserved the stocks for that particular customer.
    Please suggest wat should be done
    ajay

    do u mean to say u have 5 line items in a sales order out of whcih 3 line items  are confirmed and the remaining 2 line item were not confirmed..??
    Check whether  these 2 line items are relevant for delivery or not...check this out at item relevncy indicator at item and schedule line categories.
    Thanks & Regards,
    Shaik Hussain

  • How To Get The Total Delivered Quantity of a Sales Order

    Hello All,
    I have a requirement of getting the total delivery quantity of the sales order .I have checked it in LIps table but I am getting partially delivered quantity for a schedule line item.Can any one tell me how to get the total delivered quantity.
    Regards,
    Pavani.

    Hi
    Check the Table:
    VBEP  - Sales Document: Schedule Line Data.
    Inside the table check the Quantity Fields.
    Regards,
    Sreeram

  • Confirmed quantity in the sales order coming as 3.5 ea

    Hi Gurus
    The confirmed quantity in the sales order coming as 3.5 ea where the order quantity was 10ea.I checked CUIN for EA the decimal places is given as 0 which is very much correct moreover I checked the material master in additional data I have not find anything abnormal.The order was created by a batch job.Please help.

    Hai,
    The system has concluded that 3.5 EA for the confirmed quantity means the remaining part of the stock are already allocated to some other sales orders.Out of 10 EA only 3.5 EA are  in the stock.
    You can view through the MD04 and then enter the plant ,material and then check the quantity that are allocated to the various orders.
    Please revert for any.
    Kalyan

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Stock allocation in sales order must be in BIN level

    Hi Experts,
    Currently stock allocation in sales order base on plant level, so it gave us wrong message (miss leading) when the customer ask about their order status....., therefore we need the  stock allocation in sales oder after item already in  BIN,
    Please help me to knp what are all the setting s to be checked and how to  make it product allocation.
    Thanks

    Storage bin (WM) is deterimned in delivery (during picking), not in SO order.
    I'm afraid your requirement is not possible in standard system (w/o development).
    Storage bin defined where exactly your stock is in your SLoc - why do you need this information in SO, what is the sense of it?
    Edited by: Csaba Szommer on Jul 19, 2010 9:01 AM

  • Regarding Picking quantity over than Sales Order quantity

    Hi,
    When I am doing Picking from Warehouse the picking quantity is over Sales Order quantity. I don't want to allow it. To restrict it what are the settings I have to do.
    Please give me solution asap.
    Regards,
    Bhaskar.K

    Hi,
    You can customize this in the delivery item category by configuring the system reaction with the option "Check Over Delivery".
    Reward if convinced.
    Rgds

  • Check Credit and Stock on Sale Order

    Hi All
    Could you please tell me how to check Credit and Stock on Sale Order.
    Thank and Best Regard
    Thang

    How To Do Configuration For Credit Management
    Credit and risk management takes place in the credit control area. According to your corporate requirements, you can implement credit management that is centralized, decentralized, or somewhere in between. 
    An organizational unit that represents the area where customer credit is awarded and monitored.   This organizational unit can either be a single or several company codes, if credit control is performed across several company codes. One credit control area contains credit control information for each customer.
    For example, if your credit management is centralized, you can define one credit control area for all of your company codes. 
    If, on the other hand, your credit policy requires decentralized credit management, you can define credit control areas for each company code or each group of company codes. 
    Credit limits and credit exposure are managed at both credit control area and customer level.  You set up credit control areas and other data related to credit management in Customizing for Financial Accounting. The implementation guide is under Enterprise Structure -> Definition or Assignment -> Financial Accounting and then Maintain credit control area. You assign customers to specific credit control areas and specify the appropriate credit limits in the customer master record.
    Settings for determining the credit control area of a document.  The settings of items 1 - 4 are taken into account according to their priority.  The credit control area found is stored in field VBAK-KKBER.
    1. Transaction OB38
       Check which credit control area is assigned to the company code.
       Company code:
       Credit control area:
    2. Transaction OVFL
       Check which credit control area is assigned to the sales area.
       Sales area:
       Credit control area:
    3. Transaction XD02 or VD02
       Check which credit control area is assigned to the payer.
       Payer:
       Credit control area:
    4. Transaction SE37
       Is user exit EXIT_SAPV45K_001 being used?
    5. Transaction OBZK
       For the settings under items 2 - 4, field "All company codes" must be marked in Transaction
       OB45, or the credit control area must be entered under the relevant company code in table
       T001CM of the credit control areas allowed.
       Company code:
       Credit control areas allowed:
    6. Settings for the credit checks
    7. Transaction OVAK
       Which settings do exist for the sales document type used?
       Sales document:
       Check credit:
       Credit group:
    8. Transaction OVAD
       Which settings do exist for the delivery type used?
       Delivery type:
       Credit group for delivery:
       Credit group for goods issue:
    9. Transaction OB01
       Credit management/Change risk category
       Definition of the risk category for each credit control area. This risk category can be
       assigned to a credit account by using Transaction FD32.
    10. Transaction OVA8
        Here, the individual credit checks for key fields
        o credit control area
        o risk category
        o credit group are set. Take these key fields from the above settings and go to the detail
          screen. In particular, check whether fields "Reaction" and "Status/block" are set
          correctly. To carry out follow-up actions in case of a credit block, the credit check
          status must be set (field "Status/block").
    11. Transaction FD32
        Credit master data for the payer of the relevant document.
        Credit account:
        Credit limit:
        Risk category:
        Currency:
    12. Settings for updating the credit values Update of the credit values is required for the limit
        check (static or dynamic credit limit check).
    13. Transaction OVA7
        Update of the credit value is active for the corresponding item type if the check box is marked. This field corresponds to 
        field "Active receivable" in Transaction VOV7.
        Item type: 
        Active receivable:
    14. Transaction V/08, Pricing
        In the pricing procedure used for pricing, subtotal "A" must be entered in a line for
        determining the credit value (mark the pricing procedure and doubleclick on "Control").
        Usually, the net value plus taxes is used. This way the system is determined to use this
        subtotal for credit pricing. The credit price is stored in field VBAP-CMPRE and used for
        update and credit check.
        You can find the used pricing procedure of the order under "Item -> Condition -> Analysis".
        Pricing procedure:
        Line with subtotal = 'A':
    15. Transaction OB45
        Which update group (field "Update") do you use in the relevant credit control area? The
        default setting is "12". If you use another update group, check whether this is fine with
        you. If you open an OSS message, please tell us the alternative update group.
        Credit control area:
        Update:
    16. Transaction OMO1
        Which kind of update did you choose for structure S066? 
         In any case, "Synchronous update (1)" has to be chosen as the kind of update. 
         All other settings will lead to errors
    Regards
    Raja
    Edited by: ramanathan raja on Jul 25, 2008 4:37 PM

  • Need logic for calculate the balance quantity in open sales order

    hi all
    i need logic to calcuclate the balance quantity in open sales order ,
    where i am using VBAK header and VBAP item , and VBFA for document flow tables
    i need to have the balance quantity , for the open sales order
    especially taking with respect to  VBFA-VBTYP_N = M for invoice creation and N for canellation
    any one please help me

    thank you but i am clear abt it
    will you please anyother way to calucaluate the logic ,
    and i need to populate in bukets also for the terms of 5 years
    Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM

  • Propose order quantity in return sales order

    Hello Experts,
    I have a requirement where while creating return sales order with reference system should propose total delivered quantity instead of quantity in original sales order.
    I tried to copy routine 151 in VOFM but after the changes proposed quantity in return sales order is appearing as addition of original sales order quantity and total delivered quantity.
    example:
    Original sales order is having quantity = 100
    total delivered quantity = 45.
    default proposed return sales order(with reference) quantity = 100 (here system should propose 45 not 100)
    In copy routine if I change VBAP-KWMENG to 45 then in return sales order system is proposing 45 + 100 = 145 but I need system should only propose 45.
    I had searched the community but no where I found the solution.
    Please help. 

    Hi,
    The problem is we can not go with the process i.e. to create return sales order with reference to billing document as there are many other customizations already developed on existing process of creating return sales order with reference to sales order.
    So we need the solution in which return order(RE) should be created which should propose quantity as the total delivered quantity with reference to sales order.
    For the reference order only delivery document is posted in the system.

  • Update the material quantity in the sales order using LSMW...

    Hi Guru's,
    I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
    could you please provide the step by step process....
    if anyone of you provide the program logic similar to requirement that would be helpfull to me...
    thanks in advance
    Srinivas....

    Hi Sri,
    Hope it may help you.
    First do the recording for VA02 transaction, in that give the existing sales order number
    and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
    Regards,
    Vishvesh
    if helpful, rewards it.

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

  • IDOC Generation For Quantity Change in Sales Order.

    Hi to all,
    I have a very urgent Requirement,Please give correct solutions.
    Requirement:
    When a change is made in the quantity of the sales order line item,an idoc should be trigerred . I have done done all the configurations ,still no results.I am new to ABAP , GIve good solutions ,i will reward you.

    Hi there,
    Could you please explain step by step procedure of your req. coz it is not clear.
    What is BoQ?
    Customer gives raw material with out knowing the specification of sheet?
    Thanx
    Jess

Maybe you are looking for

  • Reader writer thread

    I don't know how to start to implement a reader writer thread. I have a vector, and multiple threads. I would like to allow mulitple threads to read and one to modify. Does anyone where I should start? I know that I can't use synchronize(object) { si

  • Laptop to desktop connection

    I installed a linksys USB adapter on my desktop, and dowloaded the software. It seems to be working, since I can connect  to a neighbor's network. I can also connect to her network with my laptop. The problem is, I can't connect to my deasktop with m

  • Using images with matching quiz.

    How are images added in a matching quiz?  can't find the answer anywhere? thanks!

  • Error when installing i tunes

    when i try to install / upgrade itunes for my new i pod with video i get the following error "could not open key HKeyLocalMachines\Software|classes|Quicktimeplayerlib.QuicktimePlayerAoo\CLSID Verify that you have sufficient access to that key or cont

  • Passwords

    Is there any way i can change my password for my wifi so others cant use it and how do i do this