Prompt Date +5 values

Hi Gurus,
Prompt Name(date) =13-sep-10
table name test1
requirement is once i select the date from Date prompt let us say 13-sep-10
My report should be display 18-sep-10
How will do this?
My report have the date column.
Thanks

store the data in a variable and in report filter use between with TIMESTAMPADD to add 5 days.

Similar Messages

  • Date parameter values cleared when dynamically populating string parameter

    Software: Crystal Reports XI Release 1 with SP4, with MS SQL Server 2008
    I've created a report that asks for three parameters, 2 dates, and a string which is dynamically populated. The report has two tables added in the database expert.
    The first table in the database expert is a command object which passes the two date parameters to a stored procedure:
    exec sp_MyStoredProcedure {?startdate},{?enddate}
    The second table in the database expert is a stored procedure object used to populate the string parameter {?_users}. The criteria for the string parameter are:
    Prompt with Description only: False
    Allow multiple values: True
    Allow discrete values: True
    Allow range values: False
    This stored procedure object requires nothing to be passed, it was originally a view in the database, but the same problem occurs whether i dynamically populate the string parameter options from either a view or a stored procedure.
    The string parameter is used for defining the record selection formula:
    IF {Command.user_name} in {?_users} THEN true ELSE false.
    The two table objects are not linked in the database expert, but linking them does not seem to solve the problem I am having with this report, the problem being this:
    No matter which order I set the parameters, it always first displays a form showing only the prompts for the date values. After entering these, it then shows a form prompting for the date values again (the previously selected date information now cleared), along with the list of users from which to select. On this 2nd form, the parameters are displayed in the order I set using the field explorer option presented when I right click on the Paramter Fields heading. After entering the date parameter values a 2nd time, and selecting the users from the dynamically generated list, the report performs as intended. After subsequently running the report  (prompting for new parameter values by pressing F5),  it does not clear the date parameters on the 2nd form's appearance.
    What I need is to be able to enter in these values the first time around, without having the date parameters cleared. Am i going about this incorrectly, or is this a bug?

    What you are experiencing is not a bug... Passing a multi-valued parameter to a Command or SP is not supported in any version of CR prior to CR 2008.
    Your options are #1) Upgrade to CR 2008 or #2) Jump through the necessary hoops to make it work in CR XI
    Check out this link...[SQL Command Parameter - Multiple Value|Re: SQL Command Parameter - Multiple Value]
    It has some good examples a good step by step.
    HTH,
    Jason

  • Apply a validation for a "prompt date"

    Hello friends.
    As I can include a validation to a "Prompt" date. operator is between and.
    Basically what I want is to limit the "prompt".
    example:
    Date between: 01/01/2012 and: 12/01/2012
    The date range exceeded 6 months.
    Thank you for your cooperation

    You will need to do this:
    1) You will need to build your between prompt like this:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    The reason is because we need the PV for the start date and end date. (I call the PVs pv_StartDate and pv_EndDate, respectively in my example below.)
    2) Create a small report with 3 columns: one column from your SA, it doesn't matter what; and one dummy column.
    3) In the dummy column, click on the fx button, delete the contents and enter the following:
    CASE WHEN TIMESTAMPADD(SQL_TSI_MONTH, 6, '@{pv_StartDate}' > '@{pv_EndDate}' THEN NULL END
    4) Put a filter on the second column for IS NOT NULL
    What this small report does is this: when the difference between the start and end dates is greater than 6 months, then the CASE statement will be NULL and since the filter is only looking for "not NULL" values, the report will return no rows.
    5) Now in your dashboard, add a section and put your report in it. In the Section properties, click on Properties>Guided Navigation and point it to the small report "if request returns rows."
    6) Add another Section below the one above and this time drag a Text object to the section. Put the text you have: "The date range exceeded 6 months. Please choose a date range within 6 months. Thank you."
    7) On the Section properties of this one, click on Properties>Guided Navigation and point it to the small report "if request returns nothing."
    I think you get the picture. When the date range exceeds 6 months, the top section does not appear; instead the user sees the text to change the date range.
    That should resolve your issue.

  • Sales order stock and storage location stock on past date with value

    Hi everyone.
    I m looking for a report which can give sales order stock with value as it is shown in mb5b and storage location stock with value as in mc.5 is there any report which can give the combination of both the things on past date with values.

    can you tell me what shall be the fields and table for special stock on past date with value and sloc stock on past date with value

  • Change the colour of the prompt and the value

    Hi,
    I have an Item MessageStyledText with some value on an OAF Page.
    By default the colour of the Prompt and the value of this Item are black.
    But i need to change the Colour to Blue.
    Fast response highly appreciated.
    Thanks,
    Palepu.

    Approach 1:
    Custom Look and Feel - Create your CLAF and change CSS Style.
    Limitation - The main limitation of the Custom Look and Feel functionality is that you can only extend Simple LAF or Base LAF, which do not include all the functionality of the Browser LAF (BLAF) or SWAN.
    Approach 2:
    You can do it programmetically as follows:
    import oracle.cabo.style.CSSStyle;
    CSSStyle customUnCss = new CSSStyle();
    customUnCss.setProperty("text-transform","uppercase");
    customUnCss.setProperty("color", "#FF0000");
    OAMessageStyledTextBean sampleBean = (OAMessageStyledTextBean) webBean.findChildRecursive("<Id of your messageStyleText will come here>");
    if(sampleBean != null)
    sampleBean.setInlineStyle(customCss); //set custom css style
    You need to provide more details to get more appropriate solution/workaround.

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

  • How to substract two date&time values

    Well,i just need to substract last visited date&time value from systemdate. The last visited date&time(from the filed named SONBULUNMAZAMANI, ) is selected from table (IHALE_KATILIMCILAR ) in the format DD-MM-RRRR HH24:MI and systemdate is in the same format. And i need to get value in minutes. Then i need to check if the value is greater then 20 minutes, finally i will update database and set IHALE_KATILIMCILAR.AKTIF=0. Here is the code i used;
    DECLARE
    MinDiff number;
    DateTime1 ihale_katilimcilar.sonbulunmazamani%TYPE;
    BEGIN
    select t.sonbulunmazamani into DateTime1 from ihale_katilimcilar t where t.ihlkodu=141 and t.ihlaltktgkodu=132 and t.id_iliski=193;
    MinDiff := ABS( TO_DATE( TO_CHAR(SYSDATE, 'DD-MM-RRRR') || TO_CHAR(SYSDATE , 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) - TO_DATE( TO_CHAR(DateTime1, 'DD-MM-RRRR') || TO_CHAR(DateTime1, 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) );
    DBMS_OUTPUT.PUT_LINE('Difference is ' || MinDiff);
    END;
    However the result i get is always pointed values such as ,1895833333333333333333333333333333333333. How can i handle this?
    And here is the scripts of table:
    create table IHALE_KATILIMCILAR
    KULADI VARCHAR2(20),
    SONUC NUMBER(1),
    AKTIF NUMBER(1) default 1,
    SRKTKODU VARCHAR2(10) not null,
    SONBULUNMAZAMANI DATE default sysdate,
    SIRA NUMBER(1) default 0,
    MESAJ VARCHAR2(200),
    ID NUMBER(6) not null,
    IHLKODU NUMBER not null,
    IHLALTKTGKODU VARCHAR2(10) not null,
    ID_ILISKI NUMBER,
    IHLSIRA NUMBER(1) default 0,
    CEVAP VARCHAR2(200)
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, 'süre talep 2', 76, 145,
    '135', 345, 0, 'al sna süre 77');
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('20-02-2008 14:49:52', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 77, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 78, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 79, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 63, 141, '134',
    191, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 64, 141, '134', 192,
    0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 61, 145, '135',
    189, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 69, 141, '133',
    197, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 65, 141, '132',
    193, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 2, null, 66, 141, '132',
    194, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 67, 141, '132', 195,
    1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 68, 141, '133',
    196, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('12-03-2008 15:00:58', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 70, 142, '252',
    198, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('10-03-2008 10:08:17', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 71, 142, '252',
    199, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('10-03-2008 10:08:56', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 72, 143, '253',
    200, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('12-02-2008 13:34:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 73, 143, '253', 201,
    1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 60, 145, '136',
    188, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 74, 145, '136',
    202, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 75, 145, '135',
    203, 0, null);
    Thanks...

    What version of SQLServer do you have? Datediff is not an Oracle built-in function.
    OP:
    THe difference between two dates in Oracle is in days. The decimal portion refers to partial days, so you need to convert that to the required precision. Also, both sysdate and your column are date type, and contain a time portion, so you do not need all the to_date/to_char stuff. Something like:
    SQL> SELECT end_dt, start_dt, (end_dt - start_dt) * 24*60 diff
      2  FROM (SELECT sysdate end_dt, TRUNC(sysdate) start_dt
      3        FROM dual);
    END_DT             START_DT                 DIFF
    17-mar-08 10:39:39 17-mar-08 00:00:00     639.65John

  • "Date Added" values changed to be identical in some folders

    Hi,
    I normally sort my work files (mostly .ppts) by "date added" to help me keep track, this usually works fine. I have the date added column showing in Finder and set the Folder Options to sort by date added.
    I noticed today that in some folders (but not all) the date added value has been re-set by the system to be a random date (eg 30 Jan 2015 15:28 for one folder), and the date and time added is the exact same for all the files. Obviously this means I can't sort them anymore. I was wondering why this has happened and if it can be fixed as it's a really annoying and potentially serious issue.
    Running Yosemite 10.10.2 on a mid-2012 MBP.
    Thanks

    Hi Subha,
    You can assing default values to the Variables...Fiscal Year2008; Version100...etc. so that the user need not input all the variables.
    I am not sure whether you can assign a function--"on selection" of variables.  For better control It would be prudent to advise users to execute a function (if need be embed a SAVE function with in the sequence) on press of a button.
    Regards
    Srinivas

  • J1IEX Item Level data Duty values Tab Screen

    Hallow Experts,
    In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
    System displays following information
    Excise duty Base Amount – Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
    Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
    Total Duty
    Credit available
    Credit availed
    Credit due
    Inventorized duties
    I want to know the description of above mentioned entries (e.g. – what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
    And after posting vendor invoice entry will be displayed in which row?
    Also please explain - What is Inventorized duty? And when it is to be displayed?
    Thanks in advance!!!!

    Hallow Experts,
    In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
    System displays following information
    Excise duty Base Amount – Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
    Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
    Total Duty
    Credit available
    Credit availed
    Credit due
    Inventorized duties
    I want to know the description of above mentioned entries (e.g. – what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
    And after posting vendor invoice entry will be displayed in which row?
    Also please explain - What is Inventorized duty? And when it is to be displayed?
    Thanks in advance!!!!

  • How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?

    How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?
    Also how can it be a line graph without plotting a circle at each value?
    Thanks this is very frustrating

    Make a copy of the table and produce your Line chart or Bar chart from the copy. Sort the copy into the order you want to see in your chart.
    Alternately you could use a Scatter Chart...
    Jerry

  • How to fill or bind data using Value Node in Tree Node

    Hi Gurus,
    Can anybody help me on how to fill data or bind data using Value Node in Tree Node View. I know how to create Tree Node but not able to show value on the UI in Tree View.
    Can u please let if anybody has done it?
    Thanks in advance.
    Madhusudan

    continued...
    TRY.
              lv_child = me->node_factory->get_proxy(
                        iv_bo = lv_value_node
                        iv_parent_proxy = me
                        iv_proxy_type = 'ZL_CLASS_CN02' ).
              lv_child->is_leaf = 'X'.
              APPEND lv_child TO rt_children.
            CATCH cx_sy_move_cast_error cx_sy_ref_is_initial.
          ENDTRY.
      In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to build table and refresh in do-prepare_output of IMPL class.In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to buid table and refresh in do-prepare_output of IMPL class.
    ztyped_context->resultlist->build_table( ).
      IF ztyped_context->resultlist->node_tab IS INITIAL.
        ztyped_context->resultlist->refresh( ).
      ENDIF.
    Also the EH_ONEXPAND has to be implemented and event handled in DO_HANDLE_EVENT. But this expand event has to be delegated to context node directly as CL_BSP_WD_CONTEXT_NODE_TREE will already have the implementation.
    ztyped_context->resultlist->expand_node( lv_event->row_key ).
    Where in result list is the node ZL_CLASS_CN00.
    After typing the whole content , i found this blog :). There are few things i have written more that in the blog.  /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
    Regards,
    Karthik

  • How to Avoid overlapping data label values in Pie Chart

    Hi,
    I am facing the problem when the data is more my pie chart data label value is overlapping.
    I tried with showing outside the data label value but customer is not accepting ,and i used the CollectedPie  option also but still its overlapping .So please any body knows how to resolve this problem as i need very urgent basis.
    Regards,
    HariKan
    HariKan

    Hi HariKan,
    Per my understanding that the Category group of the pie chart which will retuen many values so that the label will overlapping and you want to know is any method to deal with this kind of problem, right?
    In Reporting Services, when enabling data label in par charts, the position for data label only have two options: inside and outside.
    In your scenario, I recommend you to increase the size of the pie chart if you insist to choose the lable inside the pie chart as below:
    If you choose to "Enable 3D" in the chart area properties and choose to display the label outside, the label's layout will be more clear:
    Reference:
    Pie Charts (Report Builder and SSRS)
    Position Labels in a Chart (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Data source value for data source reportData was null

    hi i'm using struts 2 and jasperreports my problem is
    it generate a pdf file with labels but no data in it..
    and when i try to look at the logs of my sun application server
    it says Data source value for datasource reportData was null.
    reportData is an ArrayList of Personnel object.
    here is my code..
    public class EIS_HR_004_JASPER extends eisSupport {
        private String reportId;
        private String dateStart = null;
        private String dateEnd = null;
        private String pdfFile;
        private final static String _REPORT_FOLDER = "EIS_HR_003";
        private Report thisReport;
        private String dateRange;
        private ArrayList<Personnel> reportData;
        public String execute(ActionMapping mapping,ActionForm form,
                HttpServletRequest request, HttpServletResponse response)
                throws Exception {       
            ReportBean reportBean = new ReportBean();
            setThisReport(reportBean.getReport(getReportId()));         
            reportData=new ArrayList<Personnel>();
            Personnel p1=new Personnel();
            p1.setSurname("Dela Cruz");
            p1.setFirstname("Juan");
            p1.setExamcode("CSC111");
            p1.setExamdate("January 1,2003");
            Personnel p2=new Personnel();
            p2.setSurname("Cruz");
            p2.setFirstname("Miguel");
            p2.setExamcode("CSC222");
            p2.setExamdate("December 2,2003");
            reportData.add(p1);
            reportData.add(p2);
         try {
              JasperCompileManager.compileReportToFile(
                        "apps/reports/templates/hr004.jrxml",
                        "apps/reports/templates/hr004.jasper");
         } catch (Exception e) {
              e.printStackTrace();
              return ERROR;
             return SUCCESS;
        public ArrayList<Personnel> getReportData() {
           // setReportData();
            return reportData;
        here is part of my struts.xml
    <action name="EIS-HR-004_JASPER" class="eis.report.EIS_HR_004_JASPER">
                <result name="error">/apps/reports/ReportNotFound.jsp</result>
                <result name="success" type="jasper">
                    <param name="location">apps/reports/templates/hr004.jasper</param>
                    <param name="dataSource">reportData</param>
                    <param name="format">PDF</param>
                </result>
            </action> i dont know why it doesnt retrieved the data from the ArrayList?
    please help me..Thanks in advance.

    Hi,
    Looking at the code, it seems you are compiling a JRXML and that is all.
    Instead, you should fill it with data and then export the result to PDF.
    No wonder you don't see any result.
    You need to learn more about how JasperReports work. For a start, I can tell you that you could compile JRXML files as part of the application build process using an Ant task, and not dynamically, like you did. But no matter how you compile the report template, you actually need to fill it with data, using the JasperFillManager and then export it to PDF using the JasperExportManager.
    You can see all this in our samples in the /demo/samples folder that is part of our project distribution package. There is even a sample Web application in the /demo/samples/webapp folder.
    I hope this helps.
    Teodor

  • When retrieving a 'date time' value, why is there a '.0' appended?

    Hi
    I am storing 'date time' values in a MySQL 'DATETIME' column.
    I retrieve the value by executing code (more or less) like this:
    ResultSet resultSet = statement.executeQuery(query);
    // other statements here...
    String theDate = resultSet.getString(i);If the 'date time' being stored is *2008-08-26 16:39:21*, the code returns this: *2008-08-26 16:39:21.0*
    Is there same 'simple' way to retrieve the value without a *.0* appended?
    Thanks
    Pete

    Hi Roy
    I'm not quite with you.
    You should get it from the database as a date object.Do you mean something like this?:
    ResultSet.getDate()This returns a java.sql.Date object.
    For presentation use SimpleDateFormatter to display it the way you want toI presume you are referring to java.text.SimpleDateFormat ? In that case I require the date as a java.util.Date object.
    Perhaps you could clarify a bit more?
    Thanks
    Pete

  • Data point values on charts

    How can I display data point values on the chart? They show
    on hover but I need them on a printed version.

    Use the dataLabelStyle attribute of cfchartseries.
    For example:
    dataLabelStyle = "value"
    See:
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000228.htm

Maybe you are looking for

  • Macbook Pro will not boot from USB drive or Macintosh HD

    The Mac in question: Macbook Pro mid-2009 2.4GHz Core 2 Duo 4GBs RAM OSX 10.8.4 Basically I did a fresh install of OSX 10.8.4 and Installed Windows 7 Home Premium 64bit via Bootcamp. All software was up to date, I had the newest version of bootcamp f

  • Dynamic Summary of List in Second Table

    I've run into a bit of a problem, and about 5 hours of internet research hasn't turned up an answer so to posting I go. Here is my problem: In a table called Hours, I have a prepopulated table with a bunch of data about hours I have worked. In this t

  • Structured XMLIndex is not being used

    I have a table defined as "TABLE OF XMLTYPE" with XML Binary storage with a structured XMLIndex under Oracle 11.2.0.3.4. The query that I am using on this table is virtually the same as the XMLIndex, but it's not being used. I searched the forums for

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt   SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM                    MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR                              INNER JOIN STPO AS C ON ASTLN

  • Yosemite Mail 10.10.2 - SSL port, Certificate not trusted, email can't be seen

    Hi All, Thanks in advance for your help. I have just upgraded  (quite regrettably) to Yosemite 10.10.2 with a clean install (Time machine... that's a whole new bag of tricks hasn't worked can't even reinstall mail via TimeMachine RESTORE.. very helpf