Symbol # is comming at the reporting level

Respected all BIs
I have created a report in which one of the infoobjects contains text field of length 40 type char.
along with the text values it also contains symbol # at the very bigining, i have checked every where but fing no clues from where the symbol is comming at my reporting level, is there any setting from which i could remove this symbol.
thanks
abhay

hi
is there any value coming against the # . if yes, then chk whether it is useful or not, then u can restrict the query in designer as suggest above.
thanks
neha

Similar Messages

  • Cannot implment security setting on the report level - SSRS 2012

    Hi All:
    I am having a weird problem on my SSRS 2012 reporting portal, I cannot click any of the drop down list like the example below. Is there anything from the setting?
    It is not only about the reporting level, any arrow on the reporting server, like data source, are kind of dead as well.
    Please kindly help and thanks in advance.
    Cheers
    Johnny

    Hi JohnnyKahWang,
    According to your description, you can view folders and reports on report manager, but you could not click any of the drop down list.
    Reporting Services uses role-based security to grant user access to a report server, and there are two types of roles: Item-level roles and System-level roles. Access to reports, folders, models, shared data sources, and resources is controlled through item-level
    role assignments. Each user who requires access to a report server must have at least one item-level role assignment. On a new installation, only local administrators have access to a report server. In this case, a local administrator need to create a role
    assignment which has Manage folders and Manage reports task to the account by following steps:
    Click Home at the top of the page to open the Report Manager home page.
    Click the drop-down arrow next to the folders and reports.
    Click New Role Assignment.
    In Group or user name, specify the name of a group or account.
    Select a role which can perform Manage folders and Manage reports tasks.
    Click OK to save the role assignments.
    For more information about Setting Item-Level Permissions on a Report Server, please refer to the following document:
    http://technet.microsoft.com/en-us/library/aa337471(v=sql.105).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • In the report level user wants two persons against each work center.

    Hi Experts,
    Please let me know the solution, I have provided scenario below.
    check the query which the user is referring to report:
    Example
    Work center     Person
    KNE33102     44003850
    According to the user, the names for the Work centers should be as follows:
    Work center          Person
    KNE33102         44003850,
    KNE33102        44003603
    I have check the data in T-code-CR03, each work center getting two persons, as can be shown below.
    Work center        Person
    KNE33102           44003850,
    KNE33102           44003603
    In RSA3 it can be seen that both the records are being extracted
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    In BI , when checking in PSA, it can be seen that the data is also being loaded to BI (Two persons loaded against Work center-KNE33102)
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    But when loading to the Info Object, one person has deleted. Because of this, in the report level displaying one person.
    Note:-Please let me know what is the procedure, in the report level user wants two persons against each work center.

    Hi,
    As you said in your post the data has mentioned up to 2009. can you try execute the query till to date .
    Regards
    sivaraju

  • I have request in the report level but the same is missing in the infocube

    Dear Experts,
    I have request in the report level but the same is missing in the compressed infocube level. What could be the cause? does the compressed infocube deletes the request ? if so, I could able to view other requests under infocube manage level.
    Kindly provide with enough information.
    Thanks.............

    Hi
    Compressing InfoCubes
    Use
    When you load data into the InfoCube, entire requests can be inserted at the same time. Each of these requests has its own request ID, which is included in the fact table in the packet dimension. This makes it possible to pay particular attention to individual requests. One advantage of the request ID concept is that you can subsequently delete complete requests from the InfoCube.
    However, the request ID concept can also cause the same data record (all characteristics agree, with the exception of the request ID) to appear more than once in the fact table. This unnecessarily increases the volume of data, and reduces performance in reporting, as the system has to perform aggregation using the request ID every time you execute a query.
    Using compressing, you can eliminate these disadvantages, and bring data from different requests together into one single request (request ID 0).
    This function is critical, as the compressed data can no longer be deleted from the InfoCube using its request ID. You must be absolutely certain that the data loaded into the InfoCube is correct.
    Features
    You can choose request IDs and release them to be compressed. You can schedule the function immediately or in the background, and can schedule it with a process chain.
    Compressing one request takes approx. 2.5 ms per data record.
    With non-cumulative InfoCubes, compression has an additional effect on query performance. Also, the marker for non-cumulatives in non-cumulative InfoCubes is updated. This means that, on the whole, less data is read for a non-cumulative query, and the reply time is therefore reduced. See also Modeling of Non-Cumulatives with Non-Cumulative Key Figures.
    If you run the compression for a non-cumulative InfoCube, the summarization time (including the time to update the markers) will be about 5 ms per data record.
    If you are using an Oracle database as your BW database, you can also carry out a report using the relevant InfoCube in reporting while the compression is running. With other manufacturers’ databases, you will see a warning if you try to execute a query on an InfoCube while the compression is running. In this case you can execute the query once the compression has finished executing.
    If you want to avoid the InfoCube containing entries whose key figures are zero values (in reverse posting for example) you can run a zero-elimination at the same time as the compression. In this case, the entries where all key figures are equal to 0 are deleted from the fact table.
    Zero-elimination is permitted only for InfoCubes, where key figures with the aggregation behavior ‘SUM’ appear exclusively. In particular, you are not permitted to run zero-elimination with non-cumulative values.
    For non-cumulative InfoCubes, you can ensure that the non-cumulative marker is not updated by setting the indicator No Marker Updating. You have to use this option if you are loading historic non-cumulative value changes into an InfoCube after an initialization has already taken place with the current non-cumulative. Otherwise the results produced in the query will not be correct. For performance reasons, you should compress subsequent delta requests.
    Edited by: Allu on Dec 20, 2007 3:26 PM

  • How to Concat multiple columns to single column at the report level

    Hi All,
    I have a requirement in such a way that I have to concat multiple colulmns to single column at the report level.
    First of all the column I am using in my report is "X" with datatype as Integer. Now  if the length of this column "X" is <8 then I have add zero's (0) before the number.
    And then I have to concat with a column "Y" and then cocnat with a column "Z" and finally the datatype should be casted to CHAR.
    Can anyone please let me know the logic how I can add to my column so that it satisfies all the above.
    Thanks All

    >Also, Another thing is if X < length of 8 Ihave to append with zero's..
    >Ex: if the actual value of X is 123456 i wanted to show it as 000123456.
    Try to be consistence what you said, you are looking for 8 length and above ex is 9 in length.
    You need to learn many things one of those is CASE, at least do copy and also read
    Forums Etiquette/Reward Points

  • Unusual behavior of View selector with the report level 'Add to Briefing Bo

    Hi All,
    With the report level ‘Add to Briefing Book’ link, we came across an unusual behavior of View selector in a report.
    The Briefing Book saves only the default view from View selector in an Updatable Content type, however it behaves perfectly fine when a Snapshot type is selected for saving in Briefing book.
    Has anyone faced similar behaviour, is there any fix?
    Regards,
    Priti

    A case needs to opened via support

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Unable to see data in the report or workbook

    Hello All,
    We are struggling to display data in the report level or workbook, however the data is available in Multiprovider.
    Error Message: "No Applicable Data Found"
    Steps Carried Out:
    1. Dropped the BIA Indexes for relevant cubes and Reactivated the Multiprovider, still did not work.
    2. When we checked for previous years like 2013, we are able to see data in the report.  To elaborate an issue, we loaded budget data for year 2015 as requested by user.  Restricted the same filters from the Query in the Multiprovider and able to see the data in the backend, however not data can be seen in the Report.
    3. Three Hierarchies are restricted in the Filters of the Query.
    It would be great, if any of you can help us to fix the issue.
    Best Regards,
    Sudhakar

    Hi,
    Have you used any exists?
    in exists is there any system date kind?
    Can you try to run your report thru RSRT and use debug option there.
    before reporting please check your all connected targets have data for reporting.
    mean at targets-->request tab, reporting symbol was there or not.
    Any master data objects included in multi provider?
    if yes then please check those, if any ACR was running then it may cause you.
    if possible try to develop simple query with as per needs(mean to see 2015 data only).
    As my guess selections/filters migth be hidden, please check those.
    Thanks

  • To view the report in assending order

    Hi All,
    i am trying to load data from a  flat file to cube in BI-7.
    my char is sales id and key fields are sales,profit and cost price.But char sales id column contains data like s1,s2,s3,s4,s5.....................upto s15.
    i have also loaded the data properly and viewed in infocube manage.In the cube manage the values of s1,s2,s3.........s15
    are comming in asseending order.but in report it changed.its comming like s1,s10,s11,s12,s13,s14,s15,s2,s3............s9.
    i want to view it in assending order in the report without doing anything in the reporting level.
    could any one help me to get it properly.
    Debasish

    Hi
    U can do with Charecteristic properties
    Go to char -- propetties of SID -- and select Sorting
    Here you can set the sorting within the characteristic according to the Key or Name in Ascending or Descending order.
    If a characteristic has attributes you can sort the characteristic by attribute. The attribute involved does not have to be selected for the display.
    You want to sort your articles according to specific criteria. To do this you create an attribute for the Article characteristic that contains these criteria and you are able to sort the articles by this attribute.
    The values are sorted as they are defined in the query definition by default. If you have not specified a filter value in the query definition, the system sorts the values according to the key.

  • Report level manipulation

    Hi All,
    I have a sales report, its a very simple report.
    I need to calculate revenue at the report level.
    Revenue = Price * Quantity.
    I have quantity Key figure in the column level, i need to calculate revenue(calculated key figure), but price key figure is an attribute of material characteristic.
    Material characteristic is present at the row level. Please let me know how to achieve this.
    Edited by: Raghavendraprasad.N on Nov 11, 2011 3:32 AM

    Hi,
    You can achive this using formula variable by processing type replacement path...
    Please go through below link for better idea...
    http://www.sd-solutions.com/SAP-HCM-BW-Replacement-Path-Variables.html
    http://help.sap.com/saphelp_nw04/helpdata/en/03/6ba03cc24efd1de10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/content.htm
    Thanks
    BVR

  • Custom Drill from the last level of Hierarchy

    I have a dimension hierarchy STAGE which has five levels L1 -> L2 -> L3 -> L4 -> L5
    and my fact table have 5 measure columns say M1 , M2 , M3 , M4 , M5 along with the dimension columns .
    My requiremetn is to show only the top level hierarchy and one measure column initially:
    L1 -- M1
    now user have to drill from L1 to L5
    L1 L2 M1
    L1 L2L3-- M1
    L1 L2L3--L4-- M1
    L1 L2L3--L4--L5-- M1
    by default when the user comes at the last level of hierarchy or the hyperlink to drill futrter gets disabled.
    Now my requirement is to show the detail report when the user comes at the last level and the there should be a link on it. when the user will clink on the last level link it should open below report :
    L1 L2L3--L4--L5--D1--D2--D3--D4--D5--M1--M2--M3--M4--M5
    D1-D5 are other dimension columns which are connected to Fact Table.
    Any suggestions??

    Abhiiiiiii wrote:
    Navigation is also a problem here since the column is coming coming runtime(after drill).What i told u is to use the navigation option insted of drill. So you need to create five reports each one for the particular hierarchy. and set the navigartion target as next level report in the hierarchy. Yes it is not the optiumum solution. But if you dont want the other two solutions given above you need to go with this only.

  • BW authorizations at report level

    hi,
    i have a requirement to restict user's access to certain cost centers on a report.
    i have created a new authorization object and switched on the reporting authorization on the cube for this object. i have created an authorization variable and this report is working like it should. But the issue is that when i switching on reporting authorization at the cube level, every query on the cube is getting affected. is there a way i can turn on this reporting authorization on the report level rather than the cube level and not affect the other queries?
    thanks,
    Parthava.

    Mark the Cost center Infoobject as Authorization relevant (RSD1 -> infoobject -> Business Explorer tab -> Authorization relavent) and restrict the user to the corresponding costcenters using correspnding authorization objects.
    http://help.sap.com/saphelp_nw70/helpdata/en/a0/48f438f3422f2ce10000000a114084/frameset.htm
    Assign points if helpful!
    Regards, Uday

  • Reporting Level - Can someone please explain this attribute?

    All - I am a relative newbie to Siebel on Demand but creating reports with other tools for years. I recently came across some reports that I have inherited that are constantly giving us trouble. They are basic reports that look at the count of calls, meetings, etc. for a given user. What we are finding is that we have used this reporting level attribute to filter but depending on the level of manager logging in it is causing problems. Some people can't see the data and some get a massive amount of duplicated data.
    When it is all said and done we are looking for a simple manager-to-rep list of the counts of these activities. After looking at the reporitng level value it would look like an indicator of relative position from the lowest level in the reports-to heirarchy. We will generally filter for a level = 0 (or maybe 1) in most reports but what I want is a way to control that based on the user. My requirement is to have the level they can see and the detail at one level lower but I dont' fully understand how that gets created or how I can use system variables to find the user's level to control it.
    Anyone that has any background info on this or how I can control a basic anaylytic report in a more maintainable fashion to show my stuff and subtotals at one level lower that would be greatly appreciated.

    Not sure if I can help with the specific report, but I will try to shed some more light on Reporting Level.
    In any report where the Owned By User dimension is exposed, you can find the Reporting Level field. Each user is part of a reporting hierarchy, derived from the "Reports To" value in their user profile.
    The best way to see this is to create a simple report with the User Email, Reporting Level, and Manager Email. This will show you the manager at each level. You can use this to expose and filter on the full management hierarchy.
    Level 0 = the user. All users have a value of themselves as Manager at Level 0.
    Level 1 = Reports To - who the user directly reports to.
    Level 2+ = Up the chain...
    You may want to take a look at some of the pre-built reports to see how this can be used to achieve Team based reports, such as "Team Pipeline Analysis", "Team Sales Effectiveness Analysis", and "Team Activity Analysis". You can open any of the pre-buiilt reports to use as starting points as well.

  • Logic at reporting level to compare two dates .

    Dear Friends,
    I have a scenario here , where i have a counter keyfigure in my DSO which has constant value 1 . there is two dates : Stock issue date & stock receipt date .  At the reporting level , in selection screen there is an input on stock receipt date . Now i want to show key figure counter for which stock issue date lies between the stock receipt date which the user enters .
    Kindly suggest on this matter .
    Thanks & regards,
    Ashutosh Singh

    1. Create a customer exit variable on Stock issue date. Pass on the value the user enters through exit to this variable.
    2. Create a New formula with the counter keyfigure and restrict it based on the customr exit variable.
    This will work correctly if Stock issue date and stock receipt date are not displayed in the report.
    If it is displayed, then if the stock issue date lies between the stock receipt date it will have the value as 1 else 0.
    Hope this helps.
    rgds, Ghuru

  • Reconciled invoices are coming in the report

    Before changes
    SELECT 'FINANCE' detdepartment, 'FINANCE' detsub_dept, 'FINANCE' detuser_name,
           ai.unique_remittance_identifier, ai.invoice_num, ai.invoice_date,
           ai.description, ai.invoice_amount, av.vendor_name, av.vendor_type_disp,
           ai.invoice_received_date, TRUNC (aipa.creation_date) last_forward_date,
           TRUNC (xvd.creation_date + NVL (atl.due_days, 0)) due_date,
           trunc(sysdate)-(TRUNC(xvd.CREATION_DATE)+NVL(atl.DUE_DAYS,0))due_days,
           'Validated - Oracle Paid: Unclear' status, ai.invoice_id,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pha.segment1 || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_headers_all pha, ap_invoice_lines_all aila
             WHERE pha.po_header_id = aila.po_header_id
               AND aila.invoice_id = ai.invoice_id) po_number,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pha.type_lookup_code || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_headers_all pha, ap_invoice_lines_all aila
             WHERE pha.po_header_id = aila.po_header_id
               AND aila.invoice_id = ai.invoice_id) po_type,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pra.release_num || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_releases_all pra, ap_invoice_lines_all aila
             WHERE pra.po_release_id = aila.po_release_id
               AND aila.invoice_id = ai.invoice_id) release_number
      FROM apps.ap_terms apt,
           ap_invoices_all ai,
           ap_terms_lines atl,
           org_organization_definitions ood,
           fnd_user fu,
           xxindus_vhd_dynamic_h xvdh,
           xxindus_vhd_dynamic xvd,
           ap_lookup_codes alc,
           ap_invoice_payments_all aipa,
           ap_payment_history_all apha,
           ap_vendors_v av
    WHERE xvd.invoice_id = ai.invoice_id
       AND apt.term_id = ai.terms_id
       AND apt.term_id = atl.term_id
       AND atl.sequence_num = 1
       AND ai.terms_id = apt.term_id
       AND ai.org_id = ood.organization_id
       AND ai.created_by = fu.user_id
       AND ai.invoice_id = xvdh.invoice_id
       AND ai.invoice_id = xvd.invoice_id
       AND alc.lookup_code = ai.invoice_type_lookup_code
       AND ai.invoice_id = aipa.invoice_id
       AND aipa.check_id = apha.check_id
       AND aipa.invoice_payment_id = (SELECT MAX (invoice_payment_id)
                                        FROM ap_invoice_payments_all a
                                       WHERE a.invoice_id = ai.invoice_id)
       AND apha.accounting_event_id = (SELECT MAX (accounting_event_id)
                                         FROM ap_payment_history_all aph1
                                        WHERE aph1.check_id = apha.check_id)
       AND ai.vendor_id = av.vendor_id
       AND apha.transaction_type IN ('PAYMENT CREATED', 'PAYMENT UNCLEARING')
       AND ai.invoice_type_lookup_code = 'STANDARD'
       AND alc.lookup_type = 'INVOICE TYPE'
       AND alc.enabled_flag = 'Y'
       AND ai.wfapproval_status IN ('WFAPPROVED', 'MANUALLY APPROVED')
       AND xvdh.checked = 'Y'
       AND xvd.status = 'Sent to Finance'
       AND ai.cancelled_date IS NULL
       --- AND SYSDATE BETWEEN fu.start_date AND NVL(fu.end_date,SYSDATE)
       AND ai.invoice_amount =
                    NVL ((ai.amount_paid + NVL (ai.discount_amount_taken, 0)), 0)
    --   AND ood.organization_name = :p_org_name
       AND ood.organization_id = :p_org_id
       AND ai.invoice_received_date
              BETWEEN NVL (TRUNC (TO_DATE (:p_from_date, 'RRRR/MM/DD HH24:MI:SS')),
                           ai.invoice_received_date
                  AND NVL (TRUNC (TO_DATE (:p_to_date, 'RRRR/MM/DD HH24:MI:SS')),
                           SYSDATE
       AND (fu.user_name LIKE '%VHD%' OR fu.description = 'VHD')
    after changes
    SELECT 'FINANCE' detdepartment, 'FINANCE' detsub_dept, 'FINANCE' detuser_name,
           ai.unique_remittance_identifier, ai.invoice_num, ai.invoice_date,
           ai.description, ai.invoice_amount, av.vendor_name, av.vendor_type_disp,
           ai.invoice_received_date, TRUNC (aipa.creation_date) last_forward_date,
           TRUNC (xvd.creation_date + NVL (atl.due_days, 0)) due_date,
           trunc(sysdate)-(TRUNC(xvd.CREATION_DATE)+NVL(atl.DUE_DAYS,0))due_days,
           'Validated - Oracle Paid: Unclear' status, ai.invoice_id,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pha.segment1 || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_headers_all pha, ap_invoice_lines_all aila
             WHERE pha.po_header_id = aila.po_header_id
               AND aila.invoice_id = ai.invoice_id) po_number,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pha.type_lookup_code || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_headers_all pha, ap_invoice_lines_all aila
             WHERE pha.po_header_id = aila.po_header_id
               AND aila.invoice_id = ai.invoice_id) po_type,
           (SELECT RTRIM
                      (XMLAGG (XMLELEMENT (e, pra.release_num || '|')).EXTRACT
                                                                       ('//text()'),
                       '|'
              FROM po_releases_all pra, ap_invoice_lines_all aila
             WHERE pra.po_release_id = aila.po_release_id
               AND aila.invoice_id = ai.invoice_id) release_number
      FROM apps.ap_terms apt,
           ap_invoices_all ai,
           ap_terms_lines atl,
           org_organization_definitions ood,
           fnd_user fu,
           xxindus_vhd_dynamic_h xvdh,
           xxindus_vhd_dynamic xvd,
           ap_lookup_codes alc,
           ap_invoice_payments_all aipa,
           ap_payment_history_all apha,
           ap_vendors_v av
    WHERE xvd.invoice_id = ai.invoice_id
       AND apt.term_id = ai.terms_id
       AND apt.term_id = atl.term_id
       AND atl.sequence_num = 1
       AND ai.terms_id = apt.term_id
       AND ai.org_id = ood.organization_id
       AND ai.created_by = fu.user_id
       AND ai.invoice_id = xvdh.invoice_id
       AND ai.invoice_id = xvd.invoice_id
       AND alc.lookup_code = ai.invoice_type_lookup_code
       AND ai.invoice_id = aipa.invoice_id
       AND aipa.check_id = apha.check_id
        AND aipa.invoice_payment_id = (SELECT MAX (invoice_payment_id)
                                        FROM ap_invoice_payments_all a
                                       WHERE a.invoice_id = ai.invoice_id)
                                        group by a.transaction_type)                                  
       AND apha.accounting_event_id = (SELECT MAX (accounting_event_id)
                                         FROM ap_payment_history_all aph1
                                        WHERE aph1.check_id = apha.check_id)
       AND ai.vendor_id = av.vendor_id
       AND apha.transaction_type IN ('PAYMENT CREATED', 'PAYMENT UNCLEARIN\G')
       and not exists ( select 1
                        from   apps.ap_payment_history_all apha
                             ,apps.ap_invoice_payments_all aipa
                             ,apps.ap_invoices_all  ai1
                        where aipa.check_id = apha.check_id
                        and ai1.invoice_id = aipa.invoice_id
                        and ai1.INVOICE_ID=ai.invoice_id
                        and apha.transaction_type IN ('PAYMENT CLEARING')
                        and  apha.CREATION_DATE = ( select max(apha.CREATION_DATE)
                                                    from apps.ap_payment_history_all apha
                                                        ,apps.ap_invoice_payments_all aipa
                                                        ,apps.ap_invoices_all  ai2
                                                    where aipa.check_id = apha.check_id
                                                    and ai2.invoice_id = aipa.invoice_id
                                                    and ai2.INVOICE_ID=ai.INVOICE_ID
                      ) ---- newly added
       AND ai.invoice_type_lookup_code = 'STANDARD'
       AND alc.lookup_type = 'INVOICE TYPE'
       AND alc.enabled_flag = 'Y'
       AND ai.wfapproval_status IN ('WFAPPROVED', 'MANUALLY APPROVED')
       AND xvdh.checked = 'Y'
       AND xvd.status = 'Sent to Finance'
       AND ai.cancelled_date IS NULL
       --- AND SYSDATE BETWEEN fu.start_date AND NVL(fu.end_date,SYSDATE)
       AND ai.invoice_amount =
                    NVL ((ai.amount_paid + NVL (ai.discount_amount_taken, 0)), 0)
    --   AND ood.organization_name = :p_org_name
       AND ood.organization_id = :p_org_id
      - AND AI.INVOICE_NUM='A302689/EXM/OSR/03-2012'
       AND ai.invoice_received_date
              BETWEEN NVL (TRUNC (TO_DATE (:p_from_date, 'RRRR/MM/DD HH24:MI:SS')),
                           ai.invoice_received_date
                  AND NVL (TRUNC (TO_DATE (:p_to_date, 'RRRR/MM/DD HH24:MI:SS')),
                           SYSDATE
       AND (fu.user_name LIKE '%VHD%' OR fu.description = 'VHD')

    Hi karthick,
    Reconciled invoices are coming in the Report , some  invoice are coming in the repot if i use the following condition the invoice are not comming in the report   please advice  wheather i can use this condition are not
    and not exists ( select 1
                        from   apps.ap_payment_history_all apha
                             ,apps.ap_invoice_payments_all aipa
                             ,apps.ap_invoices_all  ai1
                        where aipa.check_id = apha.check_id
                        and ai1.invoice_id = aipa.invoice_id
                        and ai1.INVOICE_ID=ai.invoice_id
                        and apha.transaction_type IN ('PAYMENT CLEARING')
                        and  apha.CREATION_DATE = ( select max(apha.CREATION_DATE)
                                                    from apps.ap_payment_history_all apha
                                                        ,apps.ap_invoice_payments_all aipa
                                                        ,apps.ap_invoices_all  ai2
                                                    where aipa.check_id = apha.check_id
                                                    and ai2.invoice_id = aipa.invoice_id
                                                    and ai2.INVOICE_ID=ai.INVOICE_ID
    Thanks,
    Naresh

Maybe you are looking for