Invoice report with BPChCODE and BPChName

Hello Xperts
I want to produce a report that will show Invoices by country and their BPChCODE and BPCh NAME
In order to get the BPCh name, I have linked a second OCRD Table.
but now the query gives me only the Invoices that has BPChCODE, I want to see ALL of the Invoices, inclding ones that dont have a BPChCode.
SELECT
T1.DocNum,  T1.CardCode,  T1.CardName,
*T1.bpchcode,  T4.CARDNAME,*
T0.ItemCode
FROM INV1 T0 
INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
INNER JOIN OCRY T3 ON T2.Country = T3.Code
*INNER JOIN OCRD T4 ON T1.bpchcode = T4.CardCode*
WHERE   T3.Name = '[%0]'
Please Help ..... Thanks !
Medalion.

I will try simplify my Problem
this is my code:
SELECT  T0.DocNum , T0.CardCode , T0.CardName , T0.BPChCode , T2.cardname
FROM  [dbo].[OINV] T0 
INNER  JOIN OCRD T1  ON  T1.CardCode = T0.CardCode
INNER JOIN OCRD T2 ON T2.CardCode = T0.BPChCode
The Output is : only Invoices that contain a BPChCode. and a special T2.cardname Column the represent the BPChCode name.
How can I show ALL of the system invoices (Including ones the dont contain BPChCode)?
Thanks again.
Medalion

Similar Messages

  • Is there any ECC report with PurchOrder and Purchase Requisition Selection

    Hi there,
    for one of my BI report reconciliation with ECC requirement, I would like to know how many POs are there without Purchase requisitions, same way want to know how many POs are there with Purchase requisition.
    I know some tables where we can find this info, unfortunately I cannot ask my user to go and check in Tables for Acceptance testing. So I am looking for any standard ECC report with POs and PRs as Columns
    Due to time constraints, I cannot go build any ABAP queries in ECC at the moment,
    Any insights are greatly appreciated.
    Thanks

    Hi Curious ,
    Check if the following link is helpful. The link is from the SDN Wiki for creating a Z Report in R/3 for Purchase Requisition.
    http://wiki.sdn.sap.com/wiki/display/ABAP/PurchaseRequisitionDetail+Report
    Or try the following transactions:
    ME5A - Purchase Requisitions: List Display
    ME53  - Display Purchase Requisition
    ME53N - Display Purchase Requisition
    Hope this helps your cause.
    Regards,
    Kush Kashyap

  • I need to make a report with graphs, and generate an exit file to word

    I have to do the acquisition for a laboratory and to make inmediately a report with graphics and a constant test about the method of the experimentation

    Probably your best bet is to use ActiveX and control Word from LabVIEW, this way, you can act as you were using Word directly, automating all the steps to create your report. Look for examples in the developer zone, although there will be more examples relating Excel, that can show you the way to act. If you need to use this intensively, i think NI has created a Word toolokit that you can buy.
    For any particular question, just ask.
    Good luck

  • Connecting Crystal reports with dashboards and passing parameters

    Hi ,
    Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
    I would appreciate for this.
    Thank You.

    Hi Ganesh,
    You can refer the following links for connecting Crystal reports with dashboards:
    Dashboard integration in Crystal Reports using flash variables | Clariba Blog
    https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
    http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
    Regards,
    Renu

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • AP register report with PO and related invoices

    Hi SAP gurus,
    Business wants a AP register report, listing all processed invoices related to a PO.
    Basically they want to see the PO no. and invoices on the same report.
    I have tried to find a std report but couldnt. Please suggest if there is any such report or if not how I can get it thru may be SAP query. Also please give me step by step procedure to right a SAP query.
    Thanks a million, in advance. I will reward point promptly.

    If you want to do this from Finance an idea is to make sure the PO number is being written to the assignment field of the Vendor line item.
    This can be done simply by making the correct selection for the sork key of the recon account for Vendors.
    Once you are happy that the PO number is being added into the field, you can run an open item report per Vendor and sub total it by Assignment, thus giving you a break down by PO number.
    Please award points if this is helpful.

  • Invoice report with different currencies

    Dear friends,
    I need a report for invoices. I want to choose currency from selection screen. And report will calculate invoice amount with this currency. Does SAP have a standard report for this?
    How can I see invoice list with different currency?
    Thanks

    Thanks for your interest. But I am looking for invoce report. For example I have 3 PO
    PO number      Currency      Amount
    121100                EUR             100
    121101                TRY              200
    121102                USD              300
    I want to see a invoice list like below
    Selection screen :
    Report Currency : USD
    When I execute I want to see report like
    PO number      D.Currency      Amount          Report Currency (I choose USD and amount will exchange to USD)
    121100                EUR             100                       68
    121101                TRY              200                      150
    121102                USD              300                      300
    Is it possible?

  • Multi-currency Invoice Report in USD and SGD

    Hi
    I am Developing Invoice report using XMLPin EBS ,which Must Show Currency in USD and SGD(Singapore Dollar),means at the end of report client want to display USD amount and SGD amount .In oracle report (RAXINV) I am able to get Both currency but In XML report The mapping field for SGD gives 0(zero) value.
    pls provide me inputs
    Thanks
    Rahul

    Hi Tim,
    In my XML file I am getting two fields
    1)<D_INV_ALL_AMOUNT> with value is in USD e.g. (20000) which I have mapped for USD currency in Template.
    2)<D_SGD_PAGE_ADJ_LINE_AMOUNT> This field is for SGD But giving 0(Zero) value. Which I have mapped for SGD.
    So I am able to print USD= 20000 and SGD =0 In the Template
    But when I run original Oracle report it gives both value, means USD =20000 and SGD=23435 after converting to USD in its text output. (In oracle report layout same above fields are mapped as a source)
    I have also created Currency Format Sets. as per user guide and used it in the template but it has no effect
    The output of XML report must be like this.
    |USD| 20000|
    |SGD| 23435|
    Simply I want to print both currency values in report
    Rahul
    Message was edited by:
    user576181

  • With holding tax report with material and qty fields

    Dear All,
    Is there any standard report available with with holding tax data with material and qty fields.
    Thanks,
    Sekhar.

    dear Friend,
    Withholding tax will deduct on services. Hence Material and quantity is not relavent.
    There is no report is available also.
    reg
    Madhu M

  • Material wise reciept and Issue report with Opening and Closing Stock

    Hi
    I need a report,Material wise Receipt and issue with Opening and Closing stock.Is there any standard report available in SAP ?
    Or we have to go for Customised Report.
    Please reply

    Hi,
    MB5B gives total receipts - if i click on the receipts i can view the multiple material documents - BUT is there any way to drill down the reciepts or view the breakup of the receipts on the same screen OR is there any other report for this.
    Regards,
    Laxmi

  • Discoverer report with parameters and functions

    I am new to Discoverer. Is there a way to create a report (with parameters) of one line per customer such that the following data will be displayed for each customer?
    Among the parameters is: from_date (month & year) ,to_date
    The basic query gives totals for each date (month & year) for every customer.
    Among the fields displayed:
    1-customer_id,
    2-balance until from_date,
    3-total activity between from_date and to_date
    I have a function to calculate the total balance until from_date, but then I cannot get the total activity on the same line. I tried using another function and I tried using a total calculation but to no success.
    Is this possible?
    Thanks.

    Hi Markus
    You need to determine whether you can in fact call a Discoverer report using a URL before linking it in Portal. You need to run the report in Viewer first and then see copy the URL from the address line of the browser. Then you open another browser and paste the URL. You may well be prompted for a username and password but hopefully the correct report with the right parameters will then execute.
    Assuming this works you then paste the same URL link into Portal and you should be able to get the report to run.
    Best wishes
    Michael

  • Consingment stock report with values and periods..

    hello guys,
    i have an issue here.. consignmet stock are "managed" within SD. Is there a standard report which cointains info about consigment stock, its amounts (values) and periods ?
    Main point here - consingment stock is processed within SD, so for example t.code MB54 is not useful here .
    Thanks guys !
    Best regards,
    Laimonas

    Hi......MB54 wont help since that shows the Vendor consignment stocks.
    Use MB52 creatively like this.
    Goto MB52
    Put your plant name.
    In the section 'Selection : Special stock', Mark the check box and put 'W' in Special Stock indicator.
    Choose the other settings as per your choice.
    Execute.
    Now you will see a whole lot of stocks along wioth the Consignment stocks. If you only want to see the consignment stocks, do like this
    In the list, put you cursor on the column 'S' which is special stock (i think the 4th colm in the list). Now choose the filter icon and put the filter criteria a 'W' i.e. customer consignment stock.
    You can save this is a variant with a name, say /ZCONS.
    Now come back to the initial MB52 screen. In the bottom section for display options, put this variant name in the field Layout.
    So now when you next run the report with this variant, you will only get the customer consignment stocks with their values.
    Hope this helps.

  • Custom report with  FAGLFLEXA and "Document type"

    We have new GL and we must do a custom report like this:
    Hierarchy of ProfitCentre ______Credit for mm.yyyy___ Debit for mm.yyyy 
    Profit centre 1_____________________ c1_______________d1
    Profit centre 2_____________________ c2_______________d2
    ect. ....
    The value of c1 is the sum of monthly credit for a profit centre, for a group of accounts, but only for certain "document type".
    The "Document type" is what worries me.
    I have already written a similar report with Report Painter, reading data from the table FAGLFLEXT (0FL library), but took the full credit from the account (for all "document type"), without restrictions on the document type (the table  FAGLFLEXT not contain the field "document type").
    The data I need in my report, I can see with T. FAGLB03. Double-clicking on, for example, the value of credit you go into detail, and data can be selected for different "Document type". I still do not understand how it works and which tables use the T. FAGLB03 to have these data in detail.
    Please, help me what exactly to do?My questions are these?
    My principals questions are these:
    1 . I think, inevitably, i have to link two tables: FAGLFLEXA (the one with the given to him) and GKFP that contains the field BLART (Document Type). This is the right way? Is there another way?
    2 This report can be create with one of SAP tools: Report Painter, SAP Query, ... or the only solution is to write a program in ABAP?
    3.  If i'm not asking too much, you could give me a step-by-step description of how i should proceed?
    All suggestions are welcome.
    Thank you in advance. Many points to assign who will help me to solve this problem

    I know PowerShell can help you with the Get-SCSMRelatedObject command but you would have to write a small script to get that to work en mass.
    http://smlets.codeplex.com/

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • Creating a report with user and lastlogintime

    Hello,
    I need to create a report to show the users and their lastlogintime.
    How can this be accomplished?
    We have OIM 10g integrated with OAM and OID.
    Thanks
    Khanh

    Hi,
    Yes, It should be possible if your OAM is storing user's session.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e15478/session.htm#CHDDAGHI
    Try to make some SQL queries using OAM DB and execute those queries using BI publisher to generate the reports.
    Just check whether OOTB OAM reports includes any such kind of reports.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e15478/audit.htm#BABEJGAA
    ~J

Maybe you are looking for

  • Problem with Localization of Crystal Reports

    Post Author: raj20007 CA Forum: Crystal Reports Hi everyone..I am having a problem with crystal Reports. I need Malayalam unicode( INDIAN Language) to be displayed in the reports, this data will be binded from database.And the problem is : After appl

  • Bandwidth problems with uploading photos from Mac to iCloud??

    We do not have blisteringly fast DSL & I am getting zero photos uploading from my Mac to the iCloud Photos.   Anyone else encountered this???  I am hoping I can tag on to a faster WiFi at some point to see if that helps .... Current on all OS & iOS's

  • OBIEE 11g services.

    Hi Gurus, I am very new to OBIEE 11g,I had installed 11.1.1.3 in my PC,I have some questions.... 1)when I am trying to open default RPD it is asking Repository password..what is the default pwd? 2)what services need to up and run in services(like OBI

  • Erase file if it exists or copy it back if it doesn't

    I need this to remove or put back a file to enable/disable its presence in the system but I can't quite get this working: on run {input, parameters} set docFolder to ("Library/Audio/Plug-Ins/VST/") set aFile to docFolder & "WaveShell-VST 7.0.vst" tel

  • Compressing project to target file size (10MB)

    I have a short (around 1 min) project. I want to export it as an MPEG-4 that is under 10MB. I've tried two options in Compressor: 40kbps and 800kbps. These resulted in a 900kb file and a 13MB file, respectively. Obviously, the first one had very low