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

Similar Messages

  • 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

  • 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

  • Need Standared report for Open Sales order for all customers

    VA05 is not useful as it gives this list for individual customers.
    We need to see a list of all open orders for asll customers in one report only.
    Thanx in advance.

    Hello,
      did you try with transaction SDO1 - Orders Within Time Period? If it doesn't fit your requirements I suggest you to create a query.
    Best regards,
    Andrea

  • Self Updating Report of Open Sales Orders (Maybe Crystal )

    I want a self updating report of Open Sales Order. I want it to refresh constantly. I know that it could be an alarm but it would be executed every # minutes and dont want to. Any ideas ? I dont know Crystal Reports enough but is it posible ?

    Hi ,
    If I were you , I will not be crazy looking at my sales order in every 1 minutes ..I would train my users to check at least 15 minutes.
    I understand what u are trying to do;you  want that customer will see the latest open SO created ..but 15 minutes is good enough time .
    I think you have to check if database size grows up big time ..so far no report has come to me from my clients for this set up .
    make sure you  are not saving an alert into database
    If you are using multiple alerts , I will atleast monitor my database for a while to see i encounter performance issue ..
    So far for one alert at every 15 minutes ..i think u should be fine ..
    Hope this helps
    Bishal

  • Data source for Open Sales Order Variances.

    Hi Friends,
               I would like to know if there is any content avaible to report on Open sales order variances at a Customer PO level , it would be really appreciated if someone can send ur feed back , I need this info quite urgent.
    Thanks alot to all ,

    Hi Rakesh,
    You have to check the tables in R3 and then compare with the Datasources in BW.
    For Examples
    VBAK table in R3 for Sales Order on BW-2LIS_11_VAITM
    VBRK table in R3 for Billing iin BW-2LS_13*
    Check for that day how many sales order were there in VBAK table and there in BW.
    Rgds
    SVU123
    Edited by: svu123 on Jun 21, 2011 8:19 PM

  • 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 process orders

    Dear SAP experts,
    As the period of the process order from open to close is not short, will take 1 or 2 months in our business case, so we want to find a report which can get the information just like the output of KSPP(for planned orders) .
    I tried to analysis the logic of program KSPP, and it seems the function modules based on the planned orders only.
    Is there any way to get the similar report for open process orders?
    Many Thanks,
    Lisa Yao

    Is there any clues?

  • 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

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • 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

  • 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

  • Standard  report(for open PO order items) with estimated Delivery dates

    hi friends
    i would like to know if there is any standard  report(for open PO order items) with estimated Delivery dates on it.
    thanks
    alahari

    ME2M (by material)
    ME2L (by vendor)
    ME2N (by number)
    Use selection parameter WE101 for open GR
    and scope of list EINT (scheduling lines)

  • How to create a report for open sales orde documents which are not invoiced

    Hi Experts this is urgent,
    +pls give the Logic for document flow+
    My requirement is create a report for sales orders which are not invoiced  using the following table.
    VBAK : sales order header
    VBAP : sales order item
    VBFA : sales document flow
    VBUK for processing status
    KOMV for duties value and sales order value
    LIKP : delivery not header
    LIPS :delivery note item
    For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
    Case A : When a sales order is invoiced we can display information on the header status :
    Overall status : Completed  and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following :  Overall status       Completed            
    Delivery status      Fully delivered      
    Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
    Case C :
    When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
    And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
    With regards
    ravi
    Edited by: ravik ravik on Jun 25, 2008 3:29 PM

    Hello Ravi,
    U neednot develop any report..
    there is std report with txn V.02
    or copy this and make necessary changes.
    Reward, if helpful.
    Rgds,
    Raghu.

  • 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

Maybe you are looking for

  • 865PE Neo2-V memory issue

    hey guys, i just put a fresh system together and i am having trouble with my corsair memory when i try to boot the system before i begin installing an operation system. I have 2 512mb pc3200 ddr sticks and 3 dimm slots to put the 2 in. My problem is

  • Purchase Order Data Template??

    How are people running their purchase orders using BIP? We are still using the .rdf and I am trying to convert the .rdf to xml but this is a very large report. Is there a data definition where I can see the queries in XML? I have found the .xsd and t

  • User defined function to set a default value of a column

    Hi All Can we use user defined function to set a default value of a column ?? for example: create or replace  function test1  return number is begin return 10; end; create table testt (id  as test1,   name varchar2(20)); error: ORA-02000: missing ( k

  • Error in Shoppping cart

    Hello SDNers, When I test the service bbpsc02 in SICF, (http://eccserver:8000/sap/bc/gui/sap/its/bbpsc02?sap-client=001) I'm getting the below error: System Messages: Attribute for user BASIS contains errors. Inform system admin. Also for another ser

  • How do I get to my launchpad features after downloading a new app?

    HHeelllppp!  Whenever I download a new app, my launchpad turns into a catalog of my apps and the apps normally shown by the launchpad (including the App Store) are nowhere to be found.  The only recovery I have found is a re-boot.  Where have the lau