Report of total invoice per area

Dear Experts,
I am trying to make a report using query generator. The report is total invoice per area but I am still failed. here is the query I made:
elect distinct OTER.descript,
'invoice per teritory' = (select distinct sum(a.DocTotal) from oinv a inner join ocrd b on b.cardcode = a.CardCode where a.CardCode = OINV.CardCode and b.County = OCRD.County group by b.County) from INV1 inner join OINV on OINV.DocEntry =
INV1.DocEntry
INNER JOIN OCRD on OCRD.CardCode=OINV.CardCode
     LEFT JOIN OTER on OTER.territryID=OCRD.Territory
where OINV.DocDate between '01/01/2010' and '01/28/2010'
The result is as follows:
Area A     47533700.000222
Area A     53663149.964662
Area B     772500.000010
Area B     6705000.000072
Area C     7890000.901213
It is not expected.
I am using query generator is :
Area A     101196850
Area B     7477500
Area C     7890000.901213
but my query still give unexpected result. Please advice. Thanks a lot.
steve

Thx Gordon.
This thread is closed. I also find out the answer i.e.
select distinct OTER.descript,
'invoice per teritory' = (select distinct sum(a.DocTotal) from oinv a inner join OCRD b on b.CardCode = a.CardCode where
b.Territory = OTER.territryID  group by b.Territory) from OINV
INNER JOIN OCRD on OCRD.CardCode=OINV.CardCode
     LEFT JOIN OTER on OTER.territryID=OCRD.Territory
where OINV.DocDate between '01/01/2010' and '01/28/2010'
group by OTER.descript, OTER.territryID
The result is similar with your query result.
Steve.

Similar Messages

  • List of Invoices which are paid without a Goods receipt

    Hello,
    Does anyone know a report which shows invoices which are paid without goods receipt being done on them. The reason for this is the process that we follow:
    We dont do GR based IV  because there are invoices which are received without the Goods receipt being done. So the process is that all invoices which dont have a Goods received are automatically R-blocked by the system and hence no payment can be released unless they are Goods receipted. We run transaction MRBR in background everyday and it releases invoices which have a corresponding GR. At month end, we do a GRIR clearing account transaction which cleared all invoices which didnt have a GR (this is the way it was done historically) and we are looking to improve this process. What this means is that an invoice which didnt have a goods receipt also got cleared off and the R block was removed and hence it appeared in the automatic payment program and was paid.
    Business wants to find out any report which would show them all invoices paid without a GR. Its the only way to know what payments have been made to vendors which actually shouldnt have been made.
    Any insights would be really helpful.
    Thanks
    Keyur

    dear sir
    in MB5S- list of GR/IR balances.
    this report will show the GR/IR pending.
    regards
    jrp

  • [svn:fx-trunk] 14462: Quick fix to ensure total byte counts are accurate for -size-report.

    Revision: 14462
    Revision: 14462
    Author:   [email protected]
    Date:     2010-02-26 14:11:20 -0800 (Fri, 26 Feb 2010)
    Log Message:
    Quick fix to ensure total byte counts are accurate for -size-report.
    QE notes: None
    Doc notes: None
    Bugs: SDK-25600
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25600
    Modified Paths:
        flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SizeReport.java

    If this is textual input (as in a CSV file), you wouldn't use a DataInputStream or DataOutputStream. Use FileReader and FileWriter objects instead.
    Actually, unless this is a homework assignment that tells you to write it yourself, you should just use a library that can parse and format CSV files and just use that.
    My battle plan is to count the number of rows and commas. I would then use these counts in my subsequent loops. Why? What is the purpose of those counts?
    Personally, I'd suggest that you start by writing a method that does the changes you need on a single line of input. (The changes you describe sound like they can all happen on a per-line basis.) Write lots of unit tests to try out various inputs and that you get the correct outputs, given the changes you say you need on a given line.
    When you're done with that and have it working perfectly, then you can write the code to read a file, loop through it, call the method that fixes a single line, and then output that line.

  • Report for Number of invoice per vendor with amount

    Hi All,
    is there any standard SAP report we have which provide us number of invoices and amounts invoiced per vendor for a given time period.
    Amit.

    Hi amit
    I have the same requirement
    "The requirement is to view POs related to invoices per vendor""
    Can you suggest me a solution
    Please help
    Regards
    Shanker

  • Help me in  'AR Details ' report shows total open invoices by customer

    hi friends,
    please  help me in  'AR Details ' report shows total open invoices by customer and PO number over selected time range.
    any thing related to open invoices please send me as early as possible.
    Thanks,
    Regards,
    Yogesh

    Hi,
    Find the T.code VF05. You will get the list of open billing docs. Its SIS report. Please find whether the SIS is active or not in your system
    Regards,

  • Sales Order Report Showing Cost on the Sales Order & total invoice dollars

    I am looking for a report in SAP that shows you the Sales Order number, the cost on the sales order (NOT the average cost) the actual cost on the sales order detail line and then the total invoice dollars in month to date and year to date?
    Thanks,
    Linda

    You can use <b>T.code: COOIS </b> if Product Costing has been configured for MTO scenario whcih gives the costing details.
    You can also use To.code: <b>KE30</b> if CO-PA implemented.
    but if you want to link with billing, Please search for any reports in Sales information system.
    One more you can create a ABAP Query Report using T.code: <b>SQVI</b>
    Regards,
    Anbu

  • I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

    I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

    I am looking for an simple app to do invoices. I only need to send around 6 invoices per week and they are usually paid by cheque. I need to be able to tick these as paid and keep a list of unpaid invoices so I can send reminders. Any suggestions please?

  • Multiple Documents (Invoice) per report generation

    Hello helpers,
    i have some question during development with bi publisher.
    I want to generate one report with several invoices, because starting the reporting should be once a month.
    I have a list with invoices to print and i will mark all or some invoices for printing.
    So, i have several customers who will get an invoive from me.
    How to implement this "as a best practice" in bi publisher ?
    How to prevent bi publisher from generating the footer, when more than one page was generated per customer invoice in the whole printing process ?
    How to show page numbers at the footer template within the whole printing process ?
    How the xml data should be ?
    My suggestion should be to generate a table which has all information generated by a pl/sql procedure in the database
    but it is necessary ?
    Thank you for suggestions !
    Regards
    Frank

    Hi frank,
    You can achieve different page numbers for different invoice in a single report by using <?for-each@section: G_headers?> .
    To avoid footer if your invoice exceeds first page, you can use <?start@last-page:body?><?end body?>. What ever you code after this will be considered as footer for that given transaction at the last page. For page number you can use MS word page number. By using for-each@section, you can reset the page numbers for every invoice.
    Regarding the logic for how the XMl data should be, it depends on your requirement.
    I hope this helps you!! I'm also facing a similar requirement :)
    Thanks!!

  • DEFINING TOTAL INVOICES IN REPORTING

    HI,
                     As my knowledge  Total Invoices will be derived from the following document types for each vendor selected
    1. KR
    2. KG
    3. KA
    4. RE
    and Total Payments will be derived from the following document types for each vendor selected
    1. KZ
    2. KP
    now how can we define total invoices and total payments  in query designer
    if any formula is used please post the message.

    Hi
    Create a Counter on document no and use.
    Check: [Counter in BEx|http://www.scribd.com/doc/24013301/Counter-in-BEx] for more info.
    Srini

  • Aging report for Open Invoice

    Hi All,
    I need to develop an Aging report for open invoice, there is no indication for open invoice or close invoice since we are using customise DS and DS from third party system. only one key flag we have is clearing date. so kindly let me know how to write the logic for this requirement.. can I use Customer exit for this? I have an Idea to do like
    first logic is
    *If Clearing date = blank than invoice is = open (by using of this logic we can get all open invoice).
    second logic
    total number of invoice = current date - document date.
    but I do not know how to implement this logic in BEx hnece kinnly advice me whether this logic can be work or suggest with different solution ples..
    Regards,

    hi,
    You can  check few default PO reports wid proper paramater in it
    or
    Can check table EKBE
    or
    Check PO history in the PO doc
    Or
    Check the ME80FN
    Regards
    Priyanka.P

  • Using crystal reports to generate invoices

    Post Author: samme
    CA Forum: General
    I'm writing a report for a client who wants to print multiple invoices using crystal reports.  The invoice needs to sort in date order, one date and information associated with that date on each page.  Each page has a subtotal since multiple items/services are linked ot one date.  The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal.  Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
    The client wants the normal invoice information on the first page of the invoice:  Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
    On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
    I have the report grouped by invoice number and then by a date formula.  I cannot seem to get where I need to be with this invoice and have been working on it for some time.  Can anyone give me some direction please..... 
    Thanks in advance!

    On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
    <[email protected]> wrote:
    >I know. We thought that the Report Builder would be the way to go,
    since
    >ART didn't do too much for us. You guys poorly document it, and,
    show no
    >examples of using it to build a report. In addition, it'd be nice if
    >SOMEONE would come up with a list of what tables show what. While
    Novell
    >may have a detailed list of things in the ZFD docs, it's pretty much
    so
    >detailed and complex that, it's next to useless. I've resorted to
    doing
    >huge dumps of things to a csv, then, using CR or Excel to generate
    some kind
    >of report.
    >
    >The whole process is not as easy as it should be, seeing that we paid
    money
    >to get a reporting vehicle.
    >
    >As comparison, SMS isn't any easier, but, there's more documentation
    on it,
    >so, when you're forced to roll your own report, it's a clearer
    path...
    I do understand, I'm not a programmer either :-(
    the company who wrote report builder is Digital Metaphors, they have a
    very good
    training application and additional detailed information of how to
    write
    reports.
    The CIM schema is I agree Cr** (well not easy) and without the detail
    that
    Novell provide it doesn't work.
    I hope that a friend of mine is going to provide the compromise that
    you and I
    are looking for. Namely the ability to create the SQL queries that
    ART can
    make, with a simple report system. Keep an eye on caledonia.net for
    an
    announcement for ART4 (Derived from but unrelated to Salford
    Software's
    product) :-)
    Tim
    No Direct e-Mail Please!
    Tim Heywood
    Independent Consultant
    Scotland
    Novell Support Connection SYSOP
    In theory, practice and theory are the same,
    In practice they are different!

  • Specifications for the report regarding the invoiced quantity.

    Hi all SAP gurus,
    I want to give specifications to the abaper regarding the layout of a report. The details are sales order, materials in it, order quantity, invoiced qty, balance qty and stock against the balance qty.
    I want to know the table & field name  where the qty is getting updated. Suppose order qty is 20, today i invoice 5 qty. The balance is 15. When i run the report, in the invoiced qty column the system should show 5. Tomorrow i invoice 10 qty, the balance will be 5. When i run the report again, in the invoiced qty column, the system should show 15.
    Where is the data stored regarding the updated qty which is already invoiced.
    The scenario is MTS. Is it possible to show the exact available qty in the balance qty. column some material may be confirmed for other sales order also.
    Regards,
    Allabaqsh G. Patil

    Hi
    Need to understand couple of more things before i tell you the fields as are you considering report Based ON invoice or delivery as you are saying that order quantity is 20 and invoice is 5 , ( do you mean to say delivered quantity is 5)
    secondly since this report is for stock are you taking into the account of all the pending orders not yet delivered , partially deliverd.
    Hope  you understand this as this report could change every minute the order is delivered
    And as per my knowledge there is no such table which can give  you that information , you need to write a logic which will consider the open orders, partially delivery , and stuff into .....hope i am in Sync with what you are asking
    Cheers

  • Applying TAX aganist total Invoice amount

    Hello ALL,
    We are trying to implement Oracle AR module for Taiwan. The lowest dollar amount use can poay in Taiwan is 1 taiwan dollar, there is no cents. But I oracle applications Ar is set up with 2 decimals and AR apply tax aganist each line, not aganist total amount
    As per taiwan govt rules, VAT tax should be applied aganist total invoice and then should be rounded off to nearest dollar.
    Current apps doesn't allow to apply tax aganist total. We can't set rounding to 0 , then tax at each line will be rounded off to nearest dollar, there by causing tax to increase or decrease more than a dollar
    Seems to be the only way to fix this is maually adjusting the tax amount at each line. Is there anything else you guys can think of ??
    any suggestions will be really appreciated
    Regards
    KK

    Hello,
    Withholding tax amounts are usually readily available in the database tables. Search for the tax amounts in the same table where you are getting the invoice amounts.
    IF it is in percentage, you might have to do a simple math.
    cheers,
    Sushil Joshi

  • Applying TAX arte aganist total Invoice amount

    Hello ALL,
    We are trying to implement Oracle AR module for Taiwan. The lowest dollar amount use can poay in Taiwan is 1 taiwan dollar, there is no cents. But I oracle applications Ar is set up with 2 decimals and AR apply tax aganist each line, not aganist total amount
    As per taiwan govt rules, VAT tax should be applied aganist total invoice and then should be rounded off to nearest dollar.
    Current apps doesn't allow to apply tax aganist total. We can't set rounding to 0 , then tax at each line will be rounded off to nearest dollar, there by causing tax to increase or decrease more than a dollar
    Seems to be the only way to fix this is maually adjusting the tax amount at each line. Is there anything else you guys can think of ??
    any suggestions will be really appreciated
    Regards
    KK

    Hello Gurus,
    Please let me know how the Solutions provided here, can delete automatically....
    Is there any problem with those cheater's.....???????????????????????
    Edited by: Vijay Babu Dudla on Jul 20, 2009 7:55 AM

  • POS system reports daily totals for each store, not for each cashier

    Hi!
    We are implementing SAP Retail (ERP 6.0 EHP4 stack 3), SAP PI (Netweaver PI 7.1 SP 8) and SAP BW (NetWeaver 7.0 ehp1 stack 4, incl BI content 704, SP 3 ) for a client. Their POS system is a 3rd party system, i.e. not SAP POS.
    This issue concerns the fact that the POS system reports daily totals for each store, not for each cashier.
    At my client, the daily settlements are done for each cashier. At the end of day, we will get cash drawers counted with sum of each tender (cash and checks) at the end of day. In addition, the POS system will send sum of each tender, sum of all sales and sum of different finance transactions made each day. However, this u201Ctotals messageu201D is not sent separately for each workstation, or for each cashier, but rather for each store. So we only gets the totals per store.
    Questions:
    i)     Are the tasks available for comparing totals to the aggregates for POS transaction able to handle u201Cstore-only figuresu201D?
    ii)     If not, how can we adapt the tasks so they can handle u201Cstore-only figuresu201D?
    iii)     Can we trigger outbound tasks sending WPUUMS and WPUTAB using outbound dispatcher automatically, or must we run this as a manual task of an employee, after checking that all stores have delivered their totals?
    iv)     The u201Cstore-only figuresu201D does not include cashier statistics. Do we need the u201Ccashier statisticsu201D as total figures, or can we just populate the BAPI for each POS transaction with data, in order to populate BW infocubes for cashier statistics?
    Thanks for any advice !
    Best regards,
    Oeystein Emhjellen

    Hi Kees ...
    Your profile indicates you are running Leopard v10.5.8
    You need to upgrade to Snow Leopard V10.6 in order to use the App Store. This is an "upgrade", not an "update".
    Make sure your Mac meets Snow Leopard's requirements here.
    You must have the minimum of v10.6.6 installed in order to access the App Store.
    You can purchase Snow Leopard here > Mac OS X 10.6 Snow Leopard - Apple Store

Maybe you are looking for

  • Two computers using the same display

    Can I use one cinema display with two computers ate the same time. that is, can i have my MBP and a Mac Mini connected and switch between the two?

  • Employee information missing in CAT2 time entry data view

    Hi,      We upgrade our system and when we go to time entry data view, we lost the employee information like Personnel number and cost center which displayed before upgrade. I checked with Tcode CAC2, nothing found. But My guess is Personnel number a

  • Problem opening email attachment Blackberry 8900

    Hi I am a recent user of Blackberry 8900 on Airtel in India, I have 2 email accounts Gmail and another work account on Rediffmailpro with pop3 access, I can open word, xls & pdf attachments in Gmail but not on my Rediffmail Pro account. I was earlier

  • Audio output from GB

    Okay so I'm new to GB but this seems strange. I have a brand new Mac Pro and I just got new Logitech x-230 2.1 speakers to listen to GB. Well it seems that I can only get audio out through headphone jack when working in GB but if I send song to itune

  • Error applying 11.2.0.1 OLAP B Patch (#10130392)

    Hi When I try to apply the 11.2.0.1 OLAP B Patch (#10130392) i get an error Following is the trace of the output Invoking OPatch 11.1.0.6.6 Oracle Interim Patch Installer version 11.1.0.6.6 Copyright (c) 2009, Oracle Corporation. All rights reserved.