Wrong data in Reports

HI,
I have a characteristic( ex. ID number) in my report for which i am getting wrong data.
when i go and check in the respective info providers i can see the data properly for that characteristic. But when i run the report i m getting data as
08/ZR923854A  (correct  - ZR923854A)
08/YS890040D (correct - YS890040D)
#/YY879565C   (correct - YY879565C)
I have checked in Query designer for Characterstic Values, there also the same wrong data is coming.
Please help if you have any clue for this.

Hi,
Adding it to free cha. will not make much difference to the output. If you want ZR923854A only you have to create new infoobject which is not componded and then write routine in the transactional data flow to fetch  ID number from this compounded object.
If it is a standard infoobject I would not recommend anyone to use single infoobject as SAP has desinged many objects considering the business functionalityies. We should not change it. You can convince business same way. If you need more info on Compounding please refer below link,
http://help.sap.com/saphelp_nw04/helpdata/EN/ff/f470375fbf307ee10000009b38f8cf/frameset.htm
Hope this helps.
Kind Regards,
Viren

Similar Messages

  • Update routine bringing wrong data in Report

    Hello Experts,
    I have a strange situation on Inventory data. We have update rules from data source 2LIS_03_BF to our inventory cube.There is a characteristic in the cube which was not doing any thing in the past(I mean not mapped),which I am filling it currenlty using a update routine. The cube data looks absolutley fine for that field, I mean its bringing what it supposed to bring from my routine.The cube data looks fine for that field, but when I run the report on this cube,the field data is getting some numbers from some where,which is totally wrong.
    I checked whether there is BADI written on this field (Virtual Characteristic), but seems there is none for this characteristic except for some key figures based on some other characteristics.
    I am confused here as why the report is bringing some wrong numbers when it supposed to get the correct values from cube.
    Please advise,
    Regards,
    JB

    Hi,
    i hope you have checked it for non cumulative objects as there will be a different way of aggregation in that case.
    also, if the inventory is modelled based on cumulative key figures and if you are sure there is no code written for virtual key figures then it could be exception aggregation in the reporting settings or in the key figure general settings.
    Also during checks you are considering the historical data as well from the cube and its effect on the report output.
    just do a check and let us know.
    regards
    Ajeet

  • Report returns wrong data when run on server

    Hi,
    I'm runing CRS XI R2 on Windows Server 2003 SP2.  When I refresh a report in the Crystal Reports XI Designer, I'm getting correct data.  But when I schedule the report to run on the server it returns wrong data.  The data is different from what I see when I refresh it from the designer.  In the report I have running totals set up to count customers that meet a certain criteria.  The report is very large.  It take almost 2 hours to refresh.
    I was wondering what is causing the difference in running total data between refreshing it on the designer and running it on the server.  Is it returning wrong data b/c of it not reading all the records?  Should I be making any changes to the server settings?  I saw that under pageserver, there are options for  setting the 'Minutes Before an Idle Report Job is Closed' and 'Database Records To Read When Previewing Or Refreshing a Report".  Do either of those have anything to do with the report returning incorrect data when being scheduled to run on the server?
    Thanks,
    Kim

    Hi Xuandao,
    You would need to Use Cell Binding and Trigger concept to accomplish this.
    Its simple, however, you would have to work on a trial and error basis to understand this concept as implementing the same is subject to your dashboard and WEBI Design.
    Open you LiveOffice.
    Insert your WEBI, Now, go to Object Properties of your WEBI, select the second tab that says Prompt, Here, it lists the prompts that you have for your WEBI. This would also enlist your BEx variables as well. Select this BEx variable and click on the button that says Prompt at the bottom of this window. Here, select choose Excel Data Range and click on the cell select button on the right (small button that lets you choose what cell you want to bind this prompt to), Now select a free cell that would not be even populated later on when you run the dashboard say A1 (remember the value that you select). Click on OK and again OK. The WEBI Refreshes and you can see all the prompt values at the cell A1. These are all the possible values stored for your BEx prompt variables (these values are fetched from BW system dynamically).
    Now, save this LiveOffice, Go to you dashboard. Connect your dashboard to your Live office. Go to Data-> connections-> Now, select the WEBI and in the right hand pane  go to Usage tab, here, Click on Trigger cell button on the right hand side and select A1 in you LiveOffice.
    It should work fine.
    Let me know.
    Rgds,
    Sreekul Nair

  • Wrong DATE-TIME FORMAT among REPORTS NOTIFICATION EMAILs

    Dear all,
    I create a report request with url
    https://ocixxxx2.oci.xxcl.net/reports/rwservlet?>destype=printer&desformat=PDF&server=rep_xxxxx2_orahome&userid=ixxxxxx/xxxxxxx@saas&notifysuccess=IASL&notifyfailure=IASL&report=R1000R13.rdf&jobname=R1000R13&desname=HPLaserJet4150PCL6
    Email notification was generated with wrong date format .
    It's expected to be in UK English but it shows encoded text , may be random. I route it to another email servers such that find the date time is in chinese characters . That caused problem on original email server in which was not supported
    Could any expert please advice ?
    Warmly
    Edited by: MosielleKwan on 2010年2月26日 下午11:31

    It's indeed an expected behavior.
    When a Reports Server starts on a Windows machine, it likely detect the Windows Regional Settings in order to use it when needed later. This let the Reports Server communicate in the same format/way the Server machine uses. For example, if the System / Application Server administrator prefers to use the Windows (on which the Application Server is installed) with Chinese Regional Options, it is normal that the Reports Server send the Notification Email with a "Date/Time" Format matches the Windows.
    Thence, you like to get English/Western Date and Time format in the Reports Server Notification Email, it is required to change the Windows Regional Settings from Chinese to English and restart the Reports Server and restart the corresponding compoent. This will let the Reports Server detect the change and will send the Notification Email(s) then with English/Western Date and Time formats.
    If English/Western Date and Time format in the Reports Server Notification Email but still have the Windows Regional Settings set to Chinese, you can implement it
    that :-
    1. Change the Windows Regional Settings from Chinese to English.
    2. Restart the Reports Server and restart others.
    3. Change the Windows Regional Settings back from English to Chinese. .
    With these 3 steps, the Reports Server will keep sending the Notification Emails with English/Western Date and Time format, and maintain original settings.

  • Interactive Report - Chart axis value wrong data

    Hi,
    we created an interactive report based on demo_orders table.
    The interactive chart is displaying wrong data on the value axis (4,00000 instead of 4,000.00)!
    Values in the table are ok, even the value displayed when user clicks on specific data point is correct.
    Did somebody had similar problems?
    Application Express 3.2.0.00.27
    AnyChart #5.1.3
    Thanks.
    Regards,
    Kristjan

    Hi Kristjan,
    I'm able to reproduce the issue you report, using an Interactive Report in APEX 3.2.1 and 4.0, where the Application Language is a non-English option. So for example, if my chart label in English is *10,000.00* and when I switch the Application Primary Language to German, then the displayed values should be *10.000,00* however it is incorrectly appearing as *10,000*. When running in some non-English languages, the NLS decimal separator used is a comma ',', but this isn't been correctly applied to the Interactive Report chart. The problem is arising from the fact that the decimal separator setting in the chart XML is not being escaped correctly, and is therefore being ignored. I've logged bug 10154666 to track this issue, and a fix for this will be available in our next release. Thanks for bringing this to our attention. In the meantime, and to ensure the values on your chart are accurately displayed, it might be best to create a separate chart region on the page in question, rather than using the Interactive report chart.
    Regards,
    Hilary

  • EWA Report collect the wrong data

    Hi all
    Our EWA Report can not collect data perfectly
    It says that
    When we checked the log files of the archive runs, we detected that your archive strategy does not follow the SAP archive recommendations.
    In the time period from 28.04.2009 to 25.05.2009 , we noticed the following problems:
    - There was neither a successful archive run nor a successful off-line backup on Friday 22.05.2009
    - There was neither a successful archive run nor a successful off-line backup on Thursday 21.05.2009
    - There was neither a successful archive run nor a successful off-line backup on Wednesday 20.05.2009
    - There was neither a successful archive run nor a successful off-line backup on Tuesday 19.05.2009
    - There was neither a successful archive run nor a successful off-line backup on Monday 18.05.2009
    There are 5 working days without successful archive run this week.
    In fact, the backup run smoothly, for that period. I think the system read the wrong period. On 5 May - 6 May 2009, backup error but from 7 May until now, backup run smoothly
    FYI : On 8 Mei 2009 we restart our production system
    The saposcol and sapccmsr run already
    but when I hit OS07N, there is no data on casapdb system, error "Partner casapdb_CAP_32 not reached (reading table)
    Can anybody help to to solve my problem?
    thanks
    regards,
    Della

    well for backups as you say.....
    SAP looks for offline backups every day and since you are not doing offline backups,so it says an error during EWA report,so you must not be too much concerned on backup error in EWA report,
    what wrong data is EWA collecting apart from this
    Rohit

  • Urgent BEX Report Showing the Wrong data

    Hi Experts,
    In my Cube the data is available curreclty, but where as my bex report showing the wrong data.
    like xeample:
    Infocube
    Material               Plant    Year    Units  Qty
    000000000002001032     003     2006     BAG   1,500
    But in bex i took the same selection's, but it displays as
    000000000002001032     003     2006     BAG   2
      i am Unable to trace this
    any help plzzz
    Anil

    Hi,
    since Quantity(units PC??) can not be in decimals,Bex will round off 1.5 to 2 in bex report.
    Use NODIM function i.e. NODIM(Qty) instead of Quantity.
    NODIM function is available under data functions of Formula builder.
    From context menu fo KF structure>new formula>NODIM(Qty).
    or
    try by setting Decimal places to  2 or 3 in KF properties in Bex Query.
    hope this helps.
    Message was edited by: Murali

  • Report showing wrong data

    Hi Gurus,
    When we are generating report in the answers in one column it is showing wrong data from where i have to start for this issue.
    Thanks,
    Rafi

    Pull that column alone,run report, compare the results with your manual query, and also compare the physical query.
    if all are good then try to add other column from any other dim and then do the same as above
    repeat till you know the cause.
    Pls mark if helps

  • Error: "Wrong Data" in Burst Distribution using ReportServer 10.1.2.0.2

    Hi All,
    I have a sporadic problem with the burst distribution of ASCII-Files with ReportServer 10.1.2.0.2 and would like to know if this is fixed in 10.1.2.0.3
    (I already checked the bug list, but it does not seem to be on there).
    So here goes:
    I have a small report which is run "pretty often", selecting data for different customers and bursting it into separate files by a so called "telebox" number as discriminator.
    The report is run with the following "simple" distribution file:
    <destinations>     
    <foreach>
         <file id="a1" name="/&amp;&lt;gdateiname&gt;"
         format="ascii" instance="this">
         <include src="report"/>
         </file>
    </foreach>
    </destinations>
    gdateiname is a formula column containing the telebox number calculated in the Group referenced in the "repeat on"-property of the relevant main section of the report (header and tail are empty).
    This works pretty good except sporadically, files get created which are of exactly the same size, and the data contained is identical. In these cases, for example, 6 files get generated, of which 5 are correct and one is an exact duplicate (though with different filename containing the "telebox") of one of the others.
    Any ideas ?
    I'd greatly appreciate it, thanks in advance,...
    Jens Rettig

    Hello,
    Your problem may be related to the bug :
    bug : 4533338 : DUPLICATE FILENAME GENERATED BY RWFDTGCF_GENCACHEFILE / WRONG DATA DISTRIBUTED
    This bug is fixed in Reports 10.1.2.3 (Reports 10.1.2 + patchset 3)
    Regards

  • Failed to read data from report file Reason: The table could not be found.

    BO Enterprise XI R2, cannot publish crystal reports using the publishing wizard.
    Failed to read data from report file Reason: The table could not be found.
    Any ideas to get around this would really help out.
    Regards

    Connection used Views, ODBC System DSN is setup properly.
    Approach for import from business view manager and import wizard.  both methods failed to import the Business View and underlying reports.
    I figure I may have imported the Business View wrong? From Business View Manager I exported from my dev server then imported to prod server.
    Apparently I learned exporting my business view also includes the Data Connections that the Business Views are dependent upon.
    So which ever folder you specify it copies it there. Originally the all Data Connections Resides on the root folder. To return it to the original location. I deleted what I had exported. Exported this time to the root folder, then only deleted the business views, foundation, elements. Then exported again to the folder where I intended then only deleted the Data Connection.
    Makes any sense? So I then had to re point the business views and all the dependent objects to the data connection that resides in the root folder.
    I tested the connection, it works fine. I properly updated my crystal reports to the business view in production. Did a sample extract it works as expected.
    However when i try to publish, either from Crystal or Publish wizard i get the same error?
    As a work around i am thinking, after updating the business view in the crystal reports, shall i re map the fields?? or reexport the business views again?
    Any help will be surely appreciated.

  • RKEVEXT3 - Execute CO-PA External Data Transfer - Report

    Hi All,
    We are using the report RKEVEXT3 to post the T&I data to the SAP. We have the input file and this program gets triggered and the job runs for around 3 hours. This long time is causing the problem for our overall job schedules..
    What we thought was to break the file into 4 smaller file and schedule 4 jobs together.. The all 4 job seems to run fine but when we look at the data we have realised that the final figures are less than the expected.  It seems that the last file data have been written into the COPA table and other 3 file data have been wiped off though while breaking the original file we have taken take of the fact that a material number should not be coming in different file..
    Can you please let us know if there is any restriction for the program or are we passing the wrong data on the selection screen.
    Regards,
    Vidya.

    Dear Jose,
    Unfortunately in UNICODE system fields with type I or F and
    even P in sender strucure are not supported. Only fields with type character are allowed.
    Please change your sender structure in such a way.
    There is no possibility in an unicode system to have in sender structure data type packed or floating numbers. Therefore, please change its definition to CHAR or NUMCHAR.
    Regards, Andrea

  • Wrong data being sent thru XI

    Hi All
    I have a strange problem. This is the scenario:
    Employee related changes are to be sent to payroll every night. We have a report which fetches all the changes in employee data on that pirticular day. It would call the proxy and send all the data thru XI.
    By debugging the report, i came to know that the report is fetching the correct data and sending that data by calling the proxy. But, when the scheduled job runs every night which runs this report, wrong data is being sent across. Completely different data is being sent during the job execution. What might be the problem?
    The report when run manually, is fetching right data and sending it. But, when it is run as a scheduled job, wrong data is being sent. I checked the job details, and everything seems to be fine. What all can i check?
    Many Thanks
    Chandra Sekhar

    > Variants seems to be fine. I checked them again.
    > Completely different employee data is being sent thru XI.
    > If there is any change in the XI message structure, or anywhere, data should not be sent when i am running the report manually. Am i right??
    Yes, you are right.
    > Correct data is being sent when i am running the report manually. But then, when the scheduled job runs in the night, i see completely different data being sent. This is strange to me.
    Can you run your job as execute immediately with a break point in your report & check if you are getting the same data.
    Chek the report name once again. I know you must have already checked the report name user name etc.. in your job.

  • Wrong date

    iCal shows wrong date in the sidebar. The right date appears when I open the application. It used to be there all the time even when the application was closed.

    Does your stored procedure for the report use the raw datetime parameters or do you cast them inside the procedure?

  • Cache manager give me a wrong date

    This is my problem:
    I move RPD file and Catalog from DEV instance to PROD instance to have same dashboard and reports in both instances, but when I access to Interactive Dashboard, and check Cache Manager in Administration Tool, it keep a wrong date, instead of give me 2010 year, it gives me 3910 year, and because of this I can not run some reports in my dashboard.
    I want to notice that not only move RPD and Catalog, I also change information in NQSConfig file, like reposiroty pointing to my RPD, I also change information in instanceconfig.xml file, like CatalogPath, to pointing to the Catalog I moved.
    So, if you can help me with this issue, I really appreciate it.
    Regards,
    Arnulfo

    Hi Nico, thanks for your quick answer but this error is not related with the browser cause we have the following situation:
    1.- First we delete all rows from the following table afiandwh.s_nq_acct that have "3910" as year date
    2.-Then we run this query: select count(*) from afiandwh.s_nq_acct where to_char(start_ts,'YYYY')='3910'
    And the result is 0 rows
    3.-So after that we entered to OBIEE Administration tool and in the physical layer we entered to OBI Usage Tracking and then in Table
    S_NQ_ACCT we made an "Update Row Count" and when it finished we run again the query of step 2 and we had 1 new registry in the
    database with "3910" date .
    So BI Server is generating these wrong dates, any idea why this could be happening?

  • Oralce query giving wrong data

    Hi all oracle experts :
    in oracle backend ( LOV ) user is selecting 'long text' instead of 'short text' and as a result user is getting wrong data Ship_To_Adress ( column ). here what i need is :
    Upon data is coming from Long_Text table - it should not bring the wrong data Ship_To address.. It should give no value on the report.
    feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
    please go through the following query and make necessary changes. thanks in advance for your precious time valuable advice
    looking the feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
    Thanks in advance
    Shiva
    SELECT
         wpsv.pick_slip_number          "Pick Slip #",
         wdd.source_header_number          "Sales Order #" ,
         wdd.source_line_number          "Sales Order Line #" ,
    nvl(round(ool.unit_selling_price,2),0) "unitsell price" ,
    (nvl(round(ool.unit_selling_price,2),0))*nvl(wpsv.primary_qty,0) "Extended sell rice",
         '*'||wpsv.transaction_id||'*'          "Task ID" ,
         wpsv.transaction_id               "Task ID#" ,
         msi.segment1               "Item",
         msi.description               "Item Description",
         msi.segment1 || ' - ' ||msi.description               "Item - Description",
         wdd.requested_quantity_uom          "UOM",
         wdd.serial_number               "Serial #",
         wnd.delivery_id               "Delivery#",
         wpsv.from_subinventory          "Pick from Sub-inventory",
         wpsv.from_subinventory          || ' - ' ||
              SELECT
                   segment1||'.'||segment2||'.'||segment3||'.'||segment4
              FROM
                   INV.MTL_ITEM_LOCATIONS
              WHERE
                   inventory_location_id     = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
         ) "Pick From",
              SELECT
                   segment1||'.'||segment2||'.'||segment3||'.'||segment4
              FROM
                   INV.MTL_ITEM_LOCATIONS
              WHERE
                   inventory_location_id     = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
         )                    "Pick from Location",
         wpsv.to_subinventory "Deliver to Sub-inventory",
              select
                   segment1||'.'||segment2||'.'||segment3||'.'||segment4
              from
                   inv.mtl_item_locations
              where
                   inventory_location_id     = wpsv.to_locator_id
         )                    "Deliver to Location",
         wpsv.primary_qty          "Quantity to be Picked",
         party.party_name||CHR(10)||
         DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
         DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
         DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
         DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
         DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL,      ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
         NVL(h.shipping_instructions, '-') shipping_instructions,
         NVL(h.shipment_priority_code,'-') shipment_priority_code,
    NVL(OL.MEANING,'-') "Freight Terms",
         NVL(FLV.meaning, '-') shipping_method,
         NVL(QQA.quote_attachment, '-'),
         RSA.name,
         NVL(h.packing_instructions, '-') packing_instructions,
         NVL(H.CUST_PO_NUMBER,'-') customer_po#
    FROM
    apps.oe_order_lines_all ool,
         APPS.WSH_PICK_SLIP_V               WPSV,
         WSH.WSH_DELIVERY_DETAILS          WDD,
         INV.MTL_SYSTEM_ITEMS_B          MSI,
         WSH.WSH_DELIVERY_ASSIGNMENTS     WDA,
         WSH.WSH_NEW_DELIVERIES          WND,
         APPS.ORG_ORGANIZATION_DEFINITIONS     ORG,
         WMS.WMS_DISPATCHED_TASKS          WDT,
         APPS.OE_ORDER_HEADERS_ALL          H,
         APPS.HZ_CUST_SITE_USES_ALL          SHIP_SU,
         APPS.HZ_PARTY_SITES               SHIP_PS,
         APPS.HZ_LOCATIONS               SHIP_LOC,
         APPS.HZ_CUST_ACCT_SITES_ALL          SHIP_CAS,
         APPS.HZ_PARTIES                PARTY,
         APPS.FND_LOOKUP_VALUES          FLV,
    APPS.OE_LOOKUPS OL,
              SELECT
                   OOH.header_id,
                   MAX(DECODE(rownum,1, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,2, FDST.short_text, ''))||MAX(DECODE(rownum,3, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,4, FDST.short_text, '')) quote_attachment
              FROM
                   APPS.FND_ATTACHED_DOCUMENTS     FAD
                   , APPS.FND_DOCUMENTS_TL          FDT
                   , APPS.FND_DOCUMENTS_SHORT_TEXT     FDST
                   , APPS.FND_DOCUMENTS               FD
                   , APPS.FND_DOCUMENT_CATEGORIES_TL     FDC
                   , APPS.OE_ORDER_HEADERS_ALL          OOH
                   , APPS.ORG_ORGANIZATION_DEFINITIONS OOD
              WHERE
                   OOD.organization_id =?Organization ? AND
                   OOH.ORDER_NUMBER = ?SO#? AND
                   OOH.org_id = OOD.operating_unit AND
                   TO_CHAR(OOH.header_id) = FAD.pk1_value AND
                   FAD.document_id = FDT.document_id AND
                   FAD.entity_name = 'OE_ORDER_HEADERS' AND
                   FDT.media_id = FDST.media_id AND
                   FDT.language = 'US' AND
                   FAD.document_id = FD.document_id AND
                   FD.category_id = FDC.category_id AND
                   FDC.language = 'US' AND
                   FDC.user_name ='APS_Pack/AR Invoice/CI/SO Ack Printing'
              GROUP BY
                   OOH.header_id
         ) QQA
         , APPS.RA_SALESREPS_ALL RSA
    WHERE
         wpsv.move_order_line_id     =wdd.move_order_line_id          AND
         (wdd.source_header_number = ?SO#? )                    AND
         wdd.inventory_item_id     = msi.inventory_item_id(+)          AND
         wdd.organization_id          = msi.organization_id(+)          AND
         wdd.delivery_detail_id     = wda.delivery_detail_id          AND
         wda.delivery_id          = wnd.delivery_id(+)               AND
         wdd.organization_id = org.organization_id               AND
         wdt.TRANSACTION_TEMP_ID(+)=wpsv.transaction_id          AND
         wdt.organization_id (+)      =?Organization ?               AND
         wdd.organization_id          =?Organization ?               AND
         wdd.source_header_number      = h.order_number               AND
         h.salesrep_id = RSA.salesrep_id(+) AND
         h.org_id = RSA.org_id(+) AND
         h.org_id                = org.operating_unit               AND
         SHIP_PS.party_id          = PARTY.party_id(+)           AND
         H.ship_to_org_id          = SHIP_SU.site_use_id(+)           AND
         SHIP_SU.cust_acct_site_id     = SHIP_CAS.cust_acct_site_id(+)      AND
         SHIP_CAS.party_site_id     = SHIP_PS.party_site_id(+)           AND
         SHIP_LOC.location_id(+)     = SHIP_PS.location_id           AND
         H.shipping_method_code     = FLV.lookup_code(+)          AND
         FLV.lookup_type(+)          = 'SHIP_METHOD'               AND
         FLV.language(+)          = 'US'                    AND
         QQA.header_id(+)           = TO_CHAR(H.header_id)           AND
         wpsv.line_status          = 'UNPICKED'               AND
    H.FREIGHT_TERMS_CODE=OL.LOOKUP_CODE(+)
    AND OL.LOOKUP_TYPE(+) ='FREIGHT_TERMS' AND
    OOL.header_id = wdd.source_header_id(+) AND
    OOL.line_id = wdd.source_line_id(+) AND
         EXISTS(
              SELECT
                   'Y'
              FROM
                   INV.MTL_ONHAND_QUANTITIES_DETAIL OHQ
              WHERE
                   WDD.inventory_item_id     = OHQ.inventory_item_id     AND
                   WDD.organization_id     = OHQ.organization_id     AND
                   WPSV.from_subinventory = OHQ.subinventory_code
              GROUP BY
                   'Y'
              HAVING
                   SUM(transaction_quantity) >0
    ORDER BY
         2, 11, 12, 6, 3

    Thank you very much indeed for your reply - yes youre right. in oracle backend there are dropdown selections : 1) short text and 2) long text. as per the table user has to select short text so that he will get the correct output , but if by mistake user selects long text then the table is pulling wrong data. so here we need the query to be changed if user selects long text report shouldnt show any data..
    i am not sure but as per my little knowledge in oracle i believe that the problem is lying in the folloiwng query line.. please help me out in this regard. i have a screen shots of oralce backend where user is selecting long text / short text but here theres no option of inserting the files...
    DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
    DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
    DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
    DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
    DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL, ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
    Thank you very much once again
    Shiva

Maybe you are looking for

  • Imac 2012 making feint ticking noise?

    There is a feint ticking sound coming from the bottom of the apple logo on my imac 27. it dosen't sound threatning, but it dosent sound like it should be making this noise either. when i switch to bootcamp and use windows, the ticking sound goes away

  • How to find aged out sql_id of shared pool / after flushed shared pool in oracle 10g/11g

    i have one sql_id that was not in v$sql / v$sqltext when i flushed the shared pool now where can i find old sql_id

  • Retrieving triggers messages

    Hi! I came across this problem the other day. I have created triggers in my SQL. The triggers are stating appropriate message for any worng data entry. But I cannot catch this message from front end either by servlet or swing. Can any of you please h

  • Query Execution Time - Issue

    Hi, I have a query which took around 8mins to execute (for now). The table havd around 1 lakh records. Here is the query. Any boby point out the problem in this query? SELECT A.FISCAL_YEAR, A.FISCAL_PERIOD,      A.POSTING_DATE,      C.COSTCENTER_NAME

  • Call log empty

    Hi, The call log on the Compact isn't populating. I've tried doing hide and then show call log, as well as adding and removing filters but nothing works it just stays blank. Interestingely, I've added a call log widget to one of the screens and this