Increment week (Date problem)

Guys,
I have a table that holds item and week_nr. I'll have 3 input parameters 1-item, 2-week_start, 3-week_end. My requirement is to insert records into the table with ercord holding week_nr from week_start to week_end.
This is what I've tried so far.
For eg:
SQL> desc table1
Name                                                  Null?    Type
ITEM                                                           VARCHAR2(10)
WEEK_NR                                                        NUMBER
SQL>
SQL> drop table table1
  2  /
Table dropped.
SQL>
SQL> create table table1(item varchar2(10), week_nr number)
  2  /
Table created.
SQL>
SQL> create or replace procedure sample_proc(p_item varchar2,
  2                                          p_wk_start number,
  3                                          p_wk_end number)
  4  is
  5  begin
  6     insert into table1 select p_item,
  7                               p_wk_start + rownum - 1
  8                        from user_objects
  9                        where rownum <= (p_wk_end - p_wk_start) +1;
10     commit;
11  end;
12  /
Procedure created.
SQL>
SQL> begin
  2     sample_proc('item1', '200624', '200628');
  3  end;
  4  /
PL/SQL procedure successfully completed.
SQL>
SQL> select * from table1
  2  /
ITEM          WEEK_NR
item1          200624
item1          200625
item1          200626
item1          200627
item1          200628
SQL>Fine so far.. But when the week_nr reaches 52, for the next increment, it has to increment the year and then make the week to 01. For eg from 200652 it should go to 200701 and so....
SQL> begin
  2     sample_proc('item2', '200650', '200702');
  3  end;
  4  /
PL/SQL procedure successfully completed.
SQL> select count(*) from table1
  2  /
  COUNT(*)
        58
SQL> which is not the expected.
I don't know if anything can be done using the built-in date function with 'WW' date format. I've tried WW data format, but couldn't succeed.
Could you guys provide me a SQL solution for this?
Cheers
Sarma.

Something like this?
SQL> create table table1(item varchar2(10), week_nr number)  ;
Table created.
SQL> create or replace procedure sample_proc(p_item varchar2,
  2                                          p_wk_start number,
  3                                          p_wk_end number)
  4  is
  5  begin
  6  IF substr(p_wk_end,1,4) < substr(p_wk_start,1,4)
  7  then
  8  insert into table1
  9  select p_item,p_wk_start + rownum - 1  from user_objects
10  where rownum <= (p_wk_end - p_wk_start) +1;
11  else
12  insert into table1
13  select p_item,p_wk_start + rownum - 1  from user_objects
14  where rownum <= (substr(p_wk_start,1,4)||52-p_wk_start) +1;
15  insert into table1
16  select p_item,to_number(substr(p_wk_end,1,4)||'01') + rownum - 1  from user_objects
17  where rownum <= (p_wk_end-to_number(substr(p_wk_end,1,4)||'01')) +1;
18  end if;
19  commit;
20  end;
21  /
Procedure created.
SQL> begin
  2  sample_proc('item2', '200604', '200712');
  3  end;
  4  /
PL/SQL procedure successfully completed.
SQL> select * from table1;
ITEM          WEEK_NR
item2          200604
item2          200605
item2          200606
item2          200607
item2          200608
item2          200609
item2          200610
item2          200611
item2          200612
item2          200613
item2          200614
ITEM          WEEK_NR
item2          200615
item2          200616
item2          200617
item2          200618
item2          200619
item2          200620
item2          200621
item2          200622
item2          200623
item2          200624
item2          200625
ITEM          WEEK_NR
item2          200626
item2          200627
item2          200628
item2          200629
item2          200630
item2          200631
item2          200632
item2          200633
item2          200634
item2          200635
item2          200636
ITEM          WEEK_NR
item2          200637
item2          200638
item2          200639
item2          200640
item2          200641
item2          200642
item2          200643
item2          200644
item2          200645
item2          200646
item2          200647
ITEM          WEEK_NR
item2          200648
item2          200649
item2          200650
item2          200651
item2          200652
item2          200701
item2          200702
item2          200703
item2          200704
item2          200705
item2          200706
ITEM          WEEK_NR
item2          200707
item2          200708
item2          200709
item2          200710
item2          200711
item2          200712
61 rows selected.
SQL> truncate table table1;
Table truncated.
SQL> begin
  2  sample_proc('item2', '200650', '200702');
  3  end;
  4  /
PL/SQL procedure successfully completed.
SQL> select count(*) from table1;
  COUNT(*)
         5
SQL> select * from table1;
ITEM          WEEK_NR
item2          200650
item2          200651
item2          200652
item2          200701
item2          200702Regards,
Mohana
Message was edited by:
Mohana Kumari

Similar Messages

  • Increment a Date in JSP Page

    Hi ,
    I am giving a interface to a user where userr can select a start date and end date and on clicking submit ..i have to display all the dates between start date and end date. Now I know i can increment a date by using georgianCalander, But what i wanted to know is how to use the dates I am getting from other page in georgianCalander as georgianCalander needs the dates in int and the date which I am getting is in mm/dd/yyyy format.
    Can anyone help me out..as I am stuck on this problem from last 2 days..
    thanks in advance..

    That doesn't help the person much. Here is some code.
    First you need to convert the text to a date:
    public static java.util.Date stringToDate(String date) throws java.text.ParseException
         java.text.SimpleDateFormat strFormatter = new java.text.SimpleDateFormat( "MM/dd/yyyy" );
         ParsePosition pos = new ParsePosition(0);
         java.util.Date utilDate = strFormatter.parse( date, pos );
         return utilDate;
    }Then pass the date object into a function like this:
      public static GregorianCalendar createCalendar(java.util.Date date)
        GregorianCalendar cal = new GregorianCalendar();
        cal.setTime(date);
        return cal;
      }That's it. Now gimme my Duke Dollars. :-)

  • How to display 16 weeks data in the output of the query

    Hi experts,
    I have to display 16 weeks data from current week(Thursday to wednesday).
               (19/07/07 - 12/07/07) (11/07/07 - 6/07/07) like these 16 weeks
                             sales                       sales
    product1              200                         300
    product2              400                         500
    I have to use text variable on createddate char but I do not know how to implement
    the above scenerio.
    Guru's please help me.
    Thanks & Regards,
    James.

    sure james ..
    chk these links..
    text var..
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/e0c73cccbdd45be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/c1/759b3c4d4d8d15e10000000a114084/frameset.htm
    chk thisthread too..
    Re: Problem with the text variable
    and for replacement paths..
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    hope it helps...

  • [JHS10.1.3] Date problem

    Running into a date problem for a forms migration.
    I have a date field in the database, normal date field.
    The users want to be able to search on partial dates.
    So adding a between on this field will only generate two date selectors, which is not what they want.
    The format is like a year field, week field, day field.
    I could modify the query to return three extra numeric fields which convert the date to the right format ('yyyy', 'wi', 'dd' ) and then to number and generatie 3 between fields for this.
    This will generate the right layout, 6 input fields for a year from/to week from/to day from/to
    But the query will be like (year between x and x) and (week between x and x) and day (between x and x)
    This will not produce the right results.
    What is possible is a string manipulation of the whereclase in the method getViewCriteriaClause()
    And see if any/all of the fields are filled and build the query there, but this is not a 'clean' solution.
    Any idea on how I can solve this? Basicly a date field in the database, user wants to search that date field on year/week/day between year/week/day or a partial of that.
    This is the way it used to be in the forms application so I really want to give the same functionality with ADF.
    Anton

    Not sure if I completely understand what you said, but this is what I did ( it seems to work )
    All my viewobjects extends a new superviewobjectimp, this class has just 2 setters and getters, one for the datefield I want to search on and one for the partial name I gave the three attributes (<fixed name>Year <fixed name>Week <fixed name>Day).
    In the advancedSearch, in the loop trough the attributes I cast the viewobject to this superviewobjectimp. I can now check if the attribute contains the partial name. If this is the case I build my own string and add it to the viewCriteriaMap.
    One odd thing I found here is that it refuses to let me add a string like
    between to_date( '<startdate>', 'yyyy-mm-dd' ) and to_date( '<enddate>', 'yyyy-mm-dd' )Because if I do this, for some reason the attribute name will be wrapped in a to_char!
    If I just leave:
    between '<startdate>' and '<enddate>'It works, but I dont feel really safe about that, I would rather use the datecast to be sure.
    Any idea how this can be done?
    I also used the java Calendar class to transform a yyyy-iw-d to a yyyy-mm-dd because it seems I cant use 'iw' in a to_date(....). This also solved a problem with partial dates, java will autocomplete them for me.
    In other words if I only supply the year 2005 to 2006 it will auto search from 2005-1-1 - 2006-1-1, same for weeks.
    I have a lot of viewobjects which will require this, I'm trying to make it as solid as I can.
    Any suggestions?
    Anton

  • Order changes in Monthly and Weekly Data View

    Hi,
        I need some of your suggestions for my problem below:
    I have a planning book with two data views (1 with monthly bucket and other with weekly bucket).Now I create three forecast orders in the weekly data view as below:
    Quantity     Date
    10         05.11.2007
    20         12.11.2007
    30         19.11.2007
    So I can see the sum as 60 in the monthly data view. Now I try to modify (deduct by 5) the forecast order from the monthly data view. So the sum 60 changes to 55 but when I see the details of the order it looks strange to me.
    11 26.11.2007
    13 19.11.2007
    13 12.11.2007
    13 05.11.2007
    5   01.11.2007
    Please let me know what is the logic behind this?
    But if I perform the above calculation for the category 'HG' as above I get the result like this.
    Weekly Buckets
    10 05.11.2007
    20 12.11.2007
    30 19.11.2007
    Monthly Buckets
    55 01.11.2007
    Thanks,
    Siva.
    Message was edited by:
            sivaprakash pandian

    Hi siva
    This is possibly because of the settings in the planning area for the time disaggregation of the Key figure
    Can you go Planning area administration and see what the setting is in the key figure disaggregation tab?
    I think it needs to be P for proportional distribution and will use previously existing proportions for new quantities.
    instead in your case it is ignoring previously exsisting proportions and distributing afresh. Am not sure what type that is (K?)
    the F1 on the time based disaggregation field will give you a better idea.
    if you want to know why the 11 and 5 are there at the ends and 13 is in the middle buckets, it is because the storage buckets for the weeks have 6, 7,7,7 and 2 days and 55/30 multiplied by these days is how the number are calculated.
    there is also some help here
    http://help.sap.com/saphelp_scm50/helpdata/en/73/3e1167347111d398290000e8a49608/frameset.htm

  • Want to create Monthly chart with weekly data.

    Hi all.  I'd like to create a chart that graphs data over the course of a month similar to this:
    but where the data for the chart is only gathered once a week.  I know from reading in the forums (and trying myself) that if you have missing data fields in your table, you end up with individual points that aren't connected to each other.  So I assume that the solution has something to do with how the chart is labeled?
    Can someone clue me in on how to build a chart that shows each day (as above), but connects weekly data fields (as below):
    Thanks.
    Andy

    Hi Barry.
    It looks like what you're describing is what I've already managed to figure out.  The problem I'm having is that I want the bottom row of numbers (currently 3, 10, 17, 24) to be the days of an entire month (ie: March 1-31).  Then have the values in the chart correspond to the proper day (3, 10, 17, 24).
    Here's what happens if I create a table with all the days of the month, but only weekly fields filled in:
    I realize that Numbers doesn't automatically connect the dots when there are empty fields in a table.  But I can't seem to get to a point where I can have the graph show the entire month, but with a line connecting each of the weekly values.
    I thought that I could do it by creating a custom label for the X axis.  Here's what I tried:
    But of course that didn't work, because the chart still only shows 4 labels (due to the table only having 4 categories).  It just renamed the first four labels.

  • SQL for summing weekly data

    Hi
    I have two tables which has date column and holding more than month data. I want to sum the weekly data starting Monday by combing two table . Can you any help me on to get the SQL for this.
    SQL> select * from ORCL_DATA_GROWTH;
    REPORT_DA DATAGROWTH                                                                                                             
    03-SEP-12       9.78                                                                                                             
    04-SEP-12       5.36                                                                                                             
    05-SEP-12       5.42                                                                                                             
    06-SEP-12      33.36                                                                                                             
    07-SEP-12       5.47                                                                                                             
    08-SEP-12        5.5                                                                                                             
    09-SEP-12        5.5                                                                                                             
    10-SEP-12       9.47                                                                                                             
    11-SEP-12       8.16                                                                                                             
    12-SEP-12      23.97                                                                                                             
    13-SEP-12      51.28                                                                                                             
    14-SEP-12      24.05                                                                                                             
    15-SEP-12      24.03                                                                                                             
    16-SEP-12      24.17                                                                                                             
    17-SEP-12      28.16                                                                                                             
    18-SEP-12      24.17                                                                                                             
    19-SEP-12      24.19                                                                                                             
    20-SEP-12      50.96                                                                                                             
    21-SEP-12      24.19   
    SQL> select * from ORCL_PURGING;
    REPORT_DA PURGING_SPACE FILE_SYSTEM                                                                                              
    01-OCT-12            18 /dborafiles/orac/ora_Test/oradata01                                                                     
    01-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    02-OCT-12            55 /dborafiles/orac/ora_Test/oradata01                                                                     
    02-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    03-OCT-12            21 /dborafiles/orac/ora_Test/oradata01                                                                     
    03-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    04-OCT-12             0 /dborafiles/orac/ora_Test/oradata01                                                                     
    04-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    05-OCT-12             0 /dborafiles/orac/ora_Test/oradata01                                                                     
    05-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    06-OCT-12            70 /dborafiles/orac/ora_Test/oradata01                                                                     
    06-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    07-OCT-12            21 /dborafiles/orac/ora_Test/oradata01                                                                     
    07-OCT-12             0 /dborafiles/orac/ora_Test/oradata05                                                                     
    08-OCT-12            21 /dborafiles/orac/ora_Test/oradata01                                                                     
    08-OCT-12             0 /dborafiles/orac/ora_Test/oradata05 Combining two table and daily out put sample below. But I want to have output by summing weekly value
    SQL> select a.report_date,sum(a.PURGING_SPACE) PURGING_SPACE,b.DATAGROWTH from ORCL_PURGING a ,ORCL_DATA_GROWTH b where a.report_date=b.report_date and a.report
    _date<=(sysdate) and a.report_date >=(sysdate-30) group by a.report_date,b.datagrowth order by a.report_date;
    REPORT_DA PURGING_SPACE DATAGROWTH
    19-SEP-12            77      24.19
    20-SEP-12             2      50.96
    21-SEP-12            47      24.19
    22-SEP-12            19      24.16
    23-SEP-12            22      24.05
    24-SEP-12            25      28.11
    25-SEP-12            43      24.08
    26-SEP-12            21      24.06
    27-SEP-12            22      50.86
    28-SEP-12            22      23.05
    29-SEP-12            22      23.27
    30-SEP-12            22      23.61
    01-OCT-12            18      28.67
    02-OCT-12            55      25.92
    03-OCT-12            21      23.38
    04-OCT-12             0      50.46
    05-OCT-12             0      23.62
    06-OCT-12            70      24.39
    07-OCT-12            21      24.53
    08-OCT-12            21      28.66
    09-OCT-12            51      24.41
    10-OCT-12            22      24.69
    11-OCT-12            23      50.72
    12-OCT-12            22      25.08
    13-OCT-12            25      25.57
    14-OCT-12            21      23.38
    15-OCT-12            22      27.77
    27 rows selected.                               Thanks in advance.
    Edited by: BluShadow on 18-Oct-2012 09:28
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    user9256814 wrote:
    Hi
    This is my qery
    WITH purging_week AS
         SELECT TRUNC (report_date, 'IW')     AS report_week
         ,     SUM (purging_space)           AS total_purging_space -- same as in main query
         FROM      orcl_purging
         GROUP BY TRUNC (report_date, 'IW')
    ,     data_growth_week     AS
         SELECT TRUNC (report_date, 'IW')     AS report_week
         ,     SUM (datagrowth)           AS total_datagrowth
         FROM      orcl_data_growth
         GROUP BY TRUNC (report_date, 'IW')
    SELECT     COALESCE ( p.report_week
              , d.report_week
              )               AS report_week
    ,     p.total_purging_space
    ,     d.total_datagrowth
    FROM          purging_week     p
    FULL OUTER JOIN     data_growth_week d ON d.report_week = p.report_week
    ORDER BY report_week
    ;That's still hard to read.
    You may have noticed that this site normally compresses whitespace.
    Whenever you post formatted text (including, but not limited to, code) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.  Blushadow probably won't do it for you every time you post a message.
    This is just one of the many things mentioned in the forum FAQ {message:id=9360002} that can help you get better answers sooner.
    Are you still having a problem?  Have you tried using in-line views?  If so, wouldn't it make more sense to post the code you're using, rather than some code you're not using?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Interpreting error message; insight into data problems?

    I own a 8310 on AT&T running OS 4.5.011.  I have been having intermittent data problems that have gotten worse over the last week; e.g., the connection box autonomously becomes unchecked, the browser cannot find a connection, data randomly goes form GSM to edge and back, Vlingo cannot find its server.
    AT&T Service suggested a "Master Reset" and I have backed up my data with BB Desktop Mgr. as a first step.  I got the following error message:
    "Uncaught Exception:Application net_rim_bb_app(53) is not responding; process terminated"
    Please help me 1) translate and 2) does that suggest a source of my problems?
    Regards
    Rob 

    You need to enclose carData[0],carData[1] etc in single quotes, if they are String(s). Otherwise you can use PreparedStatement.
    PreparedStatement ps = con.prepareStatement("Insert into car values(22 questions marks)");
    ps.setInt(1,temp);
    for(int i=0;i<21;i++) ps.setString(i+2,carData[ i ]);
    int count=ps.executeUpdate();
    Sudha

  • Incrementing creation date times to preserve sort

    I've got bunches of scanned analog photos. The creation dates were the scan time, not when the photos were taken. And some are out of order.
    I don't remember the exact times and dates, but I do recollect the sequence. And I can use a "user order" within LR.
    But how do I preserve that order in the metadata in the files for use in other applications, etc? I can set a creation date, but it appears to be the same for all. How I could increment the date/time so that I'd end up with the same sequence when sorted by "capture time"?
    Rob

    John, your memory is better than mine. And some of the shots have an obvious sequence, but I don't even know the year (old old photos). Unfortunately with many the service that scanned them also tossed them like salad, and the frames on prints, which sometimes had month/date info, were cut off on the scans.
    So arbitrarily adding dates could result in duplicates, but most importantly it may delude those I distribute the files to into thinking they are somehow valid dates. So I'll stick with the scan date and file renaming. Don't want somebody to see a picture of granny and wonder why she was looking so young when the picture was snapped.
    I've been looking around, thinking there might be a convention for sets of photos and sequences, with perhaps a "x of y" type parameter which would indicate it was part of a set, since photos were commonly taken that way (I have old photos with names like "Roll 1 -3" for example), and since it might be a holdover from then, even when sequential filenames came into use. Even today with camera phones and such I still get lots of filename dups. Or perhaps it was useful when one is shooting sequences or bursts in sports. But I haven't found anything explicit yet. The IPTC extension "object title" might be suitable, since it's used for accession numbers. But not many applications would sort on that.
    And aside from sequence, historical dates can be entered into the IPTC extension "date [object] created." But if the sequence matters, and you only know the year, it's still a problem.
    So overall I think the file renaming is the way to go, with some keywords or descriptors in IPTC to indicate the name of the set. Like filename "1 of 42 Aunt Matilda's wedding."  So even if the photos get moved around, separated, etc the new owner will be able to discern they're part of a set, and with access to metadata get even more info if the filenames somehow got borked.
    Rob

  • Help needed with missing data problem in CRVS2010

    We recently upgraded the reporting engine in our product to use Crystal Reports for Visual Studio 2010 (previously engine was CR9). Our quote report, which has numerous subreports and lots of conditional formatting, started losing data when a quote took more than a single page to be printed. We knew the SQL results included the data, but the report was not printing those lines at all or sometimes printing a partial line. In addition, the running total on the report would exclude the lines that were being missed on the next page. In one example submitted by a customer, 3 lines were skipped between pages.
    I think I have identified two potential issues that document the possibility of data not being included in the report.
    The first potential issue is an issue with the "suppress blank section" option being checked. This issue is supposedly fixed with ADAPT01483793, being released someday with service pack 2 for CRVS2010.
    The second potential issue is using shared variables. This issue is supposedly fixed with ADAPT01484308, also targeted for SP2.
    Our quote report does not explicitly use shared variables with any of the subreports, but it does have several subreports, each in its own section that has the "supress blank section" option checked. We have other reports that use this feature, as well, and they are not exhibiting the problem.
    One different thing about the quote report is that it has a section with multiple suppression options selected. The section has a conditional suppression formula, which controls whether the section is included at all within the report. The section also has the suppress blank section option selected. There are multiple fields within the report that are each conditionally suppressed. In theory, the section's suppress formula could evaluate to true, yet all of the fields within the section are suppressed (due to null values), and then the "suppress blank section" option would kick in.
    The missing data only seems to happen when the section is not being suppressed, and at least one of the fields is being included in the report. If I clear the "suppress blank section" check box, and change the section formula to also include the rules applied to the fields in the section, the missing data problem seems to be resolved.
    Is this related to ADAPT01483793? Will it be fixed in service pack 2?
    If more details are needed, I would be happy to provide a sample report with stored data.

    Hi Don,
    Have a look at the Record Selection formula in CR Designer ( stand alone ) and when exported to RPT format opening that report in the Designer also. 
    There's been a few issues with => logic in the record selection formula. It could be you are running into this problem. Look for NOT inserted into your selection formula.
    Oh and SP2 is coming out shortly so it may resolve the issue. But if you want you could purchase a support, or if you have a support contract then create a case in SMP and get a rep to work with you to debug the issue.
    If you have not try the Trial Version of CR 2011, put it on a VM-ware image or Test PC so you don't corrupt anything for production and have a look at and test it in that designer also. If you purchase a case and it is a bug then you'll get a credit back for the case.
    Don
    Edited by: Don Williams on Oct 26, 2011 7:40 AM

  • Clearing of Balance in GR/IR clearing account due to date problem

    >Hi to All,
    >The scenario is like this :-
    >The client is making back dated entries for quarter between 01.04.2008 to 30.06.2008 in SAP in July 2008 as the system is getting implemented now. He wants to regularise all the transactions in SAP from 01/04/2008.
    >The users entering the data were new and hence though the miro and payment entries were made by F&A in back date. The Purchase Orders and the GRs were prepared in the current date of July 2008.
    >Because of this date problem the GR/IR clearing account is having balance in it, which should have been clear after the processing of the miro document.
    >The documents were handed over to f&a after preparation of GR in the systems for Invoice processing through MIRO.
    >Can anyone plz give a solution to clear the balance GR/IR clearing account.
    >Thanks in advance.
    >Ashutosh M Joglekar.

    Hi Muthuraman,
    No need to clear any thing for PO pending items.
    Regards
    Gitesh

  • My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    My macbook pro recently got swiped and I lost all my data, problem is, just before it was swiped I set up my new iphone 5 which transferred all my photos and music over which is no longer on the computer. What will happen to my phone if I plug it in?

    I never used icloud before so there is no data to back up from. I just spoke  to the apple store and they said that if I do plug it in, all the data will be swiped....is there a program I can use to transfer my data from my phone to computer without loosing it all ???
    Renee

  • From where to get "First day of the week" data for all the locales, is it present in CLDR spec 24?

    I am trying to get "First day of the week" data from CLDR spec24 but cannot find where to look for it in the spec. I need this data to calculate numeric value of "LOCAL day of the week".
    This data to implement "c" and "cc" day formats that equals numeric local day of the week.
    e.g if "First day of the week" data for a locale is 2 (Monday) , it means numeric value for local day of the week will be 1 if it is Monday that day, 2 if it is Tuesday that day and likewise.

    Hi
    If you want to week to be started with Sunday then use the following formula:
    TimestampAdd(SQL_TSI_DAY, 1-DAYOFWEEK(Date'@{var_Date}'), Date'@{var_Date}') if it's retail week(starts from Monday) then the follow below:
    TimestampAdd(SQL_TSI_DAY, 1-DAYOFWEEK(Date'@{var_Date}'), Date'@{var_Date}')
    I'm assuming var_Date is the presentation variable for prompt...
    Edited by: Kishore Guggilla on Jan 3, 2011 4:48 PM

  • Will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    will apple next update to help fix the location following data problems will the ipod touch 2g be included ?

    Chances are the 2g itouch will not be included in the update. Also no one yet knows if it will be fixed in the next firmware but apple has said they know of this bug.

  • Have been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's and the same if I click a link on the page.

    been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's.'''bold text'''

    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

Maybe you are looking for