Sales Order quantity Must not exceed Purchase order quantity

Dear Experts,
My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter  more than Sales order quantity.
Ex : Sales Order 1234
        Material : AAAA
        Quantity : 100
while creating a Purchase order for Mat AAAA giving  reference of Sales order i.e 1234 and quantity 150 system must not allow user to enter more than sales order quantity . If user wants to create PO for 150 he must have to ammend the sales order from 100 to 150  is it possible.
Kindly do the needful
Regards
abhi

Dear Abhinav,
First of all, Purchase Order will get created with reference to Purchase requisition (T. Code: VOV7 --> Item Cat.: TAS --> Tab: Transaction Flow --> Field: Automatic PO Creation), and not with reference to Sales Order.
This is Purchase requisition, which gets created with reference to Sales Order; based upon settings in:
T. Code: VOV6 --> Schd. Line Cat.: CS
Order Type            NB    Purchase Requisition
Item Category         5     Third-party
Acct Assgt Cat.       X     All aux.acct.assgts.
Now, coming to your requirement (based up on my inputs),
My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
To Restrict Purchase requisition quantity in PO, then in T. Code: OMCQ
Or, Path: SPRO > img > MM > Purchasing > Environment Data > Define Attributes of System Messages
Here make following messages as Error;
06 076 Materials of requisition & item & alr. ordered in full
06 254 Order quantity greater than requisition quantity
Now,  in Purchase Requisition, if it is created for 100 qty (with ref. to Sales Order) and if you adopt the same in Purchase Order and try to change the qty to 150, then system will not allow you change and throws the error.
Best Regards,
Amit

Similar Messages

  • 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

  • Delivery quantity should not exceed order or confirm quantity

    Dear Friends,
    How to handle a below scenario,
    Sales order is for 100 Tons.Partial delivery is allowed.
    Now delivery quantity should be equal to 100 Tons.Delivery quantity should not exceed order quantity.
    I mean delivery quantity must be equal to order quantity.
    Thanks in advance.
    Regards,
    Shrikant

    Dear Ram/Ramnath,
    I have maintained the B for Check Overdelivery.Transaction code used is 0vlp.Item catg is TAN
    Check Quantity 0 is A
    Check Minimum Quantity is A
    Now I ahve created a Sales Order for 10 Tons.
    Created two delivery notes of 4 tons and 8 tons respectively.
    While creating second delivery for 8 tons I do not get any error message.
    Transaction code VOV7.Here completion rule is blank as it is relevant for Quotation and contracts.
    Is there anything need to do?
    Thanks in advance.
    Regards,
    Shrikant

  • Good receipt exceed purchase order quantity

    Hello all, I am trying to do a good receipt that exceed purchase order quantity but I have an error message that I can´t do it.
    I configure tolerance limits B1, B2 and VP but it doesn´t work.
    I only can do a good receipt that exceed purchase order if I put tolerance limits in the PO Delivery tab
    Is there another way?
    Thanks in advance
    Rosa Rodríguez

    Hi Rosa,
    You can see the SAP Note 24312 - Inventory management - system message M7022 - Release Indep.
    As stated in it:
    "During the goods receipt with reference to the purchase order or the production order, overdeliveries are only allowed if this was determined in the purchase order or order (indicator "Unlimited" or definition of the "overdelivery tolerance"). If this is exceeded, the system will always display an error message.
    The corresponding system message was hard-coded as error message in the program. In these cases, the Customizing settings have no effect."
    Also see the SAP Library:
    http://help.sap.com/
    SAP ERP Central Component
    -> Logistics
       -> Materials Management (MM)
          -> Inventory Management (MM-IM)
             -> Inventory Management and Physical Inventory (MM-IM)
                -> Goods Receipt
                   -> Goods Receipts for Purchase Orders
                      -> Underdeliveries, Overdeliveries, and Final
                         Deliveries
    "Overdeliveries:
    In the standard, overdeliveries are not allowed. In the event of an overdelivery, the system issues an ERROR message.
    If overdeliveries are to be allowed, you can specify the following data in the purchase order:
    .- Unlimited indicator:
    If this indicator is set, overdeliveries of any size are allowed. The system does not issue any message.
    .- Overdelivery tolerance:
    You can enter a percentage overdelivery tolerance in the purchase order.
    If a quantity of goods received is larger than the order quantity plus the overdelivery tolerance, it is not accepted by the SAP system."
    So you can only overdeliver the quantity ordered by setting the "unlimited" (EKPO-UEBTK) indicator or by defining Overdelivery tolerances at the Purchase order item level.
    It is not allowed either to receive more than the quantity ordered plus the overdelivery tolerance.
    The system forbids overdeliveries by hardcoding the message as error in the system.
    As already stated by the note 24312 the customizing settings do not have any effect.
    I hope this helps you.
    Best regards,
    Esther.

  • Delivery quantity should not exceed order quantity

    Hi,
    in delivery delivery quantity should not exceed order quantity what should i do
    please let me now what should i do it is urgent
    Thanks in advance
    Srinivas

    Hi,
    You may consider an enhancement with a user exit:FORM USEREXIT_SAVE_DOCUMENT_PREPARE in include MV50AFZ1.
    Here you can put additional conditions to check the delivery qty and also can put a message for the user to correct the delivery qty in case he has manully increased it.
    Please reward points if this helps.
    Hemant

  • Could not create Purchase Order Stock Transfer Order

    Hi Expert!
    Need your help.
    User could not make Could not create Purchase Order Stock Transfer Order for new plant 1075 & 1076 at P05 with error message Not posible to determine shipping data for material. Our new vendor are 510022060 for new plant 1075 and 510022061 for new plant 1076.
    The problem was caused by the missing STO setup for these two plant 1075 and 1076, as no customer code being referred.
    Now i got the customer number for these two plants but how to set it up in configuration? Please guide me step by step.

    Hi Crystal,
    The following customising need to be carried out for Inter Company Stock Transfer.
    Path : sproMaterials ManagementPurchasing-Purchase OrderSet up Stock Transport Order
    Define Shipping Data for Plants :
    For the Supplying plant (1) the Sales Org data to be maintained.
    For the Receiving plant (2) the Customer No to be maintained.
    Create Checking Rule - U can use existing one Eg : B
    Define Checking Rule : Use Standard one Eg :01 linked to B.
    Assign Delivery Type and Checking Rule -- For the Supplying Plant (1) and document type NB use the delviery type NLCC and Checking Rule B.
    Assign Document Type, One-Step Procedure, Underdelivery Tolerance :
    For the supplying Plant (1) and Receving Plant (1) ; assign the document type : NB.
    Points to be noted :
    The Material should exists in both the plants ( 1 & 2 ) with the sales view maintained . Note that the Loading grp / Transporting Grp is mantaory in Sales Views.
    The Vendor is to be assigned to the supplying Plant (1 ) in Purchasing View of Vendor Master.
    For that click on Extras - Add Purchasing data in Purchasing view of Vendor Master (XK02 )
    Do maintain the customer in Control data of Vendor Master.
    Do maintain the Vendor in Control data of Customer Master.
    Also note that shipping conditions are maintained in the Customer Master . The same can be found in Sales Area - Shipping Tab.
    Shipping Point determination :
    SPROLogistics ExecutionShippingBasic Shipping FunctionsShipping Point and Goods Receiving Point Determination--Assign Shipping Points ( For a particular Shipping condition/ Loading Grp /Plant - the shipping point is assigned ).
    Regards
    Ramesh Ch

  • Header note of purchase order.

    hi friends,
    i want to print the header note of purchase order in
    script (which is developed)
    can anyone please tell me the solution
    how can we retrieve this using include object
    thanks & regards
    srinivas.

    Hi ,
    you can include as follows.
    1)go to text editor select insert command option after placing the cursor where you need to insert the text.
    2)Select command button.
    3)in that type as follows.
    /: include &ekko-eblen& object 'EKKO' id 'F01' language 'EN' Paragraph ....
    or type as follows.
    /: include &ekko-eblen& object 'EKKO' id 'F01' language 'EN' Paragraph ....
    Thanks,
    Nethaji.

  • How can I create a sales order with reference to a purchase order?

    How can I create a sales order with reference to a purchase order?
    Thanks in advance...

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

  • Central Sales Tax Amount with respect to Purchase Orders

    Is there any way to get Central Sales Tax amount with respect to Purchase Order Numbers. I need this for report.
    Pls get me table numbers from which i can extract

    Hi,
    Refer report J1I2 - Sales Tax Register
    Here in the selection screen, enter Tax code, CST Condition type, etc...
    Also refer report S_ALR_87012357 - Advance Return for Tax on Sales/Purchases

  • Order Reason ABC not defined for Order Type Retrun order

    Hi
    I am getting following " Message no. V1 899 " when i am  doing return order without refernce .
    Order reason is defined in customization but still we are getting the following message " Message no. V1 899 " /Order Reason E18 not defined for Order Type ZEF9.
    Can any one help me
    regards,
    kiran

    Hi Kiran
    As you have created sales order with document type ZEF9 but you have not taken any reference document then go to VOV8 and select ZEF9 and maintain  the order reason feild and then do the process
    Regards
    Srinath

  • Deleting AR Order line after copying to Purchase order

    Hello,
    It seems to be that after transfering a orderline in a Sale order and activating a direct purchase order of that line, it is possible to delete the orderline. Is there a way to avoid this, because otherwise a item is delivered by the supplier that the customer has revoked in his order.
    Thanks,
    Freek

    Hi
    I think wha you are looking is
    When You create a PO based on SO , the item is allocated for particular SO and you expect The link is there all the way to A/R invoice .
    However SAP by default donot have that function by default . Even though it creates a link by base ref but it doesn't allocate that item  for particular SO . So you can do anything you want in AR or AP side even though that PO is based on SO.
    Thank you
    Bishal

  • GR Quantity should not exceed PO Quantity

    Hi All,
         Our client requirement is GR Quantity should not exceed PO Quantity. But when I checked the Purchasing Value Key, Under Delivery Tolerance and Over Delivery Tolerance was given as 10%. So I have removed it from Over Delivery Tol and gave Blank. So in material master it got updated.
        But while creating a PO, in Delivery Tab, Over Delivery Tolerance by default is coming as 10%. How to remove this? They need it to be blank while raising a PO.
    Please suggest.
    Regards,
    Rosh

    Hi
    Check the inforecord for the same (combination of material, vendor, plant).
    And make the purchasing value key in inforecord as blank.
    regards
    prasanna

  • Total length must not exceed 65535 bytes

    We're doing an upgrade project to 6.0 with Unicode. When I try to reactivate certain classes, I get the following error:
    Unable to generate ZCL_ISU_EWB===================CP
    Error message from generation:
    The instance data in class ZCL_ISU_EWB has a total length of 272456 bytes. However, the total length must not exceed 65535 bytes (any necessary alignment is included in the total length).
    Any idea how to solve this?

    Hello Filip Camerman  ,
                                       Please go to 
    Method - > check -> class generation limits . 
    There would be generation limits and the corresponding traffic lights . Please check it and the subsequent remedy given for it .If problem persists please post back .
    Comradely,
    K.Sibi

  • DTW : How to Create goods receipt with quantity exceeding purchase order ?

    Hello DTW Experts,
    is there any way to deliver or receive an quantity exceeding the quantiy of the purchase order using DTW, or the only way is to create additional order (create a goods receipt is based on a purchase order).
    When i try the system gives me these 2 different messages :
    1 - One of the base documents has already been closed  PDN1.BaseEntry[line: 1]Erreur définie par l'application ou par ...
    2 - One of the base documents has already been closed Erreur définie par l'application ou par l'objetoPurchaseDeliveryNotes
    Thanks,
    Hafid

    The best way is to draw the purchse order through then add an additional line to the Goods Receipt for the additional quantity. This will close the PO properly, but record the additional quantity

  • Sales Order Item to create a Purchase Order

    Hi,
    Iu2019m not SD consultant but I would like to create a sales order and originate a PO for that sales order item.
    Which item category should I select and after that I just have to create the PO, the cost of this PO are also allocated to this sales order correrct?
    Thanks,
    Bo 75.

    Hi,
    Assuming all the basic settings are configured
    Step1: Run T Code VA01 and input the u201Cdocument typeu201D as OR along with your sales area. Then enter your business partner number along with the material number and quantity. Save the order.
    Step2: T Code VA03 input the order number which you have created. Select the line item and (menu bar) Goto u2013 Items u2013 Schedule lines. You will find the u201Cpurchase requisitionu201D for that item just copy the number.
    Note: If you unable to see the u201Cpurchase requ201D in the sales order then make sure you need to change the Item category group of a material in MM02 as BANC in Sales: sales org 2 tab.
    Step3: Run T Code ME21N under the item paste the u201Cpurchase requisitionu201D number generated at sales order level and hit enter that will automatically give all the details, save. You can save the Purchase order.
    This scenario will only help to create purchase order until I know why you want to create a purchase order I canu2019t proceed further.

Maybe you are looking for

  • How to do a manual uninstall of Adobe Acrobat 9 Pro (9.4.4) on my Mac?

    Hi Adobe Acrobat experts, Can someone walk me through the steps I need to take in order to perform a manual uninstall of Adobe Acrobat 9 Pro on my mac? I just got Adobe Acrobat 11 on my mac and don't want to accidentally uninstall that in the process

  • How to hide custom subscreen

    Hi, I need to hide the custom subscreen in a standard transaction depending on the document type created. How can I achieve this? Thanks in advance.

  • Can we install OBIEE 10G and 11G on Same Machine

    Hi Experts, I want to install OBIEE 11 G on the same machine(Windows) which already have OBIEE 10.1.3.4. So is it possible. I dont want to upgrade at this stage. Thanks

  • Clean install and iPhone

    I'm convinced that I need to do a clean install of Leopard (I did Archive and Install, but I haven't done a clean install since Panther, and I just want to start fresh). How will this affect my iPhone? When I'm done with the clean install will my iPh

  • Logic express to mp3

    Once you record something in LE9 how to you export to itunes or to an mp3? I have searched and read the manual. Thanks for any help.