Sales order quantity confirmation issue

Hi,
I am using Global ATP to confirm the sales order quantities.
Example:
1. T.code va01 sales order for 10 PC and 5 PC are confirmed
2. T.code va02 change the 10 PC for any value (8 or 12) and 0 is confirmed. The 5 pieces that were confirmed are lost.
Any idea what is wrong?
Thanks a lot.

Hi Chaitanya,
As you have rightly identified the problem also, that the material is not getting unloacked for the subsequent Sales Orders, you can try the following options:
1. In 'BAPI_TRANSACTION_COMMIT', use the WAIT parameter.
2. Call the Function 'DEQUEUE_E_MATNR_LOCK' after 'BAPI_TRANSACTION_COMMIT'.
Regards,
Pranav.

Similar Messages

  • Sales Order Qty Confirmation Issue

    Hi
    I have created the order form my material with quantity of 10 units. The total unrestricted stock available for the material is only 5 units.
    When I look at the schedule lines, the total order qty is confirmed even though the short of 5 unit of stock. 
    I was confused here.  By right, the order should only confirm the 5 unit with respect the stock availability. But I don’t understand why system has
    Confirmed the 10 units completely. 
    If my understanding is correct, the sales order has to confirm the sales order based on the stock. In later stage, once the stock is up, we need create the
    Schedule line for the remaining qty by re-do the availability check function.  
    Could you please someone correct me on this order confirmation logic !!
    Regards
    Priyan

    Hi SS
    Order is a normal (Type: OR) Trade order. And there is no consignment stock maintained for this material. 
    In MMBE, I can see only unrestricted stock exist for this material. 
    Please confirm whether my material setup is correct. 
    It is usual vanilla setup. 
    My doubt is that how come the order item has been confirmed with excess qty and system allows us to create the delivery as well.
    Firstly, on what basis the order full qty has confirmed. 
    Please advice.
    Regards
    Priyan

  • 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

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

  • Order Qty Confirmation Issue

    I am facing an Issue  as below and hence seek your views
    For a Sales order, the confirmation of schedule lines is as below:
    AS it is visible, the Qty of 3 pc was scheduled to be confirmed later. The confirmation is 3 units short even though the order was processed before other orders which have been fully allocated. .
    The Availability Check in Material Master is
    The OVZ2 screenshot for the above Availability check is
    Please help and suggest for what can be the probable cause. Has it got anything to do with the fact that the original order qty was not a carton quantity, ie, divisible by 6.

    Hi SS
    Order is a normal (Type: OR) Trade order. And there is no consignment stock maintained for this material. 
    In MMBE, I can see only unrestricted stock exist for this material. 
    Please confirm whether my material setup is correct. 
    It is usual vanilla setup. 
    My doubt is that how come the order item has been confirmed with excess qty and system allows us to create the delivery as well.
    Firstly, on what basis the order full qty has confirmed. 
    Please advice.
    Regards
    Priyan

  • 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

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

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

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

Maybe you are looking for

  • Error in MAIN_NEWBAS/STARTSAP_NBAS Upgrade EHP1

    Hi We have errors in this downtime phase of our BI upgrade. It looks like the KERNEL hasn't updated correctly ? When I run R3INLPGM the environment variables do not show. The SCS 00 instance started o.k. and Instance 01 is partially up with DISPATCHE

  • How do you use a logic function to see if text is there?

    I have a column of Dates, and a column of Categories. I want to Numbers to be able to tell me whether a certain Category, in this case "Phone", appears in the Category column during the month of February. While playing with the IF and AND functions,

  • Yellow status loading to psa

    hi in source i have 14 records, i am trying to load psa in BI. its shwoing 14-14 but still status is yellow only past 1 hr? please let me know once i deleted and loading again, still same problem,

  • Curious TYPE_FORWARD_ONLY error while using INSENSITIVE

    i have the following code: Statement stmt = con.createStatement( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = stmt.executeQuery(strMyString ); rs.first(); yet i STILL get the TYPE_FORWARD_ONLY error: javax.servlet.Se

  • Need help regarding form validation

    Hi all, I have particular doubt regarding form validation. I have a form based on a table. ( One data block ) . I have a function in program unit which return boolean value based on some conditions. I will be calling this function in block validate t