SQVI QUERY REPORT GENERATION

EXPERTS,
               I WANT A REPORT WHICH CONTAINS THE FOLLOWING FIELDS VIA QUERY GENERATION
1)MATERIAL
2)SHORT TEXT
3)QUANTIY
4)STOCK AS ON DATE
5)UNIT
6)DELIVERY DATE
7)MATERIAL GROUP
8)MATGEIAL GROU P DESCRIPTION
9)PLANT
10)REQUISITONER
11)NO OF REQUISITIONS
12)PURCHASE ORDER
13)OREDER QUANTITY
14)VENDOR
15)CHANGED ON
16)PO DATE
17)PURCHASE REQUISITIONS
18)BALANCE QANTITY TO ORDER
19)QUANTITY TO BE DELIVERED
I HAVE USED THE FOLLOWING TABLES TO JOIN- -- - MARA,EBAN,MBEW,EINE,EKPO,EKKO,MSEG
IN SELCTION FIELD I HAVE CHOOSE --- SUPPLYING VENDOR, PLANT
REPORT IS NOT RUNNING.
WHEN I RUN THE REPORT MESSEGE COMES "no data was selected"
please guide
THANKS & REGARDS,
MANISH K. BACHATE
Edited by: Csaba Szommer on Aug 19, 2011 8:08 AM

Manish,
There are so many things that could be wrong with your query, it is hard to know where to start.
You are using joins to link EBAN (Purchase Reqs), MSEG (material documents), MBEW (Material valuation), EKKO/EKPO (Purchase Orders), and MARA (Material master).  Depending on the types of joins, and the sequence, you would have to have a LOT of stars in alignment to get any data output.  Each join further limits the possible data that can be selected.
I suggest that you start with a less agressive query, say, EKPO joined to MARA on material, and EKPO joined with EKKO on Order number.  You will be able to get a substantial number of your desired fields.
If this solution is unsatisfactory, I suggest that you enlist the aid of a programmer to create a custom report that will solve your business requirement.  I really doubt that you will be able to get a meaningful report, meeting all of your business requirements, using SQVI.
Best Regards,
DB49

Similar Messages

  • Query report generation problem

    Hi,
    I want to know how to view the queryvalues without variable screen but after report showing the values if i click the variable screen option it should show the screen.
    If u know pls tell me.
    Thanks and regds,
    S.Girikumar.

    from what i understand you would like this below functionality:
    1) Run the report without giving the values in the variable screen.
    2) use the variable screen now to select the values.
    one of the possible solution:
    1) remove the mandatory option for all the variables
       eg: bex > 0customer > char values > select the variable > edit > remove mandatory option
    2) run the query
    3) you will be prompted with the variable screen, just say yes, without entering any values.
    4) report is displayed
    5) press the refresh button
    6) variable screen is displayed
    7) give the variable values now.
    let me know if i interpreted the questions wrong.
    Thanks,
    BWer
    Assing points if helpful.

  • Ad hoc query report geneartion

    Hi Guys,
    I am seeking your help on ad hoc query report generation.
    My requirement: There is a customized table maintained to fetch the description and the relevant data.. For ex: 
    Type of Vehicle
    Description
    XYZ
    Test description1
    ABC
    Test description 2
    The requirement is to fetch the description using ad-hoc query for all the type of vehicles. I have created a type of vehicle field and included in the field group. So far, I am able to get the type of vehicle on my ad-hoc report. But, the description fails to retrieve. Please note I have also created an additional description field on ad-hoc reports to fetch the description.. After the generation of the info set, I am unable to fetch the type of vehicle with the description.
    Can anyone please guide the field code that needs to be maintained specially to fetch the contents all together?
    Thanks.
    BP

    Hi,
    I have already mentioned that "Please note I have also created an additional description field on ad-hoc reports to fetch the description."

  • Query preview works; report generation fails

    I have a report query pulling data from two tables that: works in MS SQL Management Studio with no errors, and when copied and pasted into the Query window in BIRT works with a resulting Preview window as expected. However, the moment I hit View (in HTML or PDF, my two preferred outputs), I get an error message stating that the Report viewer cannot convert:
    "Can not convert the value of None to Integer type."
    I am sure this refers to the following query code:
    ,CAST(CASE
    WHEN a.Access1 > 1 THEN u.o_name03
    WHEN a.Access1 = 0 THEN 'None' END as varchar(10)) as 'Event'
    Where I cast the value of field access1 (tinyint) to a varchar in a case statement. However, what I don't understand is that the preview runs and returns the expected text ('None') with no problems.
    Why does the report generation itself cause this error - and more importantly, how do I fix it?
    By the way, the above code worked, at one time, without the CAST statement (both in Preview and in the report) but I changed the data tables and re-bound the report fields (one-by-one - there are 20 of them.)
    Ideas? What am I missing?
    Thanks in advance.

    Here it is:
    Stack Trace:
    org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred. See next exception for more information.
    Can not convert the value of None to Integer type.
    at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1245)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1224)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(BirtGetPageActionHandler.java:58)
    at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(AbstractGetPageActionHandler.java:118)
    at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:103)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
    at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(BirtDocumentProcessor.java:87)
    at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
    at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
    at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:370)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information.
    Can not convert the value of None to Integer type.
    at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:123)
    at org.eclipse.birt.data.engine.expression.ExprEvaluateUtil.evaluateExpression(ExprEvaluateUtil.java:88)
    at org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil.evaluateValue(BindingColumnsEvalUtil.java:201)
    at org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil.getColumnsValue(BindingColumnsEvalUtil.java:161)
    at org.eclipse.birt.data.engine.impl.ResultIterator.prepareCurrentRow(ResultIterator.java:784)
    at org.eclipse.birt.data.engine.impl.ResultIterator.(ResultIterator.java:168)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:222)
    at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    ... 71 more
    Caused by: org.eclipse.birt.core.exception.CoreException: Can not convert the value of None to Integer type.
    at org.eclipse.birt.core.data.DataTypeUtil.toInteger(DataTypeUtil.java:276)
    at org.eclipse.birt.core.data.DataTypeUtil.convert(DataTypeUtil.java:104)
    at org.eclipse.birt.data.engine.expression.ExprEvaluateUtil.evaluateExpression(ExprEvaluateUtil.java:84)
    ... 82 more

  • Report generation toolkit conditional format - how to?

    Hi
    We are using the Report generation toolkit (2010 version), and have a question regarding this tool.
    I see functions for setting the number format, but not a conditional format. Does this not exist?
    http://zone.ni.com/reference/en-XX/help/372120A-01/lvoffice/excel_set_cell_format/
    This page refers to an example which from the name sets a conditional format. However as I understand it, this example is setting a custom number, not a conditional format.

    Hi,
    the simplest way to do this I guess you can provide a template for your Excel sheet, where you can set the conditional format there.
    From LabVIEW you can just send the values into this sheet-template.
    Maybe you can try these if you want
    http://forums.ni.com/t5/LabVIEW/Using-conditional-formatting-in-excel-through-LabVIEW-activeX/td-p/1...
    http://forums.ni.com/t5/LabVIEW/Excel-Colour-properties-modified-via-LabVIEW/m-p/573748?query.id=218...
    Regards,
    Yan.

  • Report generation question

    Hi,
    With regards to BI Discoverer and BI Publisher, is a report/workbook re-generated from the underlying data source every time someone requests it or does the BI server serve up an existing copy of the report?
    The context: we will have some 600 reports being accessed by 2000 odd people. I'm trying to get some understanding of the load on the server and the performance of the report generation.
    Appreciate any help you can provide.
    Cheers,
    Nim

    BI Publisher will execute your query each time you access the report, by default BI Discoverer will do also. But BI Discoverer has the possibility to schedule reports, each time the report is accessed, the scheduled (saved) result will be shown on the report. An other possibility is to use snapshots on the DB to schedule your queries and base your reports on those snopshots.
    Michaek

  • Siebel & "BIP Report Generation" Workflow and Bookmark Syntax

    IHAC that wants to schedule the generation of a BIP report to run every weeknight and include a list of activities for the next day. We've utilized an OOTB IO and can successfully render the report using Sample XML in MS Word. Additionally, since they are only on 8.1.1, they do not currently have access to the latest scheduling capabilities. Therefore, we're trying to implement a repeating component to call a workflow to generate the report using the 'BIP Report Generation' workflow and the associated objects (from support posting 823360.1).
    Now to the questions:
    One of the parameters for the workflow is a 'Bookmark'. This parameter does not appear to handle various 'Siebel' querying functions like 'Today()' as part of the criteria. Can someone confirm this statement?
    Currently, I can imagine one high-level possible workarounds. This would entail a revised WF and that includes a prior step to generate the 'Bookmark' by retrieving a string representation of tomorrow's date and concatenating it with the rest of the criteria.
    Next question:
    Does anyone have any other possible alternatives? Maybe a calculated field in the BC/IC for 'Today() + 1' - but this could have performance implications.
    Thanks in advance for any help.

    Suggestions/comments?
    Bump.

  • Can't print to Epson TM-U590 Slip Printer from Report Generation Toolkit with LabVIEW 8.6.1

    Hi all,
    I have an application that uses the Report Generation Toolkit to print tickets to a docket printer.  Usually this works fine - I have 8 existing installations where there are no problems
    I'm currently installing the software at a new site that uses an Epson TM-U590 slip printer and I can't for the life of me get printing to work
    Using a Standard Report, the Print Report.vi returns error -41002 which indicates it can't find the printer.  I've opened up the VI using remote debugging and it does find the printer name correctly with the Query Available Printers.vi.  It gets an error code -2147352567 from the Printout node, which then gets replaced with the -41002 error which is reported.
    For historical reasons I'm still using LabVIEW 8.6.1 for this project.  I'm considering moving to 2011 or 2012 but I've had reliability issues with other parts of the application after attempting to update to a newer LabVIEW version so I'd like to avoid that at this stage.
    The application is running on a standard desktop PC with Windows 7.  The slip printer works fine if I print to it from Notepad, and my application is happy to print to any other printer, just not the slip printer.
    The slip printer is using the LPT port.  Previously the docket printers I've used have been USB but I would expect the printer driver to hide this detail from the application...
    Any ideas would be much appreciated
    Cheers
    Brett
    Senior Software Development Engineer
    Certified LabVIEW Architect and LabVIEW Champion
    Solved!
    Go to Solution.

    I've managed to sort out the problem, thanks to this KB article: http://digital.ni.com/public.nsf/allkb/67D60209102E2161862568AC0074BF64
    I'm now having the same issue with a Star docket printer (a TUP592), this time with another program developed in LabVIEW 2011.
    As mentioned in the article, the problem is actually to do with the margin settings rather than the printer name, despite what the error message says
    After some experimentation, I've gotten the Star printer to work by setting a large (>14cm) right margin.  No idea why this is required as it seems to print right up to the right edge of the paper quite happily, but there you go.
    So I haven't defintely fixed the original problem yet as I haven't gotten back to the site, but hopefully this will be of some help to someone else.
    Cheers
    Brett
    Senior Software Development Engineer
    Certified LabVIEW Architect and LabVIEW Champion

  • 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

  • Report generation toolkit with openoffice

    hello all
    i would like to know if it is possible to use the report generation toolkit with openoffice instead microsoft office? because i do not have the toolkit already i can't test it and i will only buy it if this is possible...
    i ask also because i used another application with word export not long ago what was ending with the error message "windows ole server not found". so the question is if something of the microsoft product line is necessary? i am quite sure that the opening of a produced doc would be possible in openoffice without problems - at least i hope so!
    only one thread i found, unfortunately in french : http://forums.ni.com/ni/board/message?board.id=4170&message.id=13060&query.id=139594#M13060
    thanks a lot, mischl

    Another option to consider is to use the report generation VIs that ship with LV and simply output to a PDF document rather than a hardcopy printer.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br>
    I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report is without columns heads. I would like to include the column headings as well. <br><br>
    I searched the API(RAS) and found that there is a 'add(java.lang.String fieldName, java.lang.String headingText) " method present in "ReportObjectController" using which we can add the headings.<br><br>
    ReportDefController reportDefController = clientDoc.getReportDefController();
    ReportObjectController reportObjectController = reportDefController.getReportObjectController();
    reportObjectController.add( "{Table.Field}", "FieldName" );
    <br><br>
    I'm facing problems in using this code. When trying to use this function for my fields(Ex: reportObjectController.add( "{ IRS_REPORT_DETAILS.REPORT_ID}", "Report ID" );) it is giving me the following error:<br><br>"com.crystaldecisions.sdk.occa.report.lib.ReportSDKGroupException: The field was not found.---- Error code:-2147213310 Error code name:fieldNotFound"<br><br>
    <b>The following is my dynamic crystal report generation code:</b><br><br>
    public ReportClientDocument execute(String repName, String query) {
              ReportClientDocument boReportClientDocument = null;
              try {
                   boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                      // Add a table based on the given Resultset to the report.
                   dbConnResultSet mySampleResultSet = new dbConnResultSet();
                   //mySampleResultSet.execute(query);
                   boReportClientDocument.getDatabaseController().addDataSource(
                             mySampleResultSet.execute(query));
                   IReportSource test = boReportClientDocument.getReportSource();
                   // Access all the database fields
                   DatabaseController databaseController = boReportClientDocument
                             .getDatabaseController();
                   IDatabase database = databaseController.getDatabase();
                   Tables tables = database.getTables();
                   ITable table = (Table) tables.getTable(0);
                   int NO_OF_FIELDS = table.getDataFields().size();
                   int LEFT_POSITION = 200;
                   // Add all the database fields to the report document
                   for (int i = 0; i < NO_OF_FIELDS; i++) {
                        IField field = table.getDataFields().getField(i);
                        FieldObject fieldObject = new FieldObject();
                        fieldObject.setFieldValueType(field.getType());
                        fieldObject.setDataSource(field.getFormulaForm());
                        IReportObject rep = (IReportObject) fieldObject;
                        IObjectFormat objformat = rep.getFormat();
                        objformat.setEnableCanGrow(true);
                        objformat.setHorizontalAlignment(Alignment.from_int(1));
                        rep.setFormat(objformat);
                        rep.setLeft(LEFT_POSITION);
                        rep.setWidth(1000);
                        LEFT_POSITION = LEFT_POSITION + 1000 + 50;
                        ISection section = boReportClientDocument
                                  .getReportDefController().getReportDefinition()
                                  .getDetailArea().getSections().getSection(0);
                                   //***************** Data being added to the report here, But headings are not added*****************
                        boReportClientDocument.getReportDefController()
                                  .getReportObjectController().add(rep, section, i);
                   boReportClientDocument.createReport();
                   /*Some report saving code is present down*/
              } catch (ReportSDKException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              return boReportClientDocument;
    <br><br>
    appreciate your help.

    IField field = table.getDataFields().getField(i);
    Here you are getting the first field in the array.  This may not be the field you want to add since we aren't sure how the arrays are ordered when retrieving fields from the report.  It is better to retrieve the fields with the findObjectByName method, thus ensuring you are retrieving the field you want to add to your heading.

  • Issue with ADF Application Report Generation

    1) We are developing the web-base ERP application we are using technology as follows
    a) Operating System Red Hat Enterprise Linux4.
    b) Application Server Oracle Application Server 10.1.3
    c) Oracle ADF is the frame work
    d) Jasper reports (iReport 3.0.0) as report generation tool.
    While generating larger reports using iReport3.0.0 Tool i,e., contains more than 20,000 records the query while executed in Sqlplus takes less than a minute, but while the report is run it takes more time leading to time out and the pdf file is not generated. The error shown on the screen is “the web server unable to process the given request”
    The session time-out is 5 minutes. Please help us to tackle this issue since most of the reports are summarized reports and contain large transactional data and is critical reports.
    You may also suggest other web based report tools which help us generate large reports in PDF and/or text formats.
    By
    PRABEETHSOY P
    Edited by: prabeethsoy on Jun 26, 2009 1:13 AM

    PRABEETHSOY,
    some things come to mind.
    While generating larger reports using iReport3.0.0 Tool i,e., contains more than 20,000 records the query while executed in Sqlplus takes less than a minute, but while the report is run it takes more time leading to time out and the pdf file is not generated.Running a query in sqlplus is totally different from running it in an application. Sqlplus only pumps the results to the screen, whereas the application builds some layers around the data, so that you can navigate through the result. This will cost some time.
    You can try to optimize your strategy working with the data, i.e. running the query in forward only mode and/or omit the usaeg of EO where you know you don't need to change data.
    But in the end you may find that you have to use a different approach to generate the reports: do it asynchrony, meaning that you start the generation on the server, let it finish there (putting the result in a file) and send the finished report to the user in a different request. Do do this you can use a poll component, or you ask the user to come back later (giving him a report number to ask for). Other solution are possible.
    Timo

  • Automating a report generation process

    Hello guys!
    I just took on a new role in a company which requires me to deal with SAP BEx Analyzer.
    I'm completely new to this, but having gone through the report generation process, I feel the method I'm using is horribly tedious and I believe there should be a way to automate the process since it's a recurring monthly procedure.
    What I have to do currently to get the report is:
    1. Launch SAP Logon
    2. Filter the Connection which i want to find (i'll call it "PQI").
    3. Key in my Username, Password and Language
    4. Select the third container in the folder (i'll call it "03")
    5. After I open 03, it launches Excel with BEx Analyzer add in initialized. The report is currently empty
    6. Select Change Variable Values, fill in Fiscal Year, Month and Accounting Area.
    7. After which it will take like 15minutes to query, and a about 16,000 ++ rows are generated.
        Problem #1: The format isn't good, i have to right click on every cell that writes "Result" with yellow highlight and under it's properties I have to select         "Result Rows" > "Always Suppress".  (Ref1.PNG)
         This is horribly painful considering I have to wait about 1 minute for each response (it's very slow). I have to repeat this for every yellow column in the
         report. Can this be automated or done in 1 step?
    8. After doing so for all rows, I have to right click the table and select "Query Properties" and shift all the Free Characteristics (about 10) to "Rows".
         BUT, I can't do all at once, it will say "out of memory" and crash. I have to do so 2-3 rows at a time. Each time it'll take about 10-15 minutes to
         populate. It's very painful.
    9. After it's all done, i have to repeat step 7 again, which is to Suppress all result rows (Ref2.PNG)
    10.Followed by which I have to go to Query Properties > Display Options > Uncheck "supress repeated key values"
    11. When that is done I have to generate a PivotTable on the data.
    I have to repeat the same steps on a monthly basis.
    Is there a way I can script it to run the process for me monthly? Or any other way to make it less tedious?
    Thanks so much for any input or suggestion guys!
    Warmest Regards
    Brandon

    Suppressing Result Rows can be done in Query designer itself for one time. You need not to do after you get the report every time.
    If you always expect some 10 free chars constantly, i suggest you to insert them in Rows pane in Query designer but not in Analyzer. So that your report layout will be taking care with all settings what you want to do after the report generates in Excel. I mean you will get desired layout when you run the report first time itself.
    Suppress repeated key values also can be done in Query designer itself one time.
    By doing above, your report execution will not be tedious and it will be minimizing your efforts.
    Over all, What I have understood is, you are doing all sorts of settings in Analyzer after getting such huge volume of data, by which it gives you crash error.
    With all above steps, you can run your report with all pre-defined settings.

  • What is the mean of standard and HTML in report generation?

    What is the mean of standard and HTML in report generation?  I  need your help.Thank you!
    1110340020

    check these links for your query they will help you
    http://www.ni.com/white-paper/13926/en/
    http://www.ni.com/example/27568/en/

  • ABAP QUERY Report : column number change

    Hi friends,
    I need to modify the existing ABAP QUERY REPORT.
    I have added a new field in the selection screen.
    When I execute the query, it(our new filed) is displaying at the end of the columns.
    But I want it to be at 8th columns. please help me.
    When I try to change the out position to "8"at "Basic list" -> select check box of our field and double clict it, I am getting the following error.
    Warning: Overlapping fields
    Those fields overlapped by other fields will not be displayed in their entirety.
    So I could not display the new field at 8 th column.
    Guys. Please help me.

    Hi
    You have to change the position of each field after 8th column
    suppose you added your new field at the 8th column position
    then all the subsequent fields positions you have to adjust as per their length
    You have to do like this to adjust the columns
    see the doc on query
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    Regards
    Anji

Maybe you are looking for