Contract Quantity to Sales order qty

Dear Sdities,
1. I have created Contract Using VA41 for 150 KG & saved Contract.
2.I have created Sales Order(va01) by referring to Contract , but i created  Sales order for 151KG.
Then it gave me below Warning message & it allowed me to do delivery for 151 KG.
{Target qty of reference: 150 KG (total referenced: 151 KG)
Message no. V1501}
But My requirement is...
1. For the same it shouldn't allow me to create for 151 KGs & it should give me Error message than Warning Message.
Plz reply with Solution.
Regards..

Hello,
Its very normal that you can enter order quantity more than the reference contract quantity flowing from the contract.
Additionally its not recommended that you change the standard SAP standard messages from warning to error etc.
Better you should go for an exit. Use following details:
Goto SE38 & enter include MV45AFZZ
Then goto user exit "USEREXIT_SAVE_DOCUMENT". In this you should tell your ABAPer to write code such that it compare the previuosly refered quantity & hence does not allow to enter quantity more that that in contract. You will get error message while saving the document & system will thus prevent extra entry of quantity in sales order.
Hope this solves your requirement
Regards,
Dhananjay

Similar Messages

  • GR QUANTITY NOT MATCH WITH SALES ORDER QTY IN DELIEVERY

    Hello Experts.
    due to over delivery tolerance in purchase order , some times we do gr for more than sales order qty for an item
    for eg in sales order item qty = 3000
    and during GR we receive 3052 due to delivery tolerence
    so  at the time of making delivery thru vl01n sales order qty copies which is 3000 .
    i need that sys should copy the qty from GR qty OR sys shud give an error msg , for this is there any Configuration method in sap
    OR using Enhancement
    Regards: Hemant

    Hi
    Check whether the sales order creation date and actually when you created the delivery ? if say u created the sales order yesterday with yesterday date as delivery date and carried out delivery process to day means. The delivery date in the delivery process will be today date in that case delivery date wont match with sales order. This is one case like that so many cases are there.
    Material might not be confirmed etc....
    Regards,
    Mullai

  • Free goods determined in Delivery over Order Quantity in Sales Order Item

    Hi Gurus,
    I've a problem about using free goods determination.
    First I created free goods master record with following information
    ZG1010012060075 From 100 PC -> Free good ZG1040012060075 2 PC
    Free goods Category = '2' (Exclusive)
    Free goods delivery control = 'E' (Delivery proportional to quantity in main item)
    Then I've created Sales Order with
    Item 10 ZG1010012060075 4,000 PC.
    Item 11 ZG1040012060075(Free good) has been automatically determined for 80 PC
    Then I've splitted Item 10 into 4 deliveries. The result of free goods determine in each delivery are as follow:
    Delivery#1)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#2)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#3)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#4)
    Item10 ZG1010012060075 = 472 PC
    item20 ZG1040012060075 = 9 PC
    *Remark : Total quantity of 'ZG1040012060075'(free goods) = 92424+24 = 81 PC
    (Greater than 80 PC)*
    I think the system determined free goods in Delivery#4 correctly due to rounding up. But It might not be over the order quantity in Sales Order Item 11. Even though I've set the item category in delivery with Check overdelivery = 'B' (Situation rejected with an error message), the free goods are determined over order qty. BUT if I change delivery qty in delivery#4 Item20 from 9 PC -> 8 PC -> 9 PC, the error message occurred.
    My point is to fix the system not determine free goods in delivery items over order quantity in sales order item.
    Has anyone met this situation before? Do you have any idea about this issue?
    Best Regards,
    Prachya Lalitnorasate

    Dear Sai,
    Thank you for your advice, but it didn't solve my problem.
    I would like the system to determine free goods with proportional to main item AND In the last delivery main item delivered completely free goods must be determined equal to remaining open delivery item.
    Do you have any idea about configuration/customization?

  • Sales order qty not updated in copa

    Hi Gurus,
    My client has activated Costing based COPA.
    We have activated Incoming sales orders with option
    Transfer with date of deliery/scheduled billing date.
    When We are posting sales order we are able to see a copa document with record type A.
    In that document we want to see the Sales order quantity or delivery quantity, delivery date fileds.Please let me know what all the value fields We need to assign.
    Do I need to write any derivation rule for incoming sales arders also.
    we are able to capture the  total price, material etc from the sales order in COPA document.We need only sales order qty or Delivery qty or delivery date to be updated in COPA document.
    Please suggest me
    Regards
    Chaitanya

    Hi Chait,
    Pl check whether your client has assigned SD Qty Fields to COPA Quantity fields in KE4M. Sd quantity fields are FKIMG- Billed Quantity, KWMENG-Order Quantity and the same shall be assigned to ABSMG-Sales Quantity. If not, please maintain the same. Otherwise, we need to look for some other work around solution.
    Trust this resolve your problem!
    Cheers!

  • Sales order qty not confirmed when delivery done with partial qty

    Hi Guru's
    Need your help............
    We have issue in drop shipment scenario process. Sales order created with 10 line items from CRM and order released from CRM and replicated order to ECC and backend created PR also. After that user set reject status for all items so that PR line items also deleted, again user released rejection status for all items and line items updated in the same PR with different line item number for materials then PO & GR also done in ECC and stock also allocated for sales order line items but still sales order qty not confirmed in CRM sales order. 
    I checked all configurations regarding availability check but could not found.
    Example:
         Sales order line item qty: 4            -      2 qty confirmed (delivered).
         For remaining qty (2 items)I have done GR. After GR It is allocated to sales order but it is not confirming the order quantity.
    plz help me to fix this issue?
    regards
    sai

    Hi,
    Please check In ERP transaction OVZJ, for the sales org, distribution channel, and division that is being used in the affected sales orders, set the Avail. Check Rule to 'E'. Then retest the issue, as this might help.
    Regards
    Gavin

  • Sales order qty display

    On my sales order qty only 'four digit' numbers show up.
    For example, 1000 will show up on the print out.
    However, 10000 will not show up and will be desplayed as *000 with an *
    How do i get all digits to display?
    Edited by: ManjeetSingh on Mar 16, 2010 1:42 AM

    Ask your ABAPer to do the changes in the Smart Form of Sales Order.It is due to settings maintained in the Smart Form which allow to show only 4 digit for Sales Order Quantity.
    Best Regards,
    Ankur

  • Confirmation of the production order qty equal to sales order qty

    Hi Experts,
    I need to control the confirmation of the production order should be equal to sales order qty.
    I'm having the scenario as follows
    If sale order qty for X material = 3
    while running the MRP, system will plan the order qty as 8 because of we maintained rounding profile in the Material master and enhancement we used for this.
    Rounding Profile Qty=5
    Total Production Order Qty=8.
    But, finally they will do the GRN for sales order qty only, remaining will be used for testing purpose.
    So, the confirmation also has to happen for only sales order qty. There, we need to control the qty based on the sales order.
    Is there any exit or Enhancement is available for this.
    Please help me.
    Naren

    Hi,
    Exit for confirmation check is CONFPP04.
    However, opening orders for quantities higher than demand and leaving pieces undelivered and unconfirmed in production orders does not make sense. I could not get the requirement of incresing production quantity by adding rounding value? Moreover, if rounding is to be used for test purposes, why not do you receive them into stock? Why don't you receive 8 pieces into stock, deliver 3 pieces to sales order and transfer 5 pieces to related department?
    If it is because of MRP and you really do not want to produce extra 5 piece immediately, you may use material reservation or any other form of demand for 5 pieces, use EX for lot size calculation and have MRP create two planned orders for sales order and testing requirement, then you can convert planned order for sales order requirement into production order and continue processing.
    Regards.

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..??
    and also in which table i could find delivery for sales order..
    need help..??
    Moderator message: please search.
    Edited by: Thomas Zloch on Feb 23, 2012

    Check the table AUFM.
    Give the order number in AUFNR.
    For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS).

  • How to get the back order quantity for sales Order

    Hi Friends,
    I want to get the back order quantity for sales order . in MD04 t-code,
    there is a field(MDEZ-MNG01) for Received Qty/ Required qty.  But MDEZ is a structure.
    I tried from MDTB table, but the table is not updated with the values in MD04.
    Please guide me from which table I can get the back order Qty for sales Order
    (ref: t-code  MD04, MRP element = CusOrd).
    Thanks,
    Sagar

    >
    VIdya Sagar wrote:
    > Hi,
    >
    > Isn't  there any difference b/n Open Sales Order and Back order??
    Yes Quite Difference.
    Read:
    http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
    http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm

  • Change in Sales Order Qty in a MTO scenario

    Hi,
    We had confirmed 5 Qty for the Production Order created with reference to Sales ORder(MTO scenario), now after confirmation of 5 qty, sales order qty is reduced to 3., then in this situation, what we need to do for the already confirmed extra Quantity 2 for this sales order. I think we need to cancel the confirmation for the extra qty 2?. Please clarify and explain what we need to do this for this extra Qty 2 in detail.
    Case 2) If the Sales Order qty is changed to 7, then we will be creating a new Production Order for this new quantity 2 with reference to the same sales order.  Am i correct?.IF wrong, please suggest how should we balance the extra requirement of 2 EA.
    Thanks in advance.

    Is your query being posted even before you actually tried the 2 cases which you refer to in your system?
    If so, then first do the simulation in your sandbox, check how system behaves when you do that. Also check by clicking on ATP check for the material within SO.
    Once you do the above your query will be self answered, if you still face any issue then revert with the specific details.

  • Update sales order qty through BAPI_SALESORDER_CREATEFROMDAT2

    HI
    Can anybody help me out.  I have the requirement for creating sales order through BAPI_SALESORDER_CREATEFROMDAT2. The sales order is created but with 0 quantity.
    I am using fields RNDDLV_QTY and TARGET_QTY and REQ_QTY in schedule lines & also setting the update indicator to 'X'  in the corresponding itemx structures.
    In fact it used to work earlier and has stopped now. I am also checking if there could be any change in configuration but don't think this should be the reason.
    Can someone guide me as to which quantity fields of the BAPI are the right ones to update sales order qty?
    thanks

    Hi,
    You are using the correct fields i.e. TARGET_QTY and REQ_QTY. Just check if you are passing the same Item Number in both the tables.
    Hope it helps...
    Lokesh

  • User exit for sale order qty change

    Hi all,
    In our industry we are creating Sale Order for MTO Scenario by using T.Code VA01 . Most of the time after taking the MRP run and raising PO for BOM components, Users are changing the qty in the sale order . eg. and due to that it is becoming difficult to make necessary change in production programe. .Now please give me solution/ userexit  so that anybody cannot change the sale  order qty and it must be check the authorised userid to do necessary change in sale order.
    I am waiting for your valuable suggestion.
    Thanks & Regards

    Hi LIMAYE,
      You can use user exit include 'MV45AFZZ'.
    Make necessary changes in FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    XVBAP will contain the old values before making the changes. You can comapare the quantity wtih VBAP field.

  • Automatic Quantity in Sales Order

    Hi Gurus,
    My client has requirement that qty in Sales Order should be copied automatically.
    My client receives the List with details of Volume (LxWxH) & Weight. We are developing the Z programme wherein the total Volume & weight will be calculated. Either Total Volume or Weight will be taken as quantity in Sales Order. This quantity should be automatically copied in Sales Order. This List will be attached to Sales Order in workflow.
    Is this  possible? Is there any user exits for copying the quantity
    Thanks in advance.
    Regards
    Mahendra

    As per my understanding, if the sales order is being created through EDI / IDOC, in that case all details will come & the quantity based on the development may be captured, by provding appropriate logic.
    But if sales order is being created manually, in that case quantity will be required to be maintained. If the development is possible to be captured at sales order level, in that case you may have to try.
    Regards,
    Rajesh Banka

  • Blocking Quantity in Sales order

    Hi,
    We have a requirement to block Quantity in sales order.
    PP is not integrated with Sales order, its a MTO ( but actually client does not follow MTO in SAP)
    Once the production is completed for that sales order......he want to block the sales order quantity either manually or automatically ( they use a z transaction to declare production complete against sales order ) but this should not stop him doing delivery and billling.
    Please let me know how can we do this.
    Thanks
    Venkata Rama Reddy.K

    Hi,
    The Process goes this Way
    Sales order is created and confirmed ( by mail ) to PP that production should be started.
    PP completes the production and they update the qty against sales order number in a z transaction once production qty matches work order qty. the z transaction stops adding qty in this z t.code.
    What customer wants is once they update this ztransaction with complete Qty ( which equals sales order Qty) , the sales order item quantity should be locked automaticallly so that quantity can not be modified once this z transaction is completed.
    Hope this information provides clarity.
    Please suggest a solution.
    Thanks
    Venkata Rama Reddy.K

  • Delivery Qty Greater than Sales order Qty

    Dear All,
    I want to do delivery against a Sales order,but system is allowing me to do PGI more than the Sales order qty,please advice where i can restict my PGI agisnt the Sales order qty.
    Regards,
    Muzamil

    Dear Prashanth,
    Thanks for your quick reply and resolution
    We have a problem when there is a delivery from projects(CNS0).When we are running the transaction CNS0 and entering  Qty 7, and creates delivery, system generates a Delivery Number and takes us to VL02N where we enter batch,picked qty and storage location.Here we find delivery quantity 7 by default and if we change the quantity from 7 to 10 even then system accepts more quantity as it checks the project stock.
    We want system should not allow the delivery quantity more than the quantity specified in the CNS0.
    We are not creating sales order as we directly delivering from projects.
    In the previous case,as you suggested we made the changes in delivery item category,but the same logic is not working here as it is without sales order.
    We are using item category DLP and Delivery type is LP.
    Request you to provide your valuable inputs
    Thanks in advance
    Regards
    Muzamil

Maybe you are looking for

  • K7N2 Delta (ILSR) incompatible with 200FSB?

    Is the K7N2 Delta (Nforce2 Chipset) incompatible with 200FSB??... Ive seen many problems when trying to upgrade the CPU, and use a 200FSB in various forums. So, why does it keep hanging/crashing?? Might it be not really supported even though it speci

  • Connecting to Kuler in Illustrator CS4

    I am connected to the Internet, yet a get a message that I am NOT connected to the Internet when I try to launch Kuler in Illustrator CS4. I am using a Mac Notebook, MAC 0SX Version 10.7.5 Thanks for any insight

  • Application/object halts for (exactly) 1 hour

    One processing object of my application occasionally halts for exactly 1 hour (60 minutes) and i wonder what the reason can be. The application itself is multithreaded and can run multiple threads. The application itself doesn't halt (log entries) bu

  • Backup the entire sybase database

    I am doing a project in avaya. I installed ipocc(a avaya product) in windows. Ipocc it self have sybase database. I try to take a backup it show me threshold error. The error is i mentioned below Backup Server: 4.172.1.1: The value of 'reserved pages

  • No BOM or BS found in B1 payload, check your BIU xsl

    i  have created b1POtob1so  with the intre gration  bisn tool i  got the message  from message log . what should i do. com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exc