Sales Order quantity

Hi,
I've created a sales order with decimal quantity, system allows this although i didnt maintain multuple UOM or I didnt assign any rounding profiles in Material Master. SAP should not allow decimal quantity in sales order.  SAP should allow only Base UOM or Sales UOM.
Please help.
Regards,
Pooja

Dear Friend,
You can use the Minimum Order Quantity Feild in Material Master.
In MM01 / MM02 / MM03 under Sales: Sales Org 1 View there is a field for Minumum Order Quantity (under Quantity Stipulations tab)
You can enter 1 here.
This will make sure that the end-users cannot enter quantity less than 1.
Also for quantities more than 1 there is a option for Rounding Profile in the same screen. You can also use the same...
Hope this helps...
Thanks,
Jignesh Mehta

Similar Messages

  • Open sale order quantity in VA05

    hi all,
    can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
    regards.

    First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
    The table VBUP has flags for statuses eg
    A     Not yet processed
    B     Partially processed
    C     Completely processed
    A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
    Tcode V.02 gives u this option.

  • Open Sales Order quantity & value

    Hi,
    We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
    I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
    If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
    Thanks,
    Vikram.

    Hi Vikram,
    Find the link, which solves u r requirement
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
    Thanks & Regards
    Ramakrishna Kamurthy

  • SALE ORDER QUANTITY LESS THAN DELIVERY QUANTITY ? NO CECK IN SAP ??

    Hello friends,
            I created a sales order of quantity  10 , having two material codes each having quantity 4 and 6 . i created delivery for the one by putting delivered quantity 4 and save , then i created delivery for second and put delivered quantity 8 which was greater than the sale order quantity left ,system saved the delivery and didn't popped any error message.  
                                     Does SAP have options to over come this mistake by end users.
    regards

    Dear Joshi,
                      Please get in touch with your abap er as there user exits which can be written to avoid this situation.
                      Let me explain you further one more situation.
    First one, Your query is if for  item A ord qty is 6 the system saved the delivery with 8 qty which is greater than ordered quantity.  I know the gives a warning doing this.
    Second Situation :
    Say item A ordered qty is 5, and i made a delivery for 3 and saved it. Now the open quantity on the order is only 2. (5 -3 =2).  But one of our users reduced the ordered quantity to 2 despite saving a delivery with quantity 3.
    so the situation is ord qty is 2 and delivered is 3 qty. which is again wrong. But while reducing the ordered quantity less than the delivered quantity the system gives a warning message telling "  ORDERED QUANTITY IS LESS THAN DELIVERED QUANTITY ".
    Also just imagine we made delivery for qty 5 and invoiced it.After which you reduced the delivered quantity to say 3. So delivered is 3 but invoiced is 5.
    Hence for these kinds of practical problems we have addressed them through user exits with the help of our ABAP'ers by turning those warning messages into error messages by selecting the suitable message class.
    Hope the explanation helps you. And thanks for all your patient reading.
    Reward points if useful.
    Thanks & Regards
    Sadhu Kishore

  • Open Sales Order Quantity

    Hi,
    Does anyone know what table & field is the open sales order quantity stored?
    Thanks.

    Hi Marc,
    U can get the open order quantity like this.
    First go to VBFA table. Give sales order number, item and document category as J(for delivery) in the fields VBELV(Preceding sales and distribution document), POSNV(Preceding item of an SD document), VBTYP_N(Document category of subsequent document) respectively. If an entry exist then that means the order has subsequent document created(Delivery in this case). If not  then that order is open.
    if it is open order then u can get the quantity from
    VBAP-KWMENG.
    Here subsequent document to the order depends on customization of ur system. In general subsequent to order will be delivery. But there is a possibility to have other than delivery as subsequent to order. So contact ur functional for more inputs on this.
    Thanks,
    Vinod.

  • Tracking the actual sale order quantity

    Hi Friends,
    How to track the actual sales order quantity given by the customer.
    Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
    How to find out the difference of 10 units as a report in standard sap system.
    Thanks
    AJ

    Dear AJ,
    This is how normal sales process works.
    You create Sales Order line item for the quantity that customer has requested. (eg: 100)
    Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
    Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
    Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
    So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
    Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
    Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
    Coming back to your issue.
    Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
    Only way you can find your original sales order quantity is in the Line Item / Change Log.
    This can be view by selecting below Menu option.
    Environment -> Changes
    If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you  can see the old value & new value. (In this example 100 & 90)
    But that is not a good practice to do as changes will show all quantity changes that you might do based on  customer request. (Imagine if you customer ask to change it later to 95 not 100).
    In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
    Hope this is helpful to you !

  • Sales order quantity billed instead of delivered quantities?

    Hello.  I am having an issue with billing delivered quantities.  This is the scenario:
    3rd party, non stock materials, are assigned to a network activity in cj20n.  These items generate a PR which is then converted to a PO and goods receipt is posted to the network activity. A sales order is created and assigned to this wbs.  Delivery from project is then carried out in CNS0 and picking and goods issue is posted in vl02n.  If full quantity received to project is not issued out in vl02n, upon billing in vf01, the total sales order quantity is billed.  How do I alter my configuration such that only delivered quantities are billed?

    Hi
    Its seems that your sales order quantity billing issue has been solved.If it is solved then kindly share with us,how the problem has been solved.As there prices are not picking in the billing document, so please check the pricing type that has been maintained in the VTFL copy control.Secondly also check in VOV7 wheather item category is relevant for pricing has been maintained or not.
    You get the delivery document to determine prices from sales order to delivery through copy controls.
    NOTE:If the issue(Sales order quantity billed instead of delivered quantities) has been solved then kindly close the thread and  post your issue through new thread
    Regards
    Srinath

  • Sales order quantity in MD04

    Hi Gurus,
    This is my problem -
    51 links (Base UoM) = 2.5 feet (Sales & Production UoM)
    Delivery unit = 53 links
    In VA01 -> when I entered Sales order = 12 feet system automatically rounded it to 12.990 feet.
    I also received a pop up showing "Item 10 rounded to 265 lk. Rounding reasons 1,2,8 -> long text"
    In MD04 -> when I look at the Sales order quantity = 264.996 links.
    Ran MRP and the planned order quantity = 265 links
    There is a surplus inventory of  ------------> 0.0004 links
    Settings in CUNI: (due to business reasons - Links can NOT be in Decimals. Feet has to be in decimals)
    CUNI
    Decimal places
    Decimal rounding
    Link
    0
    0
    Feet
    3
    3
    Please help

    Thanks a lot Dave. You are the only guy who really understood my issue in the first place.
    And you asked all the right questions.
    Just for the sake of our discussion - I created a brand new material (material setup is same as production client). MRP settings- Proc type E, PD, EX, no rounding profiles, strategy 40, Collective.
    Material master sales view
    Rounding on Sales order
    MD04 before MRP run
    MD04 after MRP run
    MD04 in Feet
    Production order conversion
    Please let me know if you can not see these images.
    I really appreciate your help.
    Sorry for the delay in reply. I was travelling.
    Thanks

  • 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

  • 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

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Sales Order Quantity in Base unit of measure

    Hi All,
    I have a requirement in which I need Sales Order quantity in base uom. However, I noticed that 2lis_11_vatim doesn't extract this figure but instead has numerator and denominator in the extractor by which we would be able to calculate it. But, I am bit reluctant to do so as it might have an issue with rounding values.
    I know that there are some standard function modules in R/3 which do this conversion. Is there any such FMs in BW to do this conversion? If not, is there any other way to get the sales order quantity in base uom other than calculating it using numerator and denominator?
    Any help would be highly appreciated.
    Rgds,
    James.

    Hi Ajeet,
    Just to confirm, is this the formula you normally use?
    Quan * N/D
    Quan = Quantity to be converted
    N = Numerator
    D = Denominator
    Rgds,
    James.

  • 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,

  • Order recommendation must be extra than the sales order quantity

    Hi Expert,
                   My client is using the MRP wizard to generate the Purchase and Production order once a sales order comes from customer than MRP create the production order for parent item and purchase order for chilld items with required quantity but there is a possibility of rejection which comes to know at the end of production and to complete the quantity required some time.
                                                                                    Is there any possibility that MRP generate the recommendation 10%(for example) extra than the sales order quantity.So that it will full fill the rejected quantity at the end of production.
    Thanks

    Hi,
    MRP in B1 designed in a way that you don't need to enter many choices to select from.  To fulfill your goal, I think it is not that difficult because you could export recommended order and calculate the new total by a formula like New Qty = Recommend Qty * 1.1 in Excel and DTW the production orders using the calculated results.
    Thanks,
    Gordon

  • Rounding : User flexibility to edit the Sales Order quantity.

    Hello Gurus,
    We are on 6.0 and have the following requirements.
    1st requirement: To round the Sales Order Quantity to the Alt Unit of Measure (higher or lower). As a solution we could use the Rounding Profile.
    The problem is with 2nd requirement below.
    2nd business requirement: When the system rounds the Sales Order quantity to higher or lower, the user should have the flexibility to edit the Sales Order quantity and decide whether to permit rounding or not, as suggested by the system.
    Currently, with standard config, the system gives the message V1720 saying it has rounded the quantity with a reason. After the rounded quantity is suggested by the system, even if the user edits the Sales Order quantity, the system puts it back to the previously rounded quantity.
    SYSTEM REQUIREMENT : We would like to have the Rounding but we want the user to be able to edit the rounded quantity.
    REASON : Since the products are high value, we want the customer to feel comfortable with the rounded quantity.
    The users do not want to impose the rounded quantity compulsorily on the customer. If the customer is not comfortable with the rounded quantity, the customer should be givne the choice of a non-rounded quantity.
    IMPACT : In these difficult times, every Order is important. If we don't not give this choice to the customer, the customer might decide not to order at all. We do not want to lose the Order just because of the higher rounded quantity. But, at the same time, we would like to give the choice to the customer of the rounded quantity and his non-rounded quantity.
    PLEASE NOTE : In this situation, the Rounded quantity is slightly different from Minimum Order quantity. The Minimum Order quantity is not the solution.
    QUESTION : Is there any standard setting or is User Exit, BADI the only method ?
    Thanks in advance
    Srinivas

    Hi Prakash,
    Thanks for the reply. Actually these customers are created as a Agents and we are using these customers in Commission rebates. So at the time of Rebate partial credit memo, then these agents should be active otherwise system will give the error.
    So what i am thinking is, Standard sales order creation needs to be restricted so that users can not able to create standard order.
    So can you suggest is there any user exit can be used to prevent creation of standard order for these account group and order type xxx?
    Regards,
    SK

  • Restrict the Sales Order Quantity in Integer

    Hi All,
    our system need to restrict the Sales Order Quantity in having no decimal value.  
    We have got the OSS reply as:  
    "Unfortunately I regret to tell you that it is not possible to
    restrict the order quantity number to integer in standard system.
    The number of allowed decimals is defined in the system via SE12.
    In SE12, you can see that for VBAP-KWMENG, the number of allowed decimals is 3. I'm sorry but this is the standard system behavior."
    But we need to avoid programming. Can you anyone suggest any work around methods, like define rounding profile to do the restrictions.
    Regards,
    Simon

    Hello All,
    Thanks for the excellent answere.
    Please anybody can provide us the SAP OSS Note for the same as the reply received from SAP Support.
    We have got the OSS reply as:  
    "Unfortunately I regret to tell you that it is not possible to
    restrict the order quantity number to integer in standard system.
    The number of allowed decimals is defined in the system via SE12.
    In SE12, you can see that for VBAP-KWMENG, the number of allowed decimals is 3. I'm sorry but this is the standard system behavior."
    But we need to avoid programming. Can you anyone suggest any work around methods, like define rounding profile to do the restrictions.
    Regards,
    Farhan

Maybe you are looking for