Generate report  - absolute begginner question -

I need to generate a report from java . i was researching on iText but its for web based projects. What can i use for a desktop application. i am new to this, so can some one tell me a suitable technology and sample codes to understand it.

localpott wrote:
I need to generate a report from java . i was researching on iText but its for web based projects. [http://www.lowagie.com/iText/]
"iText is an ideal library for developers looking to enhance web- *and other applications* .."
That was something I discovered after searching for iText and taking the top link. It took about 10 seconds. Perhaps you should RTFM more carefully in future.
..What can i use for a desktop application. Is that a question?
...i am new to this, ..Applying your 'shift' key at the start of each sentence? It's easy. Simply hold down the shift key while typing the first letter in the sentence.
..so can some one tell me a suitable technology and sample codes to understand it.Can you pay me? I've never dealt with iText before. But for a suitable fee, I'll look into it.
Alternately, you might
- go back to the documentation
- read it carefully
- try some experiments on your own and
- if/when you strike a problem, ask a specific question (and add a '?' to the end of that question)

Similar Messages

  • Best way to generate report on huge data table

    Hi,
    I am using Oracle11g.
    I want to generate reports on transaction tables containing huge amount of data, on which very frequently DMLs are performing in real time.
    i want to keep my report/result in RESULT_CACHE for 15 mins. active. whenever any insert/update runs on main tables the RESULT_CACHE is getting invalidated
    my question is can i control/stop RESULT_CACHE relies on(table_name) invalidating, as Oracle11g invalidating RESULT_CACHE automatically.
    my requirement is to not hit the main table again&again.
    pls help..
    Thanks in advance.
    Vinod

    910575 wrote:
    Hi,
    I am using Oracle11g.
    I want to generate reports on transaction tables containing huge amount of data, on which very frequently DMLs are performing in real time.
    i want to keep my report/result in RESULT_CACHE for 15 mins. active. whenever any insert/update runs on main tables the RESULT_CACHE is getting invalidated
    my question is can i control/stop RESULT_CACHE relies on(table_name) invalidating, as Oracle11g invalidating RESULT_CACHE automatically.
    my requirement is to not hit the main table again&again.
    pls help..
    It sounds as if you're trying to avoid contention on a very busy large table while users are experimenting with relatively small fractions of the total data set. The type of thing you're doing is probably about the best approach - though it sounds as if you are not using global temporary tables which could save you a bit of time and contention when refreshing each private data set.
    Ideally, though, you probably want a front end tool that does client-side caching - i.e. pulls the data into the front-end tool and lets the user rearrange it cosmetically there until the user explicitly requests a new trip to the database. I think Oracle Discoverer has (had) some capability in this area. What's the scale of the work the users are doing - can you give us a few scenarios about how much raw data they will extract and what they want to do with it before they refresh it ?
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>
    P.S. Oracle does have client-side caching technology - but your ability to use it is dependent on the tools you use. You might want to go over to one of the developer or BI forums to see what they say about this problem; they may give you a different perspective on it.
    Edited by: Jonathan Lewis on Jan 31, 2012 6:55 PM

  • Generate XML report using MAX Generate report.vi

    Hi All,
    Caught in simple and wierd problem. I'm using a simle VI called MAX Generate Reoprt.vi to generate an XML report but getting error
    Error code -2147220553
     Error description :Incorrect report file extension provided.
    The image of the block diagram is attached. I'm able to generate HTML reoport from MAX(absolutely no probs).
    Thanks in advance
    Regards
    VDC
    Attachments:
    Error_in_MAX.JPG ‏7 KB

    You must have the correct file extention. Here's what is wirtten in the detailed help of the function:
    output filename specifies the filename of the generated report.
    You must have the correct extension for the type of report to generate (.xml, .htm, .html, or .zip).
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Generate Report From Template (Excel).vi & don't understand to fill the cells

    I am trying to use the Generate Report From Template (Excel).vi to build my own template, and then fill it with some of my datas. I am trying to replace the "temperature" or "pressure" labels by others, and then fill them with my vi. I don't understand how labview find the location of the labels in the excel template.
    Thanks in advance
    Attachments:
    Excel_Template.xls ‏33 KB
    Generate_Report_From_Template_(Excel).vi ‏120 KB

    You can get the answer to your question by reading the following thread:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000019360100&HTHREAD=000079385000079477000079498000079542000079632&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    The short answer:
    To setup or modify the Named Labels in your Excel template, use Excel's Insert -> Name -> Define command. A name can be defined as a single cell or a block of cells.
    Michael Munroe
    Certified LabVIEW Developer
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Generate Report with BI Publisher can't completed

    Hi all,
    I am new in oracle.
    Can anyone help me to solve this problem when I want to generate report by using XML publisher.
    I have made my template for my report in Microsoft Word and I am using BIPublisherDesktop to generate my report.
    Actually I want to make a conditional formatting and I always prompted with this error :
    Caused by: oracle.xdo.parser.v2.XSLException: <Line 100, Column 86>: XML-22047: (Error) Invalid instantiation of 'Attribute' in 'Element' context.
    Can anyone help me to solve this problem. I have read on this forum and I got not solution with it. Thanks a lot.

    It all depends on your XML file structure. Can you help us with a sample XML file. You can also mail me [email protected]
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Imp: Generating reports in OIM 9.1.0.2

    Hi All,
    How can we generate reports in OIM 9.1.0.2 ?
    We need to generate reports for users between two dates to keep a track of what all resources were provisioned or deprovisioned and what all changes were made to user accounts etc.
    As per my understanding, this in a single term can be said as "Auditing".
    So my question is: How can we enable Auditing in OIM 9.1.0.2. ?
    I couldn't find much on net, so I'm posting it here.
    Regards
    Nikhil

    Martin and Rajiv,
    Thanks for your help.
    I'm actually a newbie and I don't have much knowledge of OIM.
    I came to know that I can generate the above mentioned reports by writing and adapter and attaching it to a schedule task. I am aware of how to write the adapter and how the adapter is attached to the schedule task, but I'm not actually aware of what should I code in the adapter in order to fetch the required information. i.e. what should I code, that helps me to generate a report wherein I can find the provisioned resources to a particular user between a period of time.
    I am just not clear with what the approach should be in order to proceed further on this.
    Any help here would really be appreciated.
    I'm sorry for asking such kind of a question, but I'm very new to this and couldn't find a way better than this.
    Regards
    Nikhil

  • GPM Custom GPO-Settings: An error occurred while generating report: Object reference not set to an instance of an object.

    Hello,
    As you can tell from the title of this question, I am no expert with GPO's.  Before I begin, I spent a few minutes to an hour searching and reading in hopes of finding the solution and avoid putting myself out there as a "GPO Newb".  While
    I found several posts and answers that were similar and were related, the questions and answers were more advanced and did present the solutions providing the person had initial knowledge already.  That is not necessarily my case and I would ask for a
    little patience and a bit of 'hand-holding' for what I need.
    I run SBS 2011, and in Group Policy Management I have a custom GPO.  In this GPO I define all my settings.  I understand this may not be the best or most practical method of applying policies, but I am not very strict and have few settings.  This
    policy existed prior to my joining the company, and was migrated in to this SBS '11 from SBS '03.  That may be the issue, but before making any changes I am seeking expert advice.
    When I select that GPO, named "Main GPO", and click on the tab at the top "Settings" I see the error: "An error occurred while generating report: Object reference not set to an instance of an object."
    I saw that when I right click the GPO > View > Options and select the tab "Reporting" that it states that for reporting to work the location of the .adm files must be specified.  I see that my option for the location is set to "Default"
    which by my guessing would be located in the C:\Windows\sysvol directory.  Below is what I see there:
    C:\Windows\sysvol\domain
    C:\Windows\sysvol\staging
    C:\Windows\sysvol\staging areas
    C:\Windows\sysvol\sysvol
    I think the problem is that my custom GPO are not inside the default location, which I speculate is: C:\Windows\sysvol\domain\policies (which I do see some objects there).
    But instead I also see items in this folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just typed 'JOHN.LOCAL' is my actual local domain).
    To further this, when I edit that custom GPO, then at the very top of the tree I right click on it and select Properties, I see a Unique Name listed there as a long string of numbers and letters, similar to a registry entry.  I searched my server for
    that same Unique Name and found it listed inside the folder: C:\Windows\sysvol\domain\policies
    If I am correct with my assumption and basic knowledge, I should move all objects as follows:
    -Move FROM: C:\Windows\sysvol\domain\policies
    -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    My concerns are that I am not correct at all, that I will break something, that there may be an easier fix than moving anything, or that I am overlooking something causing this error altogether. 
    Thank you for anyone's help and time with assisting me with this request.
    John Fester

    > top "Settings" I see the error: "An error occurred while generating
    > report: Object reference not set to an instance of an object."
    That's due to a security setting (most possibly) your current OS does
    not understand. Hard to find out wich exact setting it is... To resolve
    this issue, we need the gtpptmpl.inf file residing in the policiy's
    sysvol folder. To open this folder, edit the policy, move to computer
    settings - policies - windows settings - scripts - startup, press "show
    files". Then move two folders upwards and back down to
    .\microsoft\windows nt\secedit. There you'll see the gpttmpl.inf - post
    its contents and we'll have a look at it.
    > location, which I speculate is: C:\Windows\sysvol\domain\policies (which
    > folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just
    That's perfectly ok - JOHN.LOCAL in fact is a symlink pointing to "domain".
    > all objects as follows:
    > -Move FROM: C:\Windows\sysvol\domain\policies
    > -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    No.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Portal performance monitoring scripts : (Unable to generate reports)  HELP

    Hi,
    Using 10.1.2.0.0
    I followed README.html document to load the logs files to generate reports for Portal Performance.
    First of all while running loadlogs.pl I keep getting the following error. I even tried adding -nodirect but still gets the same error. Don't know why. But it looks like there is some data loaded in OWA_LOGGER table
    C:\ORACLE_PRODUCTS\PORTAL_AS\portal\admin\plsql\perf\loader>perl loadlogs.pl -logical_host localhost -connection owa_perf/owa_perf@orcl -http_logfile C:\ORACLE_PRODUCTS\PORTAL_AS\Apache\Apache\logs\error_log.1130457600 -webcache_logfile C:\ORACLE_PRODUCTS\PORTAL_AS\webcache\logs\access_log -oc4j_logfile C:\ORACLE_PRODUCTS\PORTAL_AS\j2ee\OC4J_Portal\application-deployments\portal\OC4J_Portal_default_island_1\application -nodirect
    25-Oct-05 13:20:17, Copying abc:C:\ORACLE_PRODUCTS\PORTAL_AS\Apache\Apache\logs
    \error_log.1130241600
    25-Oct-05 13:20:17, Loading C:\DOCUME~1\whitesox\LOCALS~1\Temp\abc_error_log.1130
    241600.20051025.132017
    25-Oct-05 13:20:21, Copying abc:C:\ORACLE_PRODUCTS\PORTAL_AS\j2ee\OC4J_Portal\a
    pplication-deployments\portal\OC4J_Portal_default_island_1\application
    25-Oct-05 13:20:21, Loading C:\DOCUME~1\whitesox\LOCALS~1\Temp\abc_application.20
    051025.132021 -nodirect
    SQL*Loader-350: Syntax error at line 127.
    Token longer than max allowable length of 258 chars
             end",
            ^
    25-Oct-05 13:20:22, Copying abc:C:\ORACLE_PRODUCTS\PORTAL_AS\webcache\logs\acce
    ss_log
    25-Oct-05 13:20:31, Loading C:\DOCUME~1\whitesox\LOCALS~1\Temp\abc_access_log.200
    51025.132022Then I ran reports.sql but I don't see any reports being generated, but running this script did populate some other tables. I tried running some other scripts also but somehow I don't see any reports being generated as opposed to what is said in the README.HTML document i.e. "A sample web page (reports.html) is included which provides links to the generated reports.". How really I get to see the reports, where are the reports generated, is it something else that I am missing. No matter what script I run I don't see any report being generated. The document is not so clear. Can someone please help me out here. Thanks

    Hi!
    You have to change to directory
    ORACLE_HOME$/portal/admin/plsql/perf/scripts
    (you can find reports.sql in it) before you run reports.sql script!
    It will produce several .txt files.
    After running the script just open reports.html, that will point the generated files.
    A better place to ask questions like this:
    Portal Performance and Scalability
    http://forums.oracle.com/forums/forum.jspa?forumID=15

  • How to generate report with dynamic variable number of columns?

    How to generate report with dynamic variable number of columns?
    I need to generate a report with varying column names (state names) as follows:
    SELECT AK, AL, AR,... FROM States ;
    I get these column names from the result of another query.
    In order to clarify my question, Please consider following table:
    CREATE TABLE TIME_PERIODS (
    PERIOD     VARCHAR2 (50) PRIMARY KEY
    CREATE TABLE STATE_INCOME (
         NAME     VARCHAR2 (2),
         PERIOD     VARCHAR2 (50)     REFERENCES TIME_PERIODS (PERIOD) ,
         INCOME     NUMBER (12, 2)
    I like to generate a report as follows:
    AK CA DE FL ...
    PERIOD1 1222.23 2423.20 232.33 345.21
    PERIOD2
    PERIOD3
    Total 433242.23 56744.34 8872.21 2324.23 ...
    The TIME_PERIODS.Period and State.Name could change dynamically.
    So I can't specify the state name in Select query like
    SELECT AK, AL, AR,... FROM
    What is the best way to generate this report?

    SQL> -- test tables and test data:
    SQL> CREATE TABLE states
      2    (state VARCHAR2 (2))
      3  /
    Table created.
    SQL> INSERT INTO states
      2  VALUES ('AK')
      3  /
    1 row created.
    SQL> INSERT INTO states
      2  VALUES ('AL')
      3  /
    1 row created.
    SQL> INSERT INTO states
      2  VALUES ('AR')
      3  /
    1 row created.
    SQL> INSERT INTO states
      2  VALUES ('CA')
      3  /
    1 row created.
    SQL> INSERT INTO states
      2  VALUES ('DE')
      3  /
    1 row created.
    SQL> INSERT INTO states
      2  VALUES ('FL')
      3  /
    1 row created.
    SQL> CREATE TABLE TIME_PERIODS
      2    (PERIOD VARCHAR2 (50) PRIMARY KEY)
      3  /
    Table created.
    SQL> INSERT INTO time_periods
      2  VALUES ('PERIOD1')
      3  /
    1 row created.
    SQL> INSERT INTO time_periods
      2  VALUES ('PERIOD2')
      3  /
    1 row created.
    SQL> INSERT INTO time_periods
      2  VALUES ('PERIOD3')
      3  /
    1 row created.
    SQL> INSERT INTO time_periods
      2  VALUES ('PERIOD4')
      3  /
    1 row created.
    SQL> CREATE TABLE STATE_INCOME
      2    (NAME   VARCHAR2 (2),
      3       PERIOD VARCHAR2 (50) REFERENCES TIME_PERIODS (PERIOD),
      4       INCOME NUMBER (12, 2))
      5  /
    Table created.
    SQL> INSERT INTO state_income
      2  VALUES ('AK', 'PERIOD1', 1222.23)
      3  /
    1 row created.
    SQL> INSERT INTO state_income
      2  VALUES ('CA', 'PERIOD1', 2423.20)
      3  /
    1 row created.
    SQL> INSERT INTO state_income
      2  VALUES ('DE', 'PERIOD1', 232.33)
      3  /
    1 row created.
    SQL> INSERT INTO state_income
      2  VALUES ('FL', 'PERIOD1', 345.21)
      3  /
    1 row created.
    SQL> -- the basic query:
    SQL> SELECT   SUBSTR (time_periods.period, 1, 10) period,
      2             SUM (DECODE (name, 'AK', income)) "AK",
      3             SUM (DECODE (name, 'CA', income)) "CA",
      4             SUM (DECODE (name, 'DE', income)) "DE",
      5             SUM (DECODE (name, 'FL', income)) "FL"
      6  FROM     state_income, time_periods
      7  WHERE    time_periods.period = state_income.period (+)
      8  AND      time_periods.period IN ('PERIOD1','PERIOD2','PERIOD3')
      9  GROUP BY ROLLUP (time_periods.period)
    10  /
    PERIOD             AK         CA         DE         FL                                             
    PERIOD1       1222.23     2423.2     232.33     345.21                                             
    PERIOD2                                                                                            
    PERIOD3                                                                                            
                  1222.23     2423.2     232.33     345.21                                             
    SQL> -- package that dynamically executes the query
    SQL> -- given variable numbers and values
    SQL> -- of states and periods:
    SQL> CREATE OR REPLACE PACKAGE package_name
      2  AS
      3    TYPE cursor_type IS REF CURSOR;
      4    PROCEDURE procedure_name
      5        (p_periods   IN     VARCHAR2,
      6         p_states    IN     VARCHAR2,
      7         cursor_name IN OUT cursor_type);
      8  END package_name;
      9  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY package_name
      2  AS
      3    PROCEDURE procedure_name
      4        (p_periods   IN     VARCHAR2,
      5         p_states    IN     VARCHAR2,
      6         cursor_name IN OUT cursor_type)
      7    IS
      8        v_periods          VARCHAR2 (1000);
      9        v_sql               VARCHAR2 (4000);
    10        v_states          VARCHAR2 (1000) := p_states;
    11    BEGIN
    12        v_periods := REPLACE (p_periods, ',', ''',''');
    13        v_sql := 'SELECT SUBSTR(time_periods.period,1,10) period';
    14        WHILE LENGTH (v_states) > 1
    15        LOOP
    16          v_sql := v_sql
    17          || ',SUM(DECODE(name,'''
    18          || SUBSTR (v_states,1,2) || ''',income)) "' || SUBSTR (v_states,1,2)
    19          || '"';
    20          v_states := LTRIM (SUBSTR (v_states, 3), ',');
    21        END LOOP;
    22        v_sql := v_sql
    23        || 'FROM     state_income, time_periods
    24            WHERE    time_periods.period = state_income.period (+)
    25            AND      time_periods.period IN (''' || v_periods || ''')
    26            GROUP BY ROLLUP (time_periods.period)';
    27        OPEN cursor_name FOR v_sql;
    28    END procedure_name;
    29  END package_name;
    30  /
    Package body created.
    SQL> -- sample executions from SQL:
    SQL> VARIABLE g_ref REFCURSOR
    SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2,PERIOD3','AK,CA,DE,FL', :g_ref)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
    PERIOD             AK         CA         DE         FL                                             
    PERIOD1       1222.23     2423.2     232.33     345.21                                             
    PERIOD2                                                                                            
    PERIOD3                                                                                            
                  1222.23     2423.2     232.33     345.21                                             
    SQL> EXEC package_name.procedure_name ('PERIOD1,PERIOD2','AK,AL,AR', :g_ref)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
    PERIOD             AK         AL         AR                                                        
    PERIOD1       1222.23                                                                              
    PERIOD2                                                                                            
                  1222.23                                                                              
    SQL> -- sample execution from PL/SQL block
    SQL> -- using parameters derived from processing
    SQL> -- cursors containing results of other queries:
    SQL> DECLARE
      2    CURSOR c_period
      3    IS
      4    SELECT period
      5    FROM   time_periods;
      6    v_periods   VARCHAR2 (1000);
      7    v_delimiter VARCHAR2 (1) := NULL;
      8    CURSOR c_states
      9    IS
    10    SELECT state
    11    FROM   states;
    12    v_states    VARCHAR2 (1000);
    13  BEGIN
    14    FOR r_period IN c_period
    15    LOOP
    16        v_periods := v_periods || v_delimiter || r_period.period;
    17        v_delimiter := ',';
    18    END LOOP;
    19    v_delimiter := NULL;
    20    FOR r_states IN c_states
    21    LOOP
    22        v_states := v_states || v_delimiter || r_states.state;
    23        v_delimiter := ',';
    24    END LOOP;
    25    package_name.procedure_name (v_periods, v_states, :g_ref);
    26  END;
    27  /
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
    PERIOD             AK         AL         AR         CA         DE         FL                       
    PERIOD1       1222.23                           2423.2     232.33     345.21                       
    PERIOD2                                                                                            
    PERIOD3                                                                                            
    PERIOD4                                                                                            
                  1222.23                           2423.2     232.33     345.21                       

  • Using MAX API to generate report

    I am trying to automate a software installation procedure through the use of the NIMAX_GenerateReport() function. We have a software installation that requires a manual edit operation after the installation.  After installing the software the user examines the memory range of a 6602 counter/timer card in NI-MAX and then edits the value into an INI file that the software reads at run time.
    I am exploring the possibility of automating this step by having the installer call the NIMAX_GenerateReport() function to generate an XML report and then read the memory range from the XML report file and finally edit the INI file with the memory range value read from the report. To test this out I wrote a small command line LabWindows program that called the generate report function. It worked fine on my build machine but when I tried to run it on the target machine I get the following error return from the generate report function call: "An unknown error occurred".  The version of NI-MAX on the target PC is 3.1 and the version on the build PC is 4.6.2. I was wondering if the version of NI-MAX on the target PC is too old to support the NI-MAX API. My questions are:
    1. Is this a valid way to programmatically obtain the memory range information from the 6602 card or is there a better way?
    2. How can I upgrade the version of NI-MAX on the target PC. I'm not sure what installs it.
    Thanks,
    Jim

    Hello Jim,
    The way you are going about your coding sounds correct.  Per your second question, MAX installs when you update the computer drivers.  To do this go to ni.com/drivers, search for DAQmx, and then download the most current version of DAQmx that is compatible with your computers.  By installing a newer version of DAQmx MAX will automatically be updated.  
    Regards,  
    Marcus
    Marcus M.
    PXI Product Support Engineer
    National Instruments

  • Generating Reports during execution

    Can report generation be forced to run _during_ a Batch model execution in TestStand 4.0?  The report file only seems to be generated after each batch.
    I am implementing a burn-in test program which can take 100 hours to run and don't want to lose data if something happens to the computer before the test completes. The report is small - only 16 pass/fail steps. I'm running up to 4 UUTs at a time and generating an ASCII text report.
    Thanks
    Don Frevele

    Thanks Dillon,
       I had tried that, but I guess I didn't wait long enough for the files to be written. A few questions:
      1) What determines how often the files are written: time, number of test steps, amount of data written? Can this value be changed? I have a small amount of data and test steps written over a long period of time.
      2) How can I customize the generated report. From reading another post and snooping around, I find that the on-the-fly reports seem to be generated by TSOTFRG.dll and none of the report modification sequence callbacks are used. Is that correct?  I want to replace the report header and it seems that I would have to modify the TSOTFRG source code. Is there any documentation (other than looking at the code) for this? I am an experienced c/c++ programmer.
    Thanks
    Don

  • Enable Refresh Button/Menu in the Generated Report

    Dear Experts,
    I have created a program that generates report based on the user defined parameters.
    My question is, how do I enable the Refresh button/menu in the generated report so that user
    won't have to back to the parameter screen and re-execute?
    Thanks.
    Kath

    How is the output shown on the screen ?
    With Write statements it won't be possible, but with an ALV it is. You need to add a button to the application toolbar, usually it is present in the standard PF-STATUS, but if not then simply add one.
    Now when you capture the user command in the subroutine for handling user commands which looks like this,
    FORM user_command USING r_ucomm LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
    Follow these steps
    1. Refresh the output table that you have passed to the ALV.
    2. Fetch all the data again and populate the output table.
    3. Set the rs_selfield-refresh = 'X'. , this structure is passed to the user_command subroutine as shown above.
    regards,
    Advait

  • User confirm, generated report.

    Using BI published, I created a report that generates and displays all incomplete records inside of the database.
    Is there away to set a an (alert/procedure/trigger/confirm) that asks the user to confirm there transaction?
    For example,
    1. User generate report using BI Publisher
    2. The data is displayed
    3. Confirm ("Did everything display correctly?")
    4. If confirm == yes then run some script
    5. If confirm == no then don't run script.
    Fyi: I am new to BI. If you have the any answers or questions, send me an email.
    Or should I create a dataTemplate? Or this method is not possible?
    Thanks in advance,
    Johnny Words
    email ([email protected])

    Hi Scott, I already have the WCS and I do see the line that I am looking for within the events logs. Unfortunatly it look like I can't generate an authentification failure report and/or export the event logs so I can then parse the csv file for the error I am lookfing for.
    In regard to the syslog, the user name that failed to authentificated doesn't seem to show up, therefore I can't generate report per user as what wer'e looking for.

  • ARD report always "Waiting/Generating Report"  WHY?

    I am getting way to many systems that are failing to show anything in the ARD Reports function.  New systems most often just show "Waiting" forever or they may go to "Generating Report" and sit there for more than a day.and never do provide a report.  Other systems will show a report date of anything from several days to several months ago.  These are almost all (250 or so) assorted iMAcs, MacBookPros, Minis, and MacPros running 10.8.4 but a few 10.7 and even 10.6 systems exhibit the same behavior.  The ARD client is set for full control including reports.  Assorted times for gathering the reports show no difference in response.  These times may range from the default midnight to 1:00 PM so systems may be on or off line for all seven days a week.  The times were set either when the systems were first entered into ARD.  Some were changed using the "Get Info" Reporting tab but going either way makes no difference.
    Because of the number of systems, I am extremely reluctant to do a complete uninstall, including the database files, and reinstall for fear of not having the info even come back on systems that I do have old but still existing info on.
    I know that this was a problem a number of years ago but since Client 3.6.2 (and using Admin 3.6.1) this problem has grown substantialy worse.  Anyone know what the cure is?
    What I might do is put the ARD Admin on a different, and completly clean, system to see if reports can be generated there.  If I can do that I will update this entry to show the results.

    Hi,
    According to your description, the popularity Trends report always returns no records.
    Please check the status of the 3 timer jobs: Microsoft SharePoint Foundation Usage Data Import, Microsoft SharePoint Foundation Usage Data Processing and Web Analytics
    Trigger Workflows to see if they are configured to run at regular intervals.
    Also you can take a look at the two links about the similar issue for more information:
    http://www.myriadtech.com.au/blog/Ben/Lists/Posts/Post.aspx?ID=7
    http://sharepoint.stackexchange.com/questions/66476/whats-popular-webpart-is-empty
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Deadlock with thread issues while generating reports with Crystal Report XI

    We are facing deadlock with thread issues while generating report with Crystal Report XI
    Version Number is 11.0 and the database used is Oracle
    In the log file on line number 74350  by 2008/12/16 13:35:54 there is a dead lock with Thread: u20184u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '0'.
    And  a dead lock with Thread: u20180u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '4'.
    Exactly after 10 minutes we can see the thread 4 and 0 are declared as STUCK by 2008/12/16  13:45:54 .
    Is this an existing issue with Crystal Report?
    Is there some solution for this problem?
    THE LOG FILE INFORMATION IS GIVEN BELOW
    [deadlocked thread] [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@15214b9' that is held by thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
         com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
         com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
         com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
         com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
         com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    [deadlocked thread] [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@12e0415' that is held by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
         com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
         com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
         com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
         com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
         com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Can you please suggest any work around for this?

    I'm not referring to Servlet threading issues.
    I'll clarify.
    You have two threads, both entering ReportClientDocument.open(...) method.
    Thread 4 is waiting to acquire 'com.crystaldecisions.reports.queryengine.av@15214b9'
    Thread 0 is waiting to acquire ''com.crystaldecisions.reports.queryengine.av@12e0415'
    So I'm thinking ??? are they the same objects?
    My specific question concerning the ReportClientDocument is that both are calling open - i.e., trying to open a new report.  You wouldn't be trying to open different reports using the same ReportClientDocument - so was wondering if you've cached the RCD and trying to open two different reports at the same time on the same instance via different threads.
    You'd normally tie a ReportClientDocument instance to a HTTP Session, to ensure each user gets their own copy.
    Sincerely,
    Ted Ueda

Maybe you are looking for