Report to show open PO and all AP Invoices

Hi all!
At this moment I have two reports that my customer asked.
One shows all open PO by cost center and project and goes like this:
SELECT T2.PrjName, T1.Project, T0.OcrCode 'Centro de custo', sum(t0.LineTotal) 'Total', T1.Docstatus
from POR1 t0
INNER JOIN OPOR T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN OPRJ T2 ON T2.PrjCode = T1.Project where (T1.Project > '0' or T0.OcrCode > '0') and t1.Docdate > '[%0]' and t1.docstatus='o'
GROUP BY T2.Prjname, T0.OcrCode, T1.Project
The other shows all AP invoices (open and close) by cost center and project:
SELECT T2.PrjName, T1.Project, T0.OcrCode 'Centro de custo', sum(t0.LineTotal) 'Total', T1.Docstatus
from POR1 t0
INNER JOIN OPOR T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN OPRJ T2 ON T2.PrjCode = T1.Project where (T1.Project > '0' or T0.OcrCode > '0') and t1.Docdate > '[%0]' and t1.docstatus='o'
GROUP BY T2.Prjname, T0.OcrCode, T1.Project
Now what the customer wants is one report showing this information, so he can see the totals of open PO and all invoices by project. He wants the docdate too. Is this possible? And showing the totals by project or by cost center.
Thank you all.
Kind regards,
Pedro Santos

Hello Gordon,
Thank you for your answer.
You're right, the second query was not the right one.
Here it is, the query with the AP invoices by project/cost center:
SELECT T2.PrjName, T1.Project, T0.OcrCode 'Centro de custo', sum(t0.LineTotal) 'Total'
from PCH1 T0
INNER JOIN OPCH T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN OPRJ T2 ON T2.PrjCode = T1.Project where (T1.Project > '0' or T0.OcrCode > '0') and t1.Docdate > '[%0]'
GROUP BY T2.Prjname, T0.OcrCode, T1.Project
About the total and the docdate on the same report, I had a colleague helping me with that and he made it. It's not perfect but it serves the customer's needs. If you want I can show you the query.
Regards,.
Pedro Santos

Similar Messages

  • Report to show open orders and valuation type

    Hi,
    Is there a report in SAP that shows the open orders and the valuation type of the materials in those orders?
    thanks

    Hi jay,
    What is the definition of Open orders according to your company?
    Is it Sales orders created but not delivered?  or
    Is it Delivery created for the Sales order but not done PGI?  or
    Is it Sales orders but not billed?
    Accordingly you must decide.  Just VA05 will give list of orders where you can take from the Status updation whether it is delivered or not.  But apart from that, if you need any report relating to Open orders, you need to develop a Z report which will help your company.  Just ask your business user how he wants.  Based on that you can decide.
    Thanks and regards.
    Augustine Ponraj

  • Report showing Open Orders and Open deliveries

    Hi all,
    i need a report that shows open orders - whether with subsequent delivery or not.
    Is there such a report?
    regards
    RM

    Hi,
    Goto the T.Code VA05/VA05n T.Code.In this T.Code select the option as "Open orders".
    Execute.
    It will give you all the orders that are open means doesn't have any subsequent orders.
    Goto the T.Code "VF04".
    In this select the check box "Delivery related".
    Execute.
    It gives you all the orders which have delivery but doesn't have any billing document.
    Regards,
    Krishna.

  • Difference between cleared items,open items and all postings (FI).

    Hi experts,
    Can anybody tell me the difference between cleared items,open items and all postings for an account.
    While running corresponding bapis and transaction FAGLL03 (for GL) or FBL1N (for accounts payable) i found that in some cases all postings is less than cleared items or open items for a time period. How could it happen.According to my knowledge all postings should contain cleared items and open items.
    Please correct me..
    Thanks and Regards
    Arjun

    Hi Arjun,
    For every Billing Documnet created(VBRK/VBRP-VBELN) there will be an accounting document created in BSID/BSAD tables.
    OPEN ITEMS means the Billed/Invoice Amounts that are pending from Customers, i.e which we have to receive from Customers.
    CLOSED ITEMS means the AMOUNTS received from that customer.
    OPEN ITEMS : fetch data from BSID table Only
    CLOSED ITEMS : fetch data from BSAD only.
    ALL POSTINGS : fetch data from both BSID and BSAD.
    Hope this will help.
    Regards,
    Nitin.

  • Do we have the report to show PO Price and invoice actual price

    Dear Guru,
    I'm finding the report to show PO Price and Actual Price after invoice.
    The actual price is mean that we may have other debit/credit price as subsequent posting in MIRO.
    So we would like to compare PO price and actual Price.
    Please kindly advice.
    Thank you very much.
    Best Regards,
    Saiya

    Hi,
    Please check ME81N --> Order value analysis.
    SAM
    Edited by: Saminathan Gopalan on Jul 22, 2010 6:05 PM

  • Report on material code, description and all unit of measure conversions

    report on  material code, description and all unit of measure conversions ?
    any ideas?

    Material Number MATNR
    with this key and SPRAS (the desired Language key)
    from MAKT you can get the descriptions..
    and with MATNR from MARM you can get alternative UOM and the conversion rates.
    If you need help on MARM how to get the conversions please notify.
    Hope it helped
    Please reward if found useful
    Best Regards

  • For some reason the function keys on my mac book changed, I restored them and now the shift keys have the function of showing the desktop and all windows.  I there a way I can restore the original function?

    For some reason the function keys on my mac book changed, I restored them and now the shift keys have the function of showing the desktop and all windows.
    I there a way I can restore the original function?

    You do not tell us what OS version you have. In OS 10.8.2, do this:
    Apple Menu / System Preferences / Language and Text / Input Sources.
    Select the language you want. Mine is set to Canadian English.

  • SSRS- report builder showing recent sites and server as blank

    Hi All,
    A client of ours when executes Report builder is not able to see Report models as report builder just gets open but do not create connection to server.
    We have done the following settings for same:
    Used both name and IP of system and added the same to Trusted Sites in IE settings
    Also we have used port number along with URL for report builder.
    We have given all rites to user on reporting services (SQL)
    But it is still not showing report models. 
    Kindly help us.  It is very urgent.
    Thanks in advance
    -Regards
    Kumud 

    Hi Kumud,
    According to your description, your client can't see the created report models in Report Builder. Right?
    In this scenario, the reason why the client can't see the report models because he doen't connect to report server. Please click the
    Connect at the left bottom of Report Builder and type the report server url manually to reconnect the report server. 
    If the connection is failed, please check if there any process on client side which occupies the port for report server URL. Here are two articles for your reference to do troubleshooting.
    Report Builder 3.0 error : Connection Failed. Unable to connect to the server that is specified in the URL
    Connecting to Report Server
    Since the Semantic modeling language (SMDL) report models are deprecated. Although you can you continue to use existing report models as data sources in SQL Server 2012 or later version Reporting Services reports you should consider updating your reports
    to remove their dependency on report models.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Report to show workbook, worksheets and owner

    Hi,
    I need to be able to produce a report to show all of the workbooks stored on the db. I need to be able to list the owner, workbook name and the sheets.
    I have been looking at Eul_user_queries but there is way too much data there for what I need.
    Any help would be appreciated.
    Thx
    Dennis

    You can find the workbooks and owners in the EUL5_DOCUMENTS table. The worksheet information is stored in the DOC_DOCUMENT long raw column. This column is encrypted, so it is impossible (so far, many have asked and tried, but no one has succeeded) to get worksheet details.
    You may also be able to get worksheet details from the EUL5_QPP_STATS table. That has information about all workbooks and sheets, but a worksheet needs to have been run to be included here.
    Another way would be to use the EUL5 business area (ORAHOME_FOR_BI_TOOLS/discoverer/EUL.eex). Import that BA (if you haven't already), and it may be easier to manage the EUL_USER_QUERIES data.
    I may have a query using QPP_STATS, but it will be a while before I can find it and post it.

  • Upgraded to 23.0.1 and now bookmarks toolbar only shows open tabs and not bookmarks. How to I fix?

    Running Win 7 Home Premium. When I upgraded to Firefox 23.0.1, the Bookmarks Toolbar no longer shows my bookmarks which are in Bookmarks Toolbar but shows open tabs. If I uncheck "View Bookmarks Toolbar" the blank toolbar disappears, open tabs stay in there position. If I recheck "View Bookmarks Toolbar" a blank toolbar reopens but open tabs are on the toolbar. I tried to move a bookmark to the toolbar but all it does is open a tab of the location of the bookmark I tried to position on the toolbar.

    hello, please try to restore the default toolbar set as it's described in [[Navigation buttons like back, home, bookmarks and reload are missing]]

  • I have pc with itunes loaded on seperate hard drive and can't find all music some from ripping in wav files won;t show but any and all i've downloaded from itunes store are there what,s up/ /?

    Having trouble getting my music from seperate hard drive. Recently tried to have my new laptop see and play itunes on my wireless server, but not all music showed up, and now my music on my pc doesn't show all music either. Some wav files from ripping off cd, and some I've imported from windows media show up and all mp3 bought from store is there. But more than half is listed at bottom of library as unknown artist, unknown album etc.. WHATS UP!!!!

    try backing up the adresses on a different computer.
    1) connect iphone to computer
    2) in itunes click "enable disk use"
    3) locate the files in the iphone hard drive
    4) copy and paste them on that computer
    if it does wipe out your adress library, just revert to the backup. Although i don't know where the files will be on your iphone hard drive.

  • Budget Report to show the fixed and variable split for Materials

    Hello Gurus,
    Could you tell me if there is a budget standards report that will show the fixed and variable split for Materials? Example: Labor, Equip., QC and Overheads? 
    I need it for the correctly rolled-up 'final material number' step.  The report that does this now (without fixed and var split) is the Indented BOM Comparison (sret - cost mgmt-product costing - cost mgmt-customized reports - cost estimate comparison - costed multilevel compare rpt - Indented BOM Comparison).
    Thanks,
    Jefferson

    one simple way is in your final itab declare a slno type i field
    data : begin of itab occurs 0,
    slno type i,
    <other fields>
    end of itab.
    after filling the data in itab.
    loop at itab.
    itab-slno = sy-tabix.
    modify itab.
    endloop.
    in fieldcatalog also you have to define that slno field as the first column.
    but it will change its order if you are sorting the output or filtering the output.
    regards
    shiba dutta

  • Need a report that shows sales shipments and billing by date

    We need a report that will show sales shipment and billing information by date.  Specifically, we need to find orders that were shipped in one month/period, but were not invoiced until the next month/period.  Does a standard report exist?

    I dont think it is possible. You will have to customize.
    For list of deliveries, you can use VL06O.
    For billing due list, you can use VF04.
    Regards,
    GSL.

  • Closed Two Separate Instances of Firefox - Open Tabs and All Groups Lost

    I had two instances of Firefox 16.0.2 open and closed both with the "X" box at the top of the window and shut down windows. When I opened Windows XP this morning I came up with only one of the two Firefox sessions with the tabs restored and lost all the groups I had created over the last year.
    The original groups are important to me, the tabs less so.
    I was able to recover previous versions of sessionstore.js from the profile directory for Firefox and have the several days prior of them.
    I saw in other postings of similar nature that the information is in the sessionstore.bak or a previous deleted sessionstore.js. I've attempted to figure out the procedure for running scripts but I don't think I'm getting it. When I open sessionstore.bak in notepad I can see the links that were in the groups that I'd like back.
    My questions are:
    1). Can & how do I restore the groups? (I'm not understanding the procedures I saw in: http://forums.mozillazine.org/viewtopic.php?p=10768811&start=45)
    2). Are the tabs gone? How do I restore them?
    3). Is having two open Firefox windows a no-no for keeping groups and tabs remembered?
    4). How do you backup groups so if things go south you can recover easily?
    5). How many tabs can you safely have open in Firefox?
    6). Any other hints or procedures I should know about.
    Thanks!
    Ron

    Did you check if there are entries in History > Recently Closed Windows ?
    App (pinned) tabs and Tab Groups (Panorama) are stored as part of the session data in the sessionstore.js file in the Firefox profile folder, so if you have a backup copy of a sessionstore.js that has those tabs then you need to check that.
    *http://kb.mozillazine.org/sessionstore.js
    If you close a window via the close X on the title bar then you only close that window and all pinned tabs and tab groups that you created in that window will be gone (each window has their own tab groups and pinned tabs).
    Use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar to make sure that you do not lose tab groups.

  • Opened ical and all my events were erased and all my calendar accounts were gone and it will not allow me to add new events or new accounts

    I opened my ical and all my events had been erased and all my claendar accounts were gone and it will not allow me to add new events or accounts.

    Hi John,
    Thanks so much for wading in. I did exactly what you suggested - glad you gave me the hint about how to access my library files. There was only one document that seemed to have anything to do with cache, and that was called Calendar Cache. (I've attached a screen capture of all the files incase I should have deleted something else as well.) I deleted Calendar Cache then restarted iCal, but after updating I was still unable to add new events.
    Is there anything else you can suggest?
    Thanks again,
    Susan

Maybe you are looking for