Drill down Error in Report Generation

Hi,
I've a problem with a Report generation.
The ERROR Message is the following one:
Odbc driver returned an error (SQLExecDirectW).
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] Generic error. [nQSError: 27002] near <(>: syntax error [nQSError: 26012] . (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Pivot xTD"."ID Report", "Pivot xTD"."Ordine Raggruppamento 1", "Pivot xTD"."Ordine Raggruppamento 2", "Pivot xTD"."Raggruppamento 1", "Pivot xTD".Valore, "Territorio"."Coda", "Territorio"."UT", DBO.FN_GET_PIVOT_LABEL_BI("Pivot xTD"."Label",TIMESTAMP ''2011-03-28 00:00:00.000'',TIMESTAMP ''2011-03-28 00:00:00.000'',"Calendario"."Max Giorno Pivot (formato data)",''Giornaliero''), EVALUATE(''DBO.FNC_GET_DATE_LABEL_BI(%1,%2,%3,%4)'' AS CHAR(500), TIMESTAMP''2011-03-28 00:00:00'', TIMESTAMP''2011-03-28 00:00:00'', Calendario."Max Giorno Pivot (formato data)", ''Giornaliero''), EVALUATE(''DBO.FN_GET_PIVOT_LABEL_BI(%1,%2,%3,%4,%5)'' AS CHAR(500), "Pivot xTD".Label, TIMESTAMP''2011-03-28 00:00:00'', TIMESTAMP''2011-03-28 00:00:00'', Calendario."Max Giorno Pivot (formato data)", ''Giornaliero''), Territorio.Coda, case "Pivot xTD"."ID KPI" when ''LAVORATO_BO_TOTALE'' THEN ''Totale'' when ''LAVORATO_BO_RECLAMI'' THEN ''di cui Reclami'' when ''LAVORATO_BO_AC'' THEN ''Di cui AC'' when ''LAVORATO_BO_CARTACEO'' THEN ''di cui Cartaceo'' when ''LAVORATO_BO_TELEFONICO'' THEN ''di cui Telefonico'' end FROM "Reportistica Predefinita"')}
SQL Issued: SELECT "Pivot xTD"."ID Report", "Pivot xTD"."Ordine Raggruppamento 1", "Pivot xTD"."Ordine Raggruppamento 2", "Pivot xTD"."Raggruppamento 1", "Pivot xTD".Valore, "Territorio"."Coda", "Territorio"."UT", DBO.FN_GET_PIVOT_LABEL_BI("Pivot xTD"."Label",TIMESTAMP '2011-03-28 00:00:00.000',TIMESTAMP '2011-03-28 00:00:00.000',"Calendario"."Max Giorno Pivot (formato data)",'Giornaliero'), EVALUATE('DBO.FNC_GET_DATE_LABEL_BI(%1,%2,%3,%4)' AS CHAR(500), TIMESTAMP'2011-03-28 00:00:00', TIMESTAMP'2011-03-28 00:00:00', Calendario."Max Giorno Pivot (formato data)", 'Giornaliero'), EVALUATE('DBO.FN_GET_PIVOT_LABEL_BI(%1,%2,%3,%4,%5)' AS CHAR(500), "Pivot xTD".Label, TIMESTAMP'2011-03-28 00:00:00', TIMESTAMP'2011-03-28 00:00:00', Calendario."Max Giorno Pivot (formato data)", 'Giornaliero'), Territorio.Coda, case "Pivot xTD"."ID KPI" when 'LAVORATO_BO_TOTALE' THEN 'Totale' when 'LAVORATO_BO_RECLAMI' THEN 'di cui Reclami' when 'LAVORATO_BO_AC' THEN 'Di cui AC' when 'LAVORATO_BO_CARTACEO' THEN 'di cui Cartaceo' when 'LAVORATO_BO_TELEFONICO' THEN 'di cui Telefonico' end FROM "Reportistica Predefinita"
Can someone help me?
Thanks a lot.
Edited by: user13313458 on 20-mag-2011 2.58
Edited by: user13313458 on 20-mag-2011 3.01
Edited by: user13313458 on 20-mag-2011 3.02
Edited by: user13313458 on 20-mag-2011 3.02
Edited by: user13313458 on 20-mag-2011 3.03
Edited by: user13313458 on 20-mag-2011 3.05

Thanks a lot for your answer.
I tried to run the query in a SQL editor, and i've noticed that there's a function that lost its own parameters:
EVALUATE('DBO.FNC_GET_DATE_LABEL_BI(%1,%2,%3,%4)' AS CHAR(500),
     TIMESTAMP'',
     TIMESTAMP'',
     Calendario."Max Giorno Pivot (formato data)",
So i've tried to rune the function in this way:
EVALUATE('DBO.FNC_GET_DATE_LABEL_BI(%1,%2,%3,%4)' AS CHAR(500),
     TIMESTAMP '2011-01-01 00:00:00.000',
     TIMESTAMP '2011-01-01 00:00:00.000',
     TIMESTAMP '2011-01-01 00:00:00.000',
     'string')
but the error is the same.
What can i do?
Edited by: user13313458 on 23-mag-2011 3.02

Similar Messages

  • Error Message appears when drilling down from a report.

    Hi,
    I am using CR XI R2.
    I have an rpt file that displays a chart from a sub report.
    I tested it on the CR designer and report viewer - works ok.
    When I display this report in my .Net application, I get an error message when drilling down from this chart : "The Report Application Server failed"
    When looking at the log files I see this error message:
    4 19 13:11:14.770 5336 5564 (\servers\ras\dtsagent\reporthandler.cpp:11622): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:11618 ErrorCode:997 ErrorMsg:"" DetailedErrorMsg:""
    This is a Viewer error - but when drilling down from the Report Viewer I don't get this exception.
    Does anyone know what this mean?

    Too strange and my require a phone support case;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Three ideas:
    1) Install CR designer on one of the boxes where this does not work and try to run the report there
    2) Add a line to your code and save out the report just after your database logon once ( .saveAs). try to run this report in the CR designer.
    3) Use the [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility to compare the runtime - both CR and db client between computers that work and those that do not.
    Ludek

  • Error in report generation-Load report failed

    I have installed crystal reports  for VS2005 runtime in my live environment.When i try to load the report file from a .Net page i am getting the error'Error in Report generation-Load report failed'.
    This works fine in development and testing but when moved to production we are having issues.
    I believe i have a workaround i.e i need to open the rpt in a VS 2005 environment and re-write the connection string again.This fix had worked in development and testing when we had the same issue.
    But not sure if this is a known issue with crystal reports and if so do we have any hot fixes for the same.
    Please help.

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Not able to drill down S_ALR_87013558 in reports

    Hello Experts,
    I am in strange situation where in I am not able to drill down my budget report S_ALR_87013558 in my development client. But it is working fine in production client.
    What could be the reason.?
    Please suggest.
    Thanks,
    Kumar Srinivasan

    Hi Kumar,
    Follow below steps in sequence.
    1. Please execute CJE2.
    2. Double Click on report 12KST1A. Message will come "You are changing an SAP delivery object". Press the tick mark.
    3. On Output Type tab, you must have clicked on radio button "Graphical Report Output". Please change the radio button classical drilldown and check "Available on Selection Screen" at the buttom.
    4. Save it.
    Check your report again and you will have an option there.
    Regards,
    Amit

  • How to setup the drill down on union report

    Hi,
    I'm setting the union report.
    I want to set the drill down to another report.
    But I can't setup it.
    Would you please tell me how to setup.
    Thank you.

    Hi Hemlatha
    In Crystal Reports, to prevent the ability to drill down into a subreport when published on the Web, add a text object that is filled with blank spaces, created by pressing the 'Space Bar' and 'Enter' for line returns, to eclipse the subreport.
    This workaround is applicable only to subreports that does not grow in size. For example, subreports that display only a chart or graph.
    Steps to Add a Text Object over a Subreport
    1. In the Crystal Reports Designer of the main report, insert a text object over the subreport.
    2. Resize the text object to be the same size or a little larger than the subreport object on the main report.
    3. Fill the text object with blank spaces created by pressing the 'Space Bar' and 'Enter'. This is necessary because resizing a text object without
    the blank spaces will not maintain its size when it has been published on the Web.
    ====================
    NOTE:
    You can format the text object with a hyperlink to another report, another file or a URL.
    ====================
    Now, when the Crystal report is previewed on the Web, the text object that fully eclipses the subreport will prevent the ability to drill down into it.
    Regards
    Girish

  • Drill-down lost in Report Builder

    Ever since the CFMX7.02 upgrade, we have lost the ability to
    drill-down on the Report Builder reports which previously had
    drill-down capability. I am referring to summary lines which
    contained a link to the detail. Has anyone experienced this and is
    there a fix for it?

    Do you choose PDF instead of flash paper as the output
    format? By some reason, the drill-down function does not work in
    flash paper format.
    Good luck,
    Daniel

  • HOW TO ADD DRILL DOWN IN A REPORT

    hi
    well i want to add drill down in my report....
    im unable to find it ....
    can you please help me to make a drill down in my report.
    thnx and regards
    UMAR NAYAB.

    hey thnx toronto..
    im able to make drill in my report....
    now my chart is not changing its data according to drill.....
    like my bar chart should also change with the data drilled down....
    please help regarding this....
    regards.

  • Drill down in XL Reporter

    Hi
    Can we have drill down in XL Reporter -Report Organizer
    Regards
    Farheen

    Hi Rekha,
    We can user drill down in XL reporter composer and excel . IN rerport composer when you drag a field to the selection criteria then you can drill down by transaction level.
    But Report organiser is where all the reports are saved and give a look and feel like windows explorer.
    What is your requirement. Post reporting related queries in the reporting forum
    [Reporting and Printing;
    Regards,
    Rakesh N

  • PIE Chart Drill down in bex report

    Hi Friends,
    In my bex report i have pie chart for year 2008.
    Shall I drill down on this report means if  i click on one part of the pie chart will i go to another report or another pie chart.
    Can any one pls tell me is it possible .
    Thanks & Regards,
    Ramnaresh.
    Edited by: ramnaresh porana on Dec 1, 2008 6:35 AM

    Hi ,
    Thanks for reply.
    how it is possible from context menu of the pie chart , i have seen the context menu of the pie chart but i did not get any related option for this one.
    Can you pls guide me.
    Thanks & Regards,
    Ramnaresh.

  • Drill down in webi report

    Hi,
    Is there any way to display the drill down in webi report.  For example:
    YearQuarterMonth--Week.......
    if the drill the Year option I can able to see all Quarter level measures and if I drill down further I can get into Month level measures and Week level and so on .
    But my question is When I drill the Year to Quarter...I want it to display both Year and Quarter and If I drill down further
    I want all the measures related to Year ,Quarter, Month and so on
    Basically want I need is a tree level hierarchy......Could any one plz help me what all changes I need to make in order to get a detailed report.
    Thanks
    Sushma
    Edited by: Sushma Reddy on Feb 9, 2010 9:44 PM

    Hi,
    Try to create a Class e.g Time in universe and objects to that class as year, quarter,month as
    Year Object -> data type -> D/N
    select To_date('sysdate','YYYY) as year from dual
    Month object-> data type -> D/N
    select to_date)'sysdate','MM') as month from dual;
    Quarter -> data type -> D/N
    case when @select(Time/Month) in (1,2,3) then q1
             when @select(Time/Month) in (4,5,6) then q2
              when @select(Time/Month) in (7,8,9) then q4
               when @select(Time/Month) in (10,11,12) then q4
    endcase
    Then create a hierarch in tools -> hiearchy ->custom hierarchy and add the above class there then in any report (Deski/WebI)
    you will get the above hierarchy and use it according to your requirement.
    Cheers,
    Suresh Aluri.

  • Drill-down into AWR reports

    Hi experts,
    any can help me in this topic Drill-down into AWR reports.

    A typical AWR report - produced in html format- includes its main categories(for example Top 5 timed events) hyperlinked. By clicking on each one , you can navigate to a thorough analysis of all db parameters regarding it......
    Anyway....Can you more specific of what exactly do you want...?????
    Greetings...
    Sim

  • Error WHen rying to Drill down in the Report

    Hi ,
    I am getting the below error when trying to Drill down on a characterstic in the Report.
    "500 Internal Server Error"
    BEx Web Application
    Failed to process request; contact your system administrator
    Information for Administrator
    To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
    1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1033246.
    2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool  does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
    3. When opening any customer message on this issue, please attach:
    Support Desktop Tool support info ZIP  file according to note 937697,
    Required information for reproduction  according to note 948490.
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was: 
    Termination message sent
    ABEND RS_EXCEPTION (000): ORA-00904: "P0000"."CATTYPE_OT": invalid identifier
      MSGV1: ORA-00904: "P0000"."CATTYPE_OT": invalid
      MSGV2: identifier

    Good day,
    Please check if Note 1327130  helps ...
    Regards,
    Karen

  • Drill Down Error / Report Builder Limitations

    I have been having alot of problems recently with the new
    version of 7.0.2. A few things that i have noticed is that i can't
    do drill downs anymore. I don't think it's a coding issue since it
    was working in the previous 2 releases of Report Builder(7.0,
    7.0.1).
    Another problem is that I have reports that return around
    1,000 pages. Now, I know there is a limitation on Flash Paper/Flash
    Player, whoever i was wondering if there is a work around or
    something i can do to get this reports to finish. Right now I get
    the error roughly stating "A script has cause this flash movie to
    become unstable and if you continue it might make the computer
    unresponsive". Currently the only work around that i have is to
    offer the same report in PDF format, however 90% of our customers
    want to run it in flash paper, and my boss wonts it to work using
    flash paper aswell.
    Any sugguestions that you might have or anything please email
    me. If you have any questions please email me aswell.
    Thank you,
    Daniel

    Yeah, still having this issue... Can't get the links working
    in Flash Paper. A temp fix is to have the report in PDF instead of
    Flash.

  • Drill Down in Map Report

    I've been trying to get drill down reporting working in a map report I've created an can't seem to get things to behave properly. So far, I've done everything I've read in several posts, but yet drill don still isn't functional.
    Here's what I've done:
    - Downloaded esri file from online and imported the spatial data in my SQL Server
    - Created a map report using spatial data as a source for the map. I also have a dataset based on an Analysis Services query...Sales by State. Each figure has a corresponding state abbreviation. Below is the map report. The map report takes one parameter:
    Year. The report is a color analytical map. Colors vary based on sales amount and year.
    Below is the map display:
    I have a second report called SalesByState that takes two parameters: State and Year.
    What I would like to happen is when a user clicks on a state, they are taken directly to the report that lists detail information based on the year and the state chosen in the first map report. The year isn't getting passed to the second report nor is the
    state clicked on.
    When I set up the Action tab in the Polygon Properties dialog, I'm not seeing the dataset values as available as a parameter. When trying to give an expression for the state parameter, I get an error:
    =First(Fields!STUSPS.Value, "SQLSpatialData") saying "Unknown Collection Member".
    The STUSPS field is the state abbreviation.
    Not sure what I'm missing here!
    A. M. Robinson

    Hi A. M. Robinson,
    Please refer to the steps below:
    Subreport:
    Add two datasets in the report: Spatial data, ContactState.
    Add a parameter in the report named SpatialData. Please refer to the following Available Values:
    Dataset: Spatial data
    Value field: STUSPS
    Label field: STUSPS
    Add a table in the report fill with specify data.
    Right click the table, select Tablix Properties.
    Click Visibility in the left pane. Select “Show or hide based on an expression” option, and type following expression:
    =IIF(Parameters!STUSPS.Value="ID" ,False,True)
    (Note: It is use parameter’s value to control the tablix visibility.)
    Main report:
    Based on your map design, click the PointLayer arrow in the Map Layers dialog box, select Point Properties.
    Click Action in the left pane. Select “Go to report” option.
    Select the specific subreport below “Specify a report”.
    Click Add, please refer to these values below:
    Name: SpatialData (Subreport Parameter’s name)        Value: [STUSPS]
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • URGENT!! Drill Down Error with Character Set non-ascii on Discoverer Viewer

    Hi,
    We have an error in a Drill down. It comes up when the Discoverer Viewer tries to process data that contains special character (non-ascii) in a query's filter. The same report that does not perform well with special characters, does perform well if the data don’t contains special characters, so it seems to be an issue processing non-ascii chars in this Discoverer Viewer instance.
    Ex. FIELD_NAME = 'öÜæäé (This filter is contained in a query that this getting an error msg="We're sorry, the server encountered an unexpected condition" ).
    It might be possible that there are some problems with the Discoverer charset ?
    We will appreciate any suggestion about this respect.
    Regrads,
    Seba.

    Sure,
    This is the hole sql command that get an error in a drill down action process
    SELECT NVL (sf_dw_people_skills.major_name, 'No Major'),
    sf_dw_people_skills.minor_name, sf_dw_people_skills.skill_name,
    sf_dw_people_skills.skill_level,
    sf_dw_people_all_rel_v.supervisor_name,
    sf_dw_people_all_rel_v.person_name, sf_dw_people_all_rel_v.LOCATION,
    sf_dw_people_all_rel_v.supervisor_dir_name, COUNT (1)
    FROM olnreport2.sf_dw_people_all_rel sf_dw_people_all_rel,
    olnreport2.sf_dw_people_skills sf_dw_people_skills,
    olnreport2.sf_dw_people_all_rel_v sf_dw_people_all_rel_v,
    olnreport2.sf_dw_competences_rel sf_dw_competences_rel
    WHERE ( (sf_dw_people_all_rel.person_id = sf_dw_people_skills.person_id
    AND (sf_dw_people_all_rel_v.person_id =
    sf_dw_people_skills.person_id
    AND (sf_dw_competences_rel.skill_id = sf_dw_people_skills.skill_id
    AND (sf_dw_people_all_rel_v.supervisor_id =
    sf_dw_people_all_rel.supervisor_id
    AND (sf_dw_people_all_rel_v.supervisor_name = 'Kunz, Jürgen Mr') /*When I replace the charset 'ü' by u, it´s work ok*/
    AND (sf_dw_people_skills.minor_name = 'HRMS')
    AND (sf_dw_people_skills.skill_name = 'HR Intelligence')
    AND ( sf_dw_competences_rel.competence_type = :"competence_type"
    AND sf_dw_competences_rel.competence_id IN ((:"competence_id"))
    AND (sf_dw_people_all_rel.supervisor_id IN ((:"Manager")))
    AND ((( :"resource_manager" <> -1
    AND olnreport2.do_val_person_job_prod
    ('RESOURCE_MANAGER_VIEW',
    sf_dw_people_skills.person_id,
    sf_dw_people_skills.job_code,
    sf_dw_people_skills.product_code,
    :"resource_manager"
    ) = 'Y'
    OR :"resource_manager" = -1
    GROUP BY NVL (sf_dw_people_skills.major_name, 'No Major'),
    sf_dw_people_skills.minor_name,
    sf_dw_people_skills.skill_name,
    sf_dw_people_skills.skill_level,
    sf_dw_people_all_rel_v.supervisor_name,
    sf_dw_people_all_rel_v.person_name,
    sf_dw_people_all_rel_v.LOCATION,
    sf_dw_people_all_rel_v.supervisor_dir_name;
    Regards,
    Seba.

Maybe you are looking for