Logic for Open Sales order qty

What should be the logic given to determine "open sales order qty" during designing a report.
Note the criterias are as under:
1) Open sales order qty is the confirmed qty less the delivery qty.
2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)

sorry it doesn't work for services, since they do not create requirements.
in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
hope  this help you.
Roberto

Similar Messages

  • FM For Open Sales Orders

    Can someone tell me if there is any FM to list out the Open and Closed Sales Orders as per indicator?
    Thanks,
    Archana.

    you can check this program.... SDEWUORD
    It contains the logic for open sales orders. you can check the routine FORM FILTER_OPEN_ORDERS in th above program it might be helpful for you.
    siri...
    check this fm also..........OPEN_ORDER_SALES

  • Va05 open sales order qty

    Hi,
    When we run the VA05 Transaction it is not showing the open sales order qty as out put.
    Please help me how can achieve it.
    we are using 4.7
    Thank you.

    Hello ,
    you'll find the documentation via customizing (Transaction SPRO) : Path
    Sales -> System modification -> create new fields ( without condition technique) -> New fields for lists.
    You can change V05TZZMO and structure VBMTVZ from there or use SE38 / SE11.
    For both you'll need an object registration in OSS.
    Regards Wolfgang

  • Transaction for Open Sales Orders

    Hi Experts
       can u let me know the Transaction for Open Sales Orders.
    Regards,
    kumar

    you can check the tcode
    VA05.
    vijay

  • New Report for Opens Sales order and P.O from Plant and S.Loc

    Dear Gurus
    We have repory requiement for Open sales order and P.O to deliver from particular plant and S.Loc.
    If you have already developed this kiond of report help me inthis case.
    Thanks
    ramki

    closed

  • Collective deliveries for open sales orders

    Is there any process or transaction code  for creating the collective Picking  for open sales orders.
            In my company we are not using the Warehouse management, so we pick the goods manually.
           If there is any way plzpost the answer.

    Check if VG01 helps you if you enter "K" as Group Type
    Cheers

  • Transaction code for Open sales order other than VA05

    Hi all,
    Can any one tell me what is transaction code for open sales order other than VA05.
    Please help me .
    Thanks & Regards ,
    Srikanth P.

    Hi Srikanth,
    You can try below options.
    1- VA05N - This can be run for multiple sold to party & multiple material, etc which was not in VA05. But this doesn't have all columns in VA05 report.
    2 - You can check the sales order tables from transaction SE11 or SE16N
    Try with below tables for your requirement.
    Sales order Header data - VBAK
    Sales order Item data - VBAP
    Schedule Line Data - VBEP
    Business data - VBKD
    Status header - VBUK
    Status items - VBUP
    Best regards,
    Anupa

  • Report for open sales order

    Dear all,
    I need to create a open sales order report. Could you please tell me from which table i can get open sales order. Its standard report is VA05 and also I checked in table VBBE. but all record which i get from VA05 are not visible in VBBE table. It means VBBE doesnt carry all pending open records.
    Please guide me from which table i can get it or what is the sriteria to get it?
    Thankyou very much in advance
    Punnet Sharma

    hi,
    my logic goes like this:
    Note: Open cursor is used since we are dealing with huge amnt of data:
    * Select orders based on their Delivery status
      SELECT  vbeln
      FROM vbuk INTO TABLE git_vbuk
          WHERE lfstk = 'A' OR lfstk = 'B' .
    * Filter selected orders
    * Selection using open cursor
      DATA: lwa_op_sal_ord1 TYPE gt_comtab.
      IF sy-subrc = 0.
        OPEN CURSOR c1 FOR
          SELECT vbap~matnr
          FROM vbap INNER JOIN vbak
          ON vbap~vbeln EQ vbak~vbeln
          FOR ALL entries IN git_vbuk
          WHERE vbap~vbeln = git_vbuk-vbeln AND
                vbak~vbtyp = 'C'.
        DO.
          CLEAR lwa_op_sal_ord1.
          FETCH NEXT CURSOR c1 INTO CORRESPONDING FIELDS OF lwa_op_sal_ord1.
          IF sy-subrc = 0.
            APPEND lwa_op_sal_ord1 TO li_op_sal_ord1.
          ELSE.
            CLOSE CURSOR c1.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
    here filter orders based on 'A' and 'B' from VBUK...
    then frm header table VBAK get order for vbtyp ='C'.
    now li_op_sal_ord1 will have open sales orders..
    Moreover as per ur query y do u need the item data frm VBAP as u are only concerned abt VBELN.
    If u need item u hv 2 run another select.
    regards,
    ags

  • Open Order Quantity for open sales orders

    Is there a standard SAP Report that gives the open order quantity for every open sales order.   "Open" is defined as any order quantity that has not shipped.  Delivery creation is not the same as shipment.   VA05 Report does not contain enough information to calculate the open order quantity for an ERP-based backlog report.

    Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05,  you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
    Hope it helps.
    Jorge Fernandez

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • IDOC Message type for open sales orders

    Hi
    We are trying to send the list of open sales orders of a customer in an IDOC to the customer. For example, if the customer has got 15 sales order to be delivered to him , he needs the details of all these 15 orders in an single IDOC
    Is there any message type available for this in SAP R/3 4.7 version
    Regards
    Anandh

    Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05,  you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
    Hope it helps.
    Jorge Fernandez

  • Report for Open Sales Orders

    Hi..
    my client want the report for all open sales orders in following manner :
    CUSTOMER NAME         ITEM 1      ITEM 2     ITEM 3  ITEM 4
    Customer 1                     23             45           54          76
    Customer 2                     10             20           30          50
    Customer 3                     40             10           30          10
    TOTAL                            73             75          114        136
    please let me know the sql query which i can put in crystal report to creat this report
    Regards
    Rakhi

    hI rAK
    HERE IS UR QUERY FOR OPENSALES ORDER  I THINK THIS WILL SOLVE UR PROB
    SELECT T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
    (T0.[GrosProfit]/(T0.[DocTotal]-T0.[GrosProfit])*100)'PROFIT%', T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
    INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode
    WHERE T0.[DocTotal]!= T0.[GrosProfit] and T0.[DocStatus] ='O'
    GROUP BY T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
    T0.[GrosProfit], T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
    REGARDS
    JENNY

  • MRP not considering open purchase orders when planning for open sales order

    Dear Experts,
        1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the current month.
    Please what do i need to do to make MRP consider my open purchase orders when the system is planning for the open sales orders.
    2 what tcode can I use to delete all purchase reuisitions in the sytem

    There was no response to these questions so i had to close it to make space for another

  • Item Status can be controlled for open Sales Order

    Hi All,
    Is there anyway we impose restriction on changing the status of the item if there are any open Sales Order against it? Example: If an item A is in Active Status and has a Sales Order with Awaiting Shipping Status. Before the order is booked if someone changes the item status to Inactive, is there anyway we can prevent it from changing the status if there are any open Orders against it?
    Version: 11.5.10.2
    This is urgent please.
    Thanks,
    Ashish

    Hi Sandeep,
    Thx for the quick update. I have tried to update the status of an item to obsolete when Sales Order Line exist against the item. It is giving the following error. I have tried with Custom Code off. So my assumption is there should not be any personalization. Can you please look into it further.
    This is quite urgent, pls.
    Error: "This field can not be updated as there are either Open Sales Order Lines or Pending Delivery Transactions"
    Thanks,
    Ashish

  • Payment terms for open sales order

    Hi All,
    we are using a bapi in to create a open sales order:
    BAPI_SALESORDER_CREATEFROMDAT1.
    for this the payment terms are being checked against the t052 table .we have no errors in the test run .But when we upload the order it shows the payterm say 'z500' is not defined.
    please let provide the info.
    Thanks and regards
    Anitha T S

    Payment terms comes from the Customer Master ? have u cross checked that one ?
    regards
    Prabhu

Maybe you are looking for

  • Messages won't activate after 10.9.3 Update

    Hi, I updated OSX on my late-2013 Macbook Pro Retina 15" last week. Since then I can not log into Messages. I get an error message - "Could not sign in to iMessage. An error occurred during activation. Try again.". I've tried many times. I've checked

  • Casting Class to Interface..??

    Hi, need some help here, I have a method that returns an interface type and am trying to cast the returned interface to the class which implements it..However I'm getting a classcastexception when I attempt this and have no idea why.. Any ideas?

  • Flash library running extra slowly and removing items

    A couple of months ago, I realized Flash's library began to run more slowly than usual. Any time I would create a new movie clip, paste something into the library, change a name in the library, etc., Flash will hang for about 15 seconds. I was workin

  • Suddenly lots of 'is damaged and cannot be opened'

    Hi, I'm getting these error messages now. It started with just a facebook but but now I have got them for thinsg like 1Password. All saying that these apps were purchased on a different computer andneed a password check. I give the password, then the

  • Labview + Assembler

    Hello all . I wanna Know if its possible to use labview + assembler , and how can i use it or anny library to use assembler in labview Thk  Buenos dias . Quisiera saber si es posible usar labview + assembleer para programar a lo que voy es si hay una