How toset maximum order qty in sales order

Dear Gurus,
                 how to set maximum order qty in sales order level ,  my target qty is 100000 nos,  against this i will do billing  , when it reaches 100000 nos , system should not allow to create outbound or billing , how to achive this.
regards
rajakarthik

That depends on the control you set in Item Caterogy KMN.
You have following options in Completion Rule:
A - Item is completed with the first reference
B - Item is completed after full quantity has been referenced
C - Item is completed after the target qty is fully referenced
D - Item is referenced via contract release
E - Item is completed after full target value is referenced
So if you set "C" in Completion Rule in Item Category, system will not allow to create Sales Order after the Target Quantity is fully used.
Hope this helps..
Thanks,
Jignesh Mehta

Similar Messages

  • Itu2019s showing confirmed qty more that order qty in sales order

    Dear Guru's
    I am working on production server issue; the issue is delivery has been created more that sales order qty.  When I am seeing sales Oder schedule lines itu2019s showing confirmed qty more that order qty in sales order what could be the reason can any help me on this.
    Regards
    DNR

    Hi DNR,
    first up, appreciate if you can use your real name instead of DNR , I'd love to see your actual name.
    Coming to the question, a deliery can be created more than the ordered quantity. And if you pick whats delivered - that can show as confirmed too..
    Standard SAP just throws a warning indicating this over delivery. And incase you want to prevent this happening - you can trigger an user exit to change this warning to error.
    Config is also possbile if you have setup your cust mat info record or sales order to check over delivery and set the item cateogry for delivery. You can go to t.code 0VLP( Zero VLP) select Over Delivery -  'B' for delivery item category.
    Regards
    Sadhu Kishore

  • Update Order Qty of sales order

    Hi All,
    How can I update a sales order quantity for a particular item? I know BAPI BAPI_SALESORDER_CHANGE will change that Qty but it will change schedule line Order quantity  which will reflect Order Qty on Sales tab of Overview screen that I don't want. I want Order qty to be updated on line item level.

    What?  We had 20, and we had schedule to deliver 20.  Now we have a order for 30, but we're STILL only going to deliver 20?

  • Ordered Qty in Sales order exit USEREXIT_CHECK_VBAP is not working

    Hi All,
      In a requirement, I changed the ordered quantity in a Sales order in the exit USEREXIT_CHECK_VBAP to a desired quantity.For eg: Some one has entered a quantity 5 and pressed enter, my program logic in that exit changed that quantity to 10, after saving it get reflected in VBAP-KWMENG as 10, uptill this it fine.
      Now the problem is when I want to see the same saved Sales Order through VA02 its show me the previously entered qty as 5 not 10.
      Kindly let me know if there is anything am missing.
      Kindly help me out.
    Thanks
    Bhagat

    write your code in the below
          FORM USEREXIT_SAVE_DOCUMENT_PREPARE                           *     
          This userexit can be used for changes or checks, before a     *     
    FORM userexit_save_document_prepare.                                        
    ENDFORM.                    "USEREXIT_SAVE_DOCUMENT_PREPARE

  • Minimum Order qty in sales order

    I know that I can setup in the master data the min and max qty on Sales Org 1 view which then triggers a message if the qty is outside the band.
    This is then for all orders for that material, but I need it to restrict per customer (different min/max per customer).
    Any suggestion other than user exit and check against a table that would hold this per customer?

    Go to VD52, input the customer code and material for which you want this control and execute.  Again block the material code and click on blue lens on top.
    You can now see two fields
    -  Underdel. Tolerance
    -  Overdeliv. Tolerance
    Maintain the required tolerance so that it will be applicable only for that customer.
    thanks
    G. Lakshmipathi

  • 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

  • How will i configure third party sales order

    pls tell me how will i configure for third party sales order

    dear,
    prasanta,
                  the configuration of third party sales order is given below
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and, therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing *-- Seema Dhar
    SD - 3rd party sales order Create Sales Order
    VA01
    Order Type
    Sales org, distr chnl, div
    Enter
    Sold to
    PO #
    Material
    Quantity
    Enter
    Save
    SD - 3rd party sales order View the PR that is created with a third party sales order
    VA01
    Order Number
    Goto Item Overview
    Item ->Schedule Item
    SD - 3rd party sales order View the PR that is created
    ME52N
    Key in the PR number
    Save
    SD - 3rd party sales order Assign the PR to the vendor and create PO
    ME57
    Key in the PR number
    Toggle the "Assigned Purchase Requisition"
    Execute
    Check the box next to the material
    Assign Automatically button
    Click on "Assignments" button
    Click on "Process assignment"
    The "Process Assignment Create PO" box , enter
    Drag the PR and drop in the shopping basket
    Save
    SD - 3rd party sales order Receive Goods
    MIGO_GR
    PO Number
    DN Number
    Batch tab , click on classification
    Serial Numbers tab
    Date of Production
    Flag Item OK
    Check, just in case
    Post
    Save
    SD - 3rd party sales order Create Invoice
    MIRO
    Invoice Date
    Look for the PO , state the vendor and the Material
    Check the box
    Clilck on "Copy"
    Purchase Order Number (bottom half of the screen)
    Amount
    State the baseline date
    Simulate & Post
    Invoice Number
    *Invoice blocked due to date variance
    SD - 3rd party sales order Create a delivery order
    VL01N
    In the order screen , go to the menu Sales Document , select "Deliver"
    Go to "picking" tab
    State the qty and save
    SD - 3rd party sales order Create a billing document
    VF01
    Ensure that the delivery document is correct in the
    Enter
    Go to edit -> Log
    Save
    in third-party order processing, your company does not deliver the items requested by a customer. Instead, you pass the order along to a third-party vendor who then ships the goods directly to the customer and bills you. A sales order may consist partly or wholly of third-party items. Occasionally, you may need to let a vendor deliver items you would normally deliver yourself.
    Process Flow
    the processing of third-party orders is controlled via material types. Material types define whether a material is produced only internally can be ordered only from third-party vendors, or whether both are possible. For example, a material that is defined as a trading good can only be ordered from a third-party vendor. However, if you manufacture your own finished products, you may also want, from time to time, to be able to order the same type of product from other vendors.
    Processing Third-Party Orders in Sales
    Third-party items can be created automatically by the system, depending on how your system is set. However, you can also change a standard item to a third-party item during sales processing manually.
    Automatic third-party order processing:-
    if a material is always delivered from one or more third-party vendors, you can specify in the material master that the material is a third-party item. During subsequent sales order processing, the system automatically determines the appropriate item category for a third-party item: TAS. To specify a material as a third-party item, enter BANS in the Item category group field in the Sales 2 screen of the material master record.
    Manual third-party order processing
    In the case of a material that you normally deliver yourself but occasionally need to order from a third-party vendor, you can overwrite the item category during sales order processing. For a material that you normally deliver yourself, you specify the item category group NORM in the material master.
    If, as an exception, you use a third-party material, change the entry TAN to TAS in the ItCa field when processing the sales document. The item is then processed as third-party item.
    If address data for the ship-to party is changed in the sales order in third-party business transactions, the changed data will automatically be passed on to purchase requisition and also to the purchase order ,if one already exists. In the purchase order, you can display the address data for the ship-to party in the attributes for the item.
    You can only change the address data for the ship-to party in the sales order for third-party business transactions, and not in the purchase order.
    Processing Third-Party Orders in Purchasing
    when you save a sales order that contains one or more third-party items, the system automatically creates a purchase requisition in Purchasing. Each third-party item in a sales order automatically generates a corresponding purchase requisition item. During creation of the requisition, the system automatically determines a vendor for each requisition item. If a sales order item has more than one schedule line, the system creates a purchase requisition item for each schedule line.
    Purchase orders are created from purchase requisitions in the usual way. For more information about creating purchase orders, see the Purchasing documentation. During creation of the purchase order, the system automatically copies the delivery address of your customer from the corresponding sales order. In a sales order, you can enter purchase order texts for each third-party item. When you create the corresponding purchase order, the texts are automatically copied into the purchase order. The number of the purchase order appears in the document flow information of the sales order.
    All changes made in the purchase order are automatically made in the sales order as well. For example, if the vendor confirms quantities and delivery dates different from those you request and enters them in the purchase order, the revised data is automatically copied into the sales order
    you process third-party items by creating a normal sales order. In overview for the order, you can then overwrite the default item category (TAN in the standard system) with the special item category for third-party items: TAS
    Billing Third-Party Orders
    If relevance for billing indicator for the item category has been set to B (relevant for order-related billing on the basis of the order quantity) in Customizing, the system includes the order in the billing due list immediately. If, however, the indicator has been set to F (relevant to order-related billing on the basis of the invoice quantity), the system does not include the order in the billing due list until an invoice from the vendor has been received and processed by the purchasing department. In the standard system, item category TAS (third-party order processing) has been given billing-relevance indicator F.
    In the first case, the third-party order is considered to be completely billed only when the invoiced quantity equals the order quantity of the sales order item. In the second case, each time a vendor invoice is received, a customer invoice is created for the quantity in the vendor invoice and the order is considered to be fully invoiced until the next vendor invoice is received.
    If you have activated billing-relevance indicator F for item categories in Customizing, billing can refer to the goods receipt quantity instead of the incoming invoice quantity.
    You can control whether the invoice receipt quantity or the quantity of goods received is relevant for billing in Customizing for copying control for billing at item level.
    FOR YOUR PROCESS Individual Purchase Orders WELL GIVE THE RIGHT SOLUTION
    Individual purchase orders are used when your customer orders goods from you that are not in stock and must be ordered from one or more external vendors.
    Process Flow
    During sales order entry, the system automatically creates a purchase requisition item. The purchasing department creates a purchase order based on the requisition and the vendor ships the goods directly to you (unlike third party order processing, where the vendor ships directly to your customer). You then ship the goods to your customer. While the goods are part of your inventory, you manage them as part of the sales order stock. Sales order stock consists of stock that is assigned to specific sales orders and cannot be used for other purposes.
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    Prerequisites for 3rd party sales,
    Purchasing org,
    purchasing group,
    assign the Purchase org to company code
    assign Purchase org to plant,
    should not maintain the stock in material, it should be trading goods,
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and, therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing *--
    i think it will fulfill your requirement if so plz reward point.
    ambarish

  • Change Confirmed qty. in sales order

    Dear SAP gurus,
                             After creation of sales order i want to change confirmed qty. in sales order how it can be done ??
    Please help,
    Regards,
    Amit Patil

    Hi,
    You can use transaction CO06 to change commitments manually.

  • How to update  pricing in open sale order

    Hi all
    in open sale order suppose my basic price has been changed .how Can i update all open sales order basic price in one shot.

    Dear Sachin,
    Please follow the point as given below;
    1. In VTFL for your item category maintain pricing type as B if it is delivery related billing and if it is order related billing VTFA maintain pricing type as B and one more thing maintained Billing Quantity as C if you using VTFA and Billing Quantity as D if you using VTFL.
    2. Create the new condition records in VK11 for your new price ( Do not change the existing  condition record in VK12) with proper validity dates
    3. Use update button in billing the system will pick the new record by accessing VK11 in billing.
    Try this, it will work.
    Regards,
    Bharat B

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to get Changed fields in Sales order to create a report

    Dear Gurus,
    How to get the log from sales order for the change of particular field.
    In my scenario, If an user remove the delivery block from sales order I want to capture the date on which this delivery block
    is removed and by whom (User)?
    I know that I can get the log of change but can I get in the form of field updates because further I want to use that date and user name to create a report.
    I hope u got my query. Please reply soon that I can create a report.
    Thanks in advance.
    regards,
    Sanjay

    Hi
    You can use the table CDPOS for tracking the changes at the Table level with the Sales order number
    or Else you can also use AUT10 transaction to track the logs/chanages with START DATE, END DATE and the Transaction code in your case it is VA02
    Please check and revert back
    regards,
    santosh

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • How to transfer cost from old sales order (cancelled) to new sales order

    Hi Gurus
    I want to know, how to move cost from one sales order to another sales order.
    SD created sales order before 1 month and there was production order behind this. Production was completed and all the cost was moved to sales order and also SD has raised invoice on customer. This transaction was completed.
    The above order was rejected by customer due to some changes in the order. SD raised another sales order and production order was created to to additional work. Production transfered above stock (produce before on old production order) to new production order.
    My problem is stock is now transfered to new production order but cost is still sitting on old sales order. How do I transfer cost from old sales order to new sales order. SD cancelled old invoice and raised new one with full value (old + new work) on new sales order. Now cost is on old sales order and revenue is on new sales order.
    Please help.
    Thanks

    Hi
    I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
    The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
    Many thanks

  • MTO - how to prevent a second planned order for a sales order?

    Dear friends,
    We are working on Make to Order process (Planning strategy group 20).
    No Production/process order is used
    Shop floor uses a different system --> details from planned order is passed to the shop floor system; and finished product is delivered/posted into SAP Sales order stock - through interfaces
    No QM in place
    A typical day-to-day scenario –
    Sales order Qty = 100
    MRP Run à Planned order qty = 100
    Raw materials posted to ‘Sales order stock’
    Planned order is firmed
    For example if Produced qty = 90
    sales order stock of the finished product = 90
    Balance 10 cannot be produced / delivered for various reasons
    Planner posts the raw material to cost center / rejections / own stock etc., and ensures that the ‘sales order stock’ of the raw materials are zero.
    Planner deletes the planned order
    Next MRP run triggers a new planned order for the balance qty 10
    Now, the requirement is to prevent the new planned order getting generated for the balance quantity, during the subsequent MRP run (despite the shortage in the Sales order stock of the finished product).
    The following options have been evaluated –
    Once the final good receipt is done & before deleting the planned order,
    o       Change the Sales order quantity to match the total produced quantity
    o       (or) Change the schedule line category for the Sales order item from CP to CN
    §         Since the Sales order and planned order are handled by different teams, considering the frequency of correspondence/coordination needed between these two teams to get the sales order items corrected, this idea is not accepted
    §         Additional authorization for the planner to change the sales order item is not acceptable
    Include Under delivery / Unlimited tolerances
    o       at the customer (master) level
    o       (or) Sales order level…
    §         In this case, System seems to consider the tolerances only when the  delivery for the Sales order is posted; and not when the sales order stock is received within the tolerance limits;
    §         Considering the time gap between the GR and Delivery of the finished product, this option is not accepted
    Kindly suggest the other options / settings / processes, to meet this requirement
    Thank you for your time and efforts.
    With Best Regards,
    Senthil

    Closing this thread
    Thanks
    Senthil

Maybe you are looking for

  • How can I make local calls without using a country code when it's in my Contacts?

    The phone numbers in my Contacts all contain country codes because I do a lot of travelling. An example of this might be: +1 (229) 123-4567 +44 (0)12 345 6789 +31 (0)10 2345 6789 I have an unlocked phone so when I travel, I usually pick up a local SI

  • ViewRowImpl.writeXML: not to omit null values

    Hi. I want to use writeXML method in ViewRowImpl to get current row's data in XML format. Here is a snippet of my code         Node rootNode = myViewRowImpl.writeXML(1, XMLInterface.XML_OPT_ALL_ROWS);         StringWriter sw = new StringWriter();    

  • Why is the sound disappearing when I send a video?

    I have an iPhone 5C.  When I record a video and send it, the sound disappears!  I can hear it just fine when I play the video back on my phone, but if I send the video to someone, they can't hear it.  Why is this happening?  I tested it by sending it

  • Media Center Z556 w/ no tv

    My "new" Z556 keeps looking for digital signals when I try to set up the guide and TV channels. I have tried without success to override this procedure manually.  I cannot find how to input my local signals.  Any ideas ??

  • After Effects CS5.5 does not render any type of file, corrupted message.

    Hey guys, About 2 days ago I was working on my file as usual (with no changes whatsoever to my software or hardware) and After Effects suddenly refuses to render my video and does not even go past one single frame, it will not render movies, image se