ALL OPen AR

i need to write a custom report for all AR details by customer with invoice, amount and duedate. from which tables i need to pull this one or someone already have a query for this.

i got it
SELECT     dbo.OINV.DocEntry, dbo.OCRD.CardCode, dbo.OCRD.CardName, dbo.OSLP.SlpName, dbo.OINV.DocNum, dbo.OINV.NumAtCard AS CustRefNo,
                      'IN' AS DocType, dbo.OINV.TaxDate, dbo.OINV.DocDueDate, dbo.OCTG.PymntGroup, dbo.OINV.DocTotal, dbo.OINV.PaidSys,
                      dbo.OINV.DocTotal - dbo.OINV.PaidSys AS DocBal, DATEDIFF(day, GETDATE(), dbo.OINV.DocDueDate) AS DaysOverDue,
                      dbo.OINV.TotalExpns AS Freight, dbo.OSHP.TrnspName, dbo.OINV.TrackNo
FROM         dbo.OSLP INNER JOIN
                      dbo.OCRD INNER JOIN
                      dbo.OINV ON dbo.OCRD.CardCode = dbo.OINV.CardCode ON dbo.OSLP.SlpCode = dbo.OINV.SlpCode INNER JOIN
                      dbo.OCTG ON dbo.OINV.GroupNum = dbo.OCTG.GroupNum LEFT OUTER JOIN
                      dbo.OSHP ON dbo.OINV.TrnspCode = dbo.OSHP.TrnspCode
WHERE     (dbo.OINV.DocTotal - dbo.OINV.PaidSys <> 0)
i have alrady written it.

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

  • 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 clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends,
    I would like to clear all open GRIRs in the year end and maintained as provision.
    in the next year next day i would like to show as open items.
    How can do it ?
    I have tried to clear it. I have maintained OBYP settings also. But i am unable see as clear item.
    Could you explain me how it actuallly works ?

    Hi REddy,
    In most of the cases, the GR/IR account will have a credit balance and would be taken as provision for liability during year end activites. So as a standard practise you need to clear them on year end.
    but if you want to clear them, first you need to deselect check box Post automatically only for GR/IR clearing GL's master data.
    Then pass a adjustment entry like
    GR/IR GL Dr
                To Provision for Liabilites GL: Cr
    Above sample entry is true when your GR/IR account has a CR balance at the year end. if not post it in a reversed manner.
    Now with tcode F-03, for GR/IR GL, choose all items and clear them. Now you will get the clearing doc number.
    Now on start of new FY, reverse the above accounting entry with FB08.
    This will meet your requirement.
    Thanks,
    Srinu

  • All open items are not appearing in f-44 for vendor

    Hi friends,
    I am unable to find all open items in f-44 to clear vendor open items.
    I checked in BSIK, it has 3 line items and in FBL1N also having 3 line items.
    2 line items are debit and 1 line item is cr.
    Dr line items are appearing in f-44 where are Cr (Vendor cr (31) is not appearing in f-44,
    Please help me.
    Regards,
    suresh

    Halo,
          one of the document might be stuck in APP run.I mean proposal run.
    Regards,
    Praveen R Marati

  • How can I close all open subVI front panels, without closing my top level VI front panel when all VIs are built into executables?

    I'm using the code shown in the sample VI discussed here: http://digital.ni.com/public.nsf/allkb/353A696A3F393D9B86256E8B007A2912
    to close all open VIs except my top level VI.  My top level VI is actually a separate executable and the sub-VIs are their own executables.  All reside under the same project.  It works very well if I'm running in LabView but will not work when I build them.  I added all the sub-VIs to the Always Include box in my top level VIs properties which did nothing.  I also tried adding them to the Startup VIs box.  This allowed me to close them all programmatically from the top level VI but it also open all the VIs at once (which was expected and not desired).  I think the problem is the executables are not able to see outside their own memory space so the top-level VI never finds any other open front panels to close.  Is this correct?  Is there another way to go about doing this? 
    Thanks!

    Where do I begin…..
    I’m using a “server” to control 4 “client” PCs.  My server opens references to 4 VIs on each client then executes them sequentially.  So on a normal day, the server will run everything itself and I will have no contact with the clients.  But on a several occasions, I’ve needed the ability to walk up to one of the clients and run just one of the 4 VIs. 
    We are updating from LabView 6.1 to 8.5 and we want to run executables rather than VIs for various reasons.  I have a new VI running on the client PCs who’s only function is to initialize the shared variables and open/close the VIs.  I initially thought of making the remaining 4 VIs sub-VIs but I will loose the ability to run them individually.  I think I would also have to rewrite the VI running on the server since the 4 references it originally opened do not exist.  I don’t think you can open a reference to a sub-VI on another PC.  Can you???
     As you can see, this is a huge mess.  I’m still pretty new with LabView so any help you can provide would be great. 

  • Monthly report listing out ALL open PO

    Hi,
    As our management requested, we need a monthly report listing out ALL open PO for CDG, APR   Someone tell me to input cost centre but it is time consuming to input it as we have over 100 cost centers.  Do you know if I can input SPG/profit center or other data to run this report instead ?  Please advise the transaction code and how to perform it, such as need to know the profit center #, organization code etc
    Thanks
    Raja

    hi
    go to ME2N
    then select Scope of list  ALV
    Selection parameters  as           WE101     Open goods receipt   (select as per ur need )
    then execute u will get the list for open po
    now if u want it to specify the  profit center then go to ME2N and select dynamic selecion  (shift +F4)
    now u will get a smaal scrren , in purchaseing doc item selct profit center
    now u can see the profit center selection field ,give a proper profit center and follow the process as given above
    hope it help
    regards
    kunal

  • Sales document report for all open documents

    hi i need the code for sales document report for all open documents is sd
    ...      can anyone help me out.
                                     thanks in advance

    Try transaction VA05. In that choose "Open Orders" along with other selection criteria.
    If you want the Open sales order qty in output and its not displayed, do the following.
    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.
    Hope this helps.
    Thanks,
    Balaji

  • Open Orders Query showing all open AP Orders

    Hi All,
    I wish to generate a report that shows all open AP Purchase Orders as well as all orders that are partially inviced.
    I have been using the following query but it is not giving me complete results:
    SELECT
    T1.[DocNum] AS 'PO NUMBER',
    T1.[DocDate] AS 'POSTING DATE',
    T1.[DocDueDate] AS 'DUE DATE',
    T1.[TaxDate] AS 'DOC DATE',
    T1.[Comments] AS 'REMARKS',
    T1.[CardCode] AS 'CUSTOMER/VENDOR CODE',
    T1.[CardName] AS 'CUSTOMER/VENDOR NAME',
    T0.[LineTotal] AS 'LINE TOTAL',
    T0.[OcrCode] AS 'PROFIT CENTER',
    T1.[PaidSum] AS 'PAID',
    T0.[Project] AS 'PROJECT CODE',
    T0.[LineNum] AS 'ROW NUMBER',
    T0.[LineStatus] AS 'LINE STATUS',
    T1.[DocStatus] AS 'PR STATUS'
    FROM
    POR1 T0  INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry
    WHERE
    T1.DOCSTATUS <>'C'
    AND
    T0.LineStatus <> 'C'
    ORDER BY T1.docentry
    I need to add to this query a column to show PO's that have been partially invoiced, a column to show if the invoices have been paid and another column to show the balances for those particular orders.
    HELP PLEASE!
    Robinson

    Thanks Carin,
    That was very helpful, BUT:
    1. I still wish to view all open orders that have been partially invoiced
    2. I still wish to see all the Purchase Orders that have been partially invoiced and paid
    3. I finally want to see the balances for these Purchase Orders that have been partially invoiced.
    I don't seem to find the correct fields containing the information. So far all that I was able to establish is that OPOR.DocTotal is the total amount for the Purchase Order. However, OPOR.PaidToDate does not give an accurate value of what is invoiced or paid.
    I wish to add the following fields. A field showing the corresponding Invoice number for the partially invoiced order, the amount paid for that PO and the balance.
    Thank you.
    Robinson

  • Closing all open PO's without unreleasing.

    Hi,
    We need to close all open PO's without unreleasing and  the open PO can be due to the following reasons.
    1.On account of partial Qty left behind on preparation of GRIR ( Goods Reciept Note).
    2.On account of certain Qty received and Buyer do not want the further Qty, to be delivered. We must able to close the PO
    3.On account of Nothing is received against PO released to supplier,but Buyer want to close the PO.
    Pl note that in all the above three cases ,we must be able to close the PO without unreleasing.
    The existing transaction code MEMASSPO , needs reversal of released PO

    You can build a program to use BAPI_PO_CHANGE to update the final delivery and final invoices flags, or the delete flag on PO lines which will 'close' those lines.  I don't think the PO needs to be released in order to do this.

  • Viewing ALL Open Work Items and Corresponding Approvers in System

    Is there a workflow report in ECC that displays ALL open work items in the system at any given time and their approvers that need to take action?

    Hi ,
    SWIA -  You can give a status of the workitem ( Ready , Inprocess ...........), workitem type (dialog....)
    in the selection criteria and also the time then you can find all the open workitems.
    And also you can check Header table SWWIHEAD it includes all the information related to workflows
    but this is a lenghty process need to process object type and need to refer so many attributes.
    best way is need to create one report make use of it.

  • Credit Management - block of last sales order and not of all open orders

    Hi,
    We are testing the FSCM-CM and try to figure out this:
    We have for a customer a number of open sales orders that are all below the credit limit.
    Now someone creaetes a new order and with that amount the limit is exceeded.
    The system reaction is that all open orders are blocked.
    How can we set the system that only the last one is blocked?
    Thanks in advance
    Hein

    Ok i got the answer on my own in configuration part. Thanks everyone.

  • 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

  • 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

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

Maybe you are looking for

  • Problem with focus on applet  - jvm1.6

    Hi, I have a problem with focus on applet in html page with tag object using jvm 1.6. focus on applet work fine when moving with tab in a IEbrowser page with applet executed with jvm 1.5_10 or sup, but the same don't work with jvm1.6 or jvm 1.5 with

  • How do I upgrade to a newer version of Firefox from the original downloaded in 2008? I am using Windows XP.

    Not all sites show all details because I have an older version of Firefox.

  • Cover flow full size

    Yet another version of iTunes (11.0.3) and still there is no cover flow function available. I find it almost unreal how Apples developers can take away such an important functionality - to obviously many users - and persist to do so, release after re

  • Odd MAILER-DAEMON messages

    Getting strange messages from [email protected] Not a new issue really, but just over the last couple of weeks I have been getting intermittent messages, both to a couple of my accounts, my primary account as well as one secondary account.

  • Timekeeper Entry values without a Table!

    Hi All Which table holds the Timekeeper Entry values? When I query for the Table name through record history, there is no Table in it. Please find below the screenshot of the menu. http://files-upload.com/files/523202/ADI%20Disabled.JPG Regards Rahma