All Open Sales Orders Extract to a flat file

Hi Guys,
I am basically a FI guy who has been asked to create this extarct - it would be great if you guys can help me out with it:
1) Sum of all open orders in the system which have not been shipped
2) Sum of all open orders in the system which have been shipped by not yet invoiced.
3) Sum of all open billing, invoice document created but no AR doc created.
Which tables i can consider - i have a lill. idea - VBUK and VBUP tables. What should be the criteria to get all the above.
Please help me out.
Thanks,
Maulik Shah

Dear Maulik
1)  Sum of all open orders - T.Code VA05 - Table VBBE
2)  Sum of open orders shipped but not invoiced - T.Code VF04 Table VBFA.  Here input M in the field Subs.doc.categ and execute.  Wherever this field is blank, those are not invoiced
3)  List of invoices created but Accounting document not created T.Code VFX3 - Table VBRK Field RFBSK where the status of the document would be A if Accounting document has not been generated and C if Accounting document would be created
thanks
G. Lakshmipathi

Similar Messages

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • All Open Sales Orders in APO system

    Hi Experts,
    We have a requirement in which we have to get all open sales orders in SAP APO system for 2013.  Please suggest if there is some way to do this.
    Thanks in advance.

    Hi Manjunatha,
    RRP1 will list all the requirements: sales orders, forecast, dependent demand, putchase order release, etc.
    Same than in all the ALV reports, you can change the layout, sort, use filters in order to only see the document that you need, etc.
    Here you can an example of my system, where you have sales orders in RRP1:
    Kind Regards,
    Mariano

  • How to get all open sales orders of a customer and also account group

    I want to know the logic to find all open sales orders of a customer and also account group

    Hi,
    You can check the status weather a Sales order is Open or not by checking its billing status form the following:
    Check table VBUK and VBUP for delivery status "LFSTK" and billing status "FKSTK".
    Rward points if helpful answer.
    Ashven

  • Query for all open sales order with a date range

    Hi Experts!
    I wrote this query that will look up all open sales order of a particular customer and how much was served:
    SELECT T0.[DocNum] 'OS #', T0.[DocDate] 'Posting Date', T0.[CardName] 'Customer',  T1.[Dscription] 'Item Description',T4.[SalUnitMsr] 'Sales UOM', T4.[InvntryUom] 'Invty UOM', T1.[UseBaseUn] 'Use of Invty UOM' , T1.[Quantity], T1.[Quantity]-T1.[OpenQty] 'Served Qty', T1.[OpenQty] 'Unserved Qty' FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.[DocStatus] = 'O' and T0.[CardName] =[%0]
    However, I don't know how to input a parameter for the date range in a query.  Can anyone help with this issue?
    Your input will be highly appreciated.
    Warm regards,
    Jen

    Hiiiiiii
             Try This.....
    SELECT T0.DocNum 'OS #', T0.DocDate 'Posting Date', T0.CardName 'Customer', T1.Dscription 'Item Description',T4.SalUnitMsr 'Sales UOM', T4.InvntryUom 'Invty UOM', T1.UseBaseUn 'Use of Invty UOM' , T1.Quantity, T1.Quantity, T1.OpenQty 'Served Qty', T1.OpenQty 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.DocStatus = 'O' and T0.CardName ='[%0]' and (T0.DocDate>='[%1]' and T0.DocDate<='[%2]')
    Regards,

  • Retrieving all open Sales Orders

    Hai All,
    Can any one inform me how to get all the open sales orders?
    is there any fuction module exits for this?
    if not if any one knows the logic for this?
    Thanks & Regards,
    Bhaskar

    Hi Bhaskar,
    check this link for sample code.
    Re: Open Orders Report.
    Regards,
    Kiran Sure

  • Regarding All open sales order & want to close them

    Hi All,
    My client want the list of all open & partially open sales order in the time period excluding cureent & previous months & want to close all those sales order with partally open & fully open status
    Regards,
    Rohan

    Rohan in t-code mass find the reason for rejection and also try and block the sales order if you find it useful.
    Steps are below:
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032 and execute. There block "Sales order header data" and click on "Fields". There select the field "MASSSDHEAD_S-LIFSK" and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute. There on top, assign some block and execute. All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection" in mass. To achieve this, go to TCode MASS, input Object Type BUS2032 and execute. There block on "Sales Order Item Data" and click on "Fields". There block the field "MASSVBAP-ABGRU" and execute. Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    Edited by: Muhammad Ali Lozada on Dec 28, 2010 12:32 PM

  • Transaction MD04 does not show all open sales/orders deliverys

    Hi,
    Transaction MD04 does not show all open deliverys and sales orders for plant 0705 and certain materials.
    Can anyone tell me the reason for this?
    Regards,
    Brijesh

    Hi
    Run SDRQCR21 report in Transaction SE38 for that material it will  resolve your issue.
    Please confirm
    Amit

  • LSMW  - Open Sales Orders

    Hello  Friends
    I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
    Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
    Regards.

    Dear Mehmood,
    I want to find if anybody can guide me on how to get all open sales order tables
    You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
    Secondly, you can get the data by using Query also- in SQVI
    design a query with VBAK / VBAP & VBUP
    so that from VBAK you can give time period & sales area details
    from VBAP - you can enter plant relevant details to filter certain records & item category as well
    where as VBUP- filter wth the status.
    once downloaded store in flat file.
    Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
    prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
    Hope this is what you are looking for.
    Regards,
    ReazuddinMD

  • 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

  • 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

  • Table For Open Sales Order And Customer Invoices

    Dear Gurus,
    Are there any table to know open Sales orders and pending invoices for Customers?
    Wishes,
    Abhishek

    Hi,
    Go to T code VA05 and select open sales order radio button. Put other input parameters like date range or sold to . Execute you shal get list of all open sales order.
    For pending invoices go to T code VL04 and you get list of all billing not yet created even though GI is done.
    These are standard SAP functionality and can be used rather than looking in a table level.
    Regards
    Vivek

  • Open Sales Order Query

    Hello Experts,
    I would like to pull all Open Sales Orders that do not have purchase orders and are more than 180 days old.
    I tried the following query but does not seems to work exactly:
    select t0.DocNum
    ,t0.DocDate
    ,DateAdd(Day,180,t0.DocDate) as Due180Days
    , t0.DocDueDate
    , t1.PymntGroup
    , t0.OwnerCode
    , t2.firstName
    , t2.lastName from ordr t0
    inner join OCTG t1 on t0.GroupNum = t1.GroupNum
    inner join OHEM t2 on t0.OwnerCode = t2.empID
    where (t1.PymntGroup like '%prepaid%'
    or t1.PymntGroup like '%deposit%')
    and t0.DocStatus ='O'and t0.PoPrss='N' and DATEADD(Day,180,t0.DocDate)>180
    and t0.OwnerCode=18
    Any hlep would be appreciated.
    Regards,
    Praneeth

    Hello Praneeth,
    You may try this:
    select t0.DocNum,t0.DocDate,DateAdd(Day,180,t0.DocDate) as Due180Days,
    t0.DocDueDate, t1.PymntGroup, t0.OwnerCode, t2.firstName, t2.lastName
    from ordr t0
    inner join OCTG t1 on t0.GroupNum = t1.GroupNum
    inner join OHEM t2 on t0.OwnerCode = t2.empID
    where (t1.PymntGroup like '%prepaid%'
    or t1.PymntGroup like '%deposit%')
    and t0.DocStatus ='O'and t0.PoPrss='N' and DATEDIFF(DD,t0.DocDate,GetDate())>180
    and t0.OwnerCode=18
    What is exactly the issue not seems to work?
    Thanks,
    Gordon

  • Mass Deletion of Open Sale Orders

    Hi,
       I want to implement Dynamic Credit Check in my Organisation, for that I want to delete all open sale orders. Is transaction code MASS suitable for deleting only <b>OPEN SALE ORDERS</b> or it deletes all sale orders. Can anyone help me out please.
    Regrds,
    Binayak

    Hi Binayak,
    The sales order deletion process would be updating many tables and hence I wouldnt recommend [MASS]. I feel it's better to use CATT. Check out the following link and let me know if you need any clarification on how to go about it.
    <a href="http://www.sap-img.com/sap-catt.htm">CATT - Intro</a>
    Also have a look at a CATT procedure explained, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Regards
    Pratheb Nadarajah

  • Mass update exchange rate type (not rate) in open sales orders

    Hi all,
    Our requirement is to update the exchange rate type at sales order header (VBAK-KURST) for all open sales orders with a new type created. (Z001). This field does not appear in MASS transaction for sales orders despite being present in the structure MASSSDHEAD.
    This field cannot be located even in VA02 transaction (I am not sure if standard SAP masks or shows this field at header; I also can't find any transaction variants assigned).
    Can anyone suggest how this field can be updated for sales orders either individually or in mass mode.
    Regards,
    KC
    SAP SD

    You are correct in indicating that Exchange rate type field  is not seen in Header data of sales order. I checked screen layouts for various screens for sales order data and this field is not suppressed. The only reason could be that this field is not used in sales order screens
    If you are interested, you could also check in the following way
    1.  Go to SE11, enter database table as VBAK
    2. Once inside data dictionary table, click where used list button, select programs and screens and execute
    3. click continue (don't select background)
    4. now you would have list of programs and screens, this table is used
    5.  now start another session and go to transaction SE51
    6. indicate program name as SAPMV45A and screen numbers as listed in step 4. you can check all screen numbers to see whether Exchange rate type field is listed in sales order layout.
    7. Of particular interest would be screen number 4311 as this contains  Financial accounting data & 4303 Billing data
    8. you can check screen layout for screen 4311 & 4303. you would see Exchange rate type field is not indicated.
    9. in case you could find this field in any screen, you could ask your ABAP consultant to add this field in the layout screen.
    Hope this answers your question

Maybe you are looking for

  • Problem inserting a table with Dreamweaver

    Hello, I have been using Dreamweaver for about a year and 6 months now, but this morning come across the following problem. I go to insert a table, but when I click ok, it comes up with this error - C:\users\jamie\AppData\Roaming\Macromedia\Dreamweav

  • Loop or recursion in VC?

    Hi all, is it possible to simulate a "while" loop or a recursion in VC. Obviously VC has no official tools or components for it. So I guess I will need a workaround. But I don't know how. What e.g. I want to achieve is an independent floating progres

  • ANYONE ANY GOOD AT ACTION SCRIPT?

    Hi Im trying to link my animated buttons to pages on a website. The flash file is linked to an exernal _url.txt file where it seems simple enough to amend, but all the flash buttons seem to link to the one page only (noted in _urls.txt as Url1? Any i

  • Need good example HTTP POST Business Service

    Hi guys, I've looked into the provided Reference Implementations in JDE for HTTP Post examples, but they only provided a business service (JRH90I13) and published business service (JPRH90I0) without any C BSFN to execute them. Does anyone have possib

  • Uploading images from PE6

    I will learn this yet. Can anybody tell me how to upload images from PE6 to a stock photography web site.