Quantity Restriction in a sales order

Hi Gurus,
How can we ensure that the quantity in a sales order is not reduced after it has been copied from a quotation, the quantity can be reduced but not incresed.
Points will be rewarded.
Rgds,
Ravi

Dear Ravi
Either through basis, you can control accessing TCode VA02 for the said user.
Alternatively, apply User exits in the program MV45AFZZ - USEREXIT_FIELD_MODIFICATION or USEREXIT_SAVE_DOCUMENT
thanks
G. Lakshmipathi

Similar Messages

  • Maximum Quantity restriction in the sales order?

    Hi All     
    We need to make restriction of maximum order QTY  with UOM in sales order key combination of sales organization wise / site wise / distribution Channel wise
    While qty is entered for an article in sales order for which maximum sales order qty is maintained in some field (Article master or any other possible field)-, system has to check if the ordered quantity is greater than maximum sales order qty then should display error message and will not allow to process further
    Hope the same is clear.
    Regards,
    C S Javali

    hi
    there is no standard functionality available to set the maximum limit for a material in the sales order.
    You can try using user exit userexit_save_document_prepare in include MV45AFZZ.
    You may need to use Z-table to enter the maximum value for sales organization / site  / distribution Channel / material

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • Restrict creation of sales order for specific customer

    Hello All,
    I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
    Your early reply will be highly appreciated.
    Thanks & Regards,
    Mahavir

    HI
    As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
    Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
    Regards,
    Prasanna

  • Restrict deletion of sales order line items

    Hi,
    I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
    But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
    ANy idea , to prevent that?
    Thanks
    Keshi

    Hi Keshi,
    That is the correct exit, we are using the same without any problem. Just set US_EXIT  = CHARX.
    Regards,
    John.

  • Query Alert for a change in value of the Quantity field of the sales order

    Hi Experts,
    A query alert has been set up to alert the warehouse employee when a new sales order is created by a sales employee. Our client wants the warehouse employee alerted when the sales employee edits the quantity field of an already added sales order.
    Kindly assist in designing a query to notify of this change in the Quantity field of the sales order.
    David

    Try this one:
    SELECT T0.DocNum, T0.CardCode, T1.ItemCode, T3.Quantity 'Old Qty', T0.Quantity 'New Qty', MAX(T2.LogInstanc) 'Times Changed'
    FROM dbo.ORDR T0
    INNER JOIN dbo.RDR1 T1 ON T1.DocEntry = T0.DocEntry
    INNER JOIN dbo.ADOC T2 ON T2.DocNum = T0.DocNum AND T2.ObjType = '17'
    INNER JOIN dbo.ADO1 T3 ON T3.DocEntry = T2.DocEntry AND T3.ItemCode = T1.ItemCode
    WHERE T0.DocStatus = 'O' and T0.DocType = 'I' AND T1.Quantity != T3.Quantity
    GROUP BY T0.DocNum, T0.CardCode, T1.ItemCode, T1.Quantity, T3.quantity

  • User exit or badi to restrict PROO in Sales Order for certain sales organisation

    Hi SAP SD experts,
    I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
    thanks,
    SG 

    Kindly  explained  how  you have  solved  others  may benefit..
    regards
    Arunkumar

  • Restrict materials by sales order type

    Dear Gurus,
    I would like to know if there are any way of restrict materials by sales order type.
    I need to create a sales order and i want to set an error message if i insert a material which is not allowed for the sales order type.
    is it possible?
    Best regards!

    Hi,
    Here in the Listing and Exclusion you have to enter the Listing or Exclusion procedure for your Sales document type in SPRO
    Then in VB01 maintain all the Material you want to list for that particular customer.
    Now try to process the Sales order with the Material other than  listed for the Customer, in the sense enter the material which was not maintained for the customer, then it will throw an error stating
      the Material not listed and therefore not allowed.
    This is how listing and Exclusion functionality will work
    Please check and revert back
    regards,
    santosh

  • To restrict some customers sales order which are less account balance.

    Hi expert,
    I want to restrict some customers sales order which are less account balance.
    example:
    ABC customer account balance is 100. now they ordered 150. now this SO document will not be posted until approval from superior. how can i do restrict this?
    Please help regarding this
    IF @transaction_type IN ('A','U') AND @Object_type = '17'
    BEGIN
    IF EXISTS (select 'A','U' FROM ORDR T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE @Object_type = '17' and T1.Balance < 100 AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    select @error = 1,@error_message = 'Customer Balance is below RS/-100 1You are not allowed to post SO'
    END
    END
    If i follow this instruction it will work for all customers. but i need sales person can not add this document but superior can add this. and i also need credit customer is not allowed to add SO and debit customer is allowed
    to add SO.
    Regards,
    Mizan

    Hi mizan700     ,
         I can't understand your requirement as  how can Salesorder restrict for a SalesPerson . please explain your requirement .
    Thanks & regards
    Surajit Kundu

  • Restricting decimals in Sales Order Quantity

    Hi All,  I have a requirement to restrict the decimals in the sales order quantity i.e the system should not allow the quantity to be entered with a decimal value like 2.4 or 5.6   only the whole numbers (1,2, 3....)  should be accepted by the system in slaes order quantity. I have tried to make the settings using t-code CONI....but its not working.pls suggest

    Hello,
    check the UoM (unit of measure) of your products in material master.
    Then you may define in customizing how many decimals are admitted for that specific UoM.
    E.g.: currently PC (pieces) do not admit decimals otherwise KG (kilos) may accept them.
    Regards,

  • Purchase Order quantity must not Exceed Sales Order quantity

    Dear Experts
    My requirement is when i am creating PO in me21n and taking Document type as Domestic PO and giving account assignmnet as "C" Sales Order, must have to enter Material and quantity and must have to Give Sales Order number and item no in account assignmnet tab , the quantity i am entering in PO must not exceed my Sales Order quantity that is my requirement.
    Regards
    Abi

    Hi,
    You do not create a PO with reference to sales order. In PO you enter sales order number for reference. A purchase requsition can be created directly from Sales order or through MRP depending on the system settings. Then this PR can be converted to PO. here you can restrict the quantity. As in order to change the quantity in PR also you will have to change the quantity in sales order.
    Regards
    Raj

  • Un restricted stock to sale order stock

    Hi experts,
    I have the qty of 10 nos in unrestricted stock. I need to move to sale order stock. kindly advice me

    Hi,
    Go to MB1B, here specify the movement type 412 and special stock as "E" and press enter
    here enter the material, quantity and Sales Order no and line item and then post it.
    Now check stock in MMBE

  • Confirmed Quantity for Item in sales order

    Dear All,
    In one sales order there is confirmation block (this is through the delivery block in the sales order header level).
    The sales order contains BOM (header and it's sub items) and some standard items also two third party items.
    When the sales order is saved there are no confirmed  quantity for any of the item except the BOM header.
    May I know what could be the reason to have this BOM header confirmed quantity..???  this is leading to a problem in the data from sales order.
    Is there any customizing related to this item (item category or schedule line category) to look out for..??
    Thanks & Regards,
    Vishi...

    hello, friend.
    your issue is quite broad.  outcome depends on -
    1.  configuration of delivery block (which, in your case, we can assume to include confirmation block)
    2.  selection of availability check and MRP type in material master
    3.  schedule line category and schedule line determination
    now in standard, if the order line item category is TAN, and MRP type is PD and availability check is PD... the system might temporarily confirm the item even when putting a delivery block at header level, but the system  should delete confirmed quantities when you save the order.  you can check the confirmed quantities when you open the sales order in change mode... the confirmation should be zero.
    however, in third party items (item category TAS), these items are normally confirmed even in change mode.  this may hold true if either MRP = none (e.g. ND) and/or if availability check is KP (no check).
    nevertheless, regardless of confirmation quantity, the system should not allow creating of delivery while delivery block is in place.
    please try these scenarios and post your feedback.
    regards.
    jy

  • Change rounded quantity (VBEP-CMENG) in Sales order with FM

    Hello,
    In an ABAP program I want to change the rounded quantity of a scheduleline in a sales order using a function module. However with BAPI_SALES_ORDER_CHANGE or SD_SALESDOCUMENT_CHANGE in the input tables for schedulelines however the field for adjusting rounded quantity is not avalable.
    Is there anybody who knows another solution to update the rounded quantity. Note i want to avoid to do a call transaction.... ))
    TNX

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

Maybe you are looking for

  • Cannot print from Canon MF4412 through USB port of Time Capsule

    Hi everyone, I've recently purchased a new Canon imageCLASS MF4412 and cannot print while connected to the USB port of the time capsule. I can print and scan perfectly when connected directly to the mac. This is the exact steps I took: 1.After connec

  • Output of Reports in PDF

    Hi Gurus, My requirement is when running reports is run in 6i by default the output is shown in reports previewer. Instead of this i want to show this as a PDF output as a default what should be done to achieve this. Please let me know. Now, When i s

  • User Exit or BADI For MRP Planning

    Dear all ,            I want to Control the MRP Planning ( MD01 ) only for Demand Orders.. Tell me any User exits / Badi for that Issue.. i checked in this enchancement M61X0001, this is correct or wrong ,,,, With Regards ,    GJ

  • Text got blurry HELP !!!!

    Help pls im new to AE and dont know what to do ab it . . .  when i start to type text becoming like this

  • IJCOClientService class missing in NWDS

    I imported some portal 5.0 projects by using the PAR-import of the SAP NetWeaver Developer Studio 2.0.9. After the import I had some classpath problems. Some I could fix, but I can't find the class com.sapportals.portal.prt.service.jco.IJCOClientServ