Infocube to contain only last 7 requests

Hi ,
Please help me with this issue . . . .for BW 7.0
I am having a infocube which is having a daily load. the previous load is deleted everyday.
Now i want to archive this infocubes data to another infocube and this archive cube should contain only previous 7 days data.
i.e the rolling last 7 requests only.
So i need to write a process chain which will load data from daily cube to archive cube, and delete 8th day's data everyday.
Can you please suggest me how to do this. I tried using "Delete overlapping request from infocube" but that is not any help.
1) Are there any functionality in process chians which will delete 8th day;s data everytime
2) or can we apply a filter in DTP's
Please give in your suggestions
regards
Parikshit

jack22 wrote:
creates header line:
To: [email protected]; [email protected]; [email protected]
You use a comma (,) to separate email addresses in the TO: header field, not a semi colon (;).
I believe this happens only if the sender is a web-/java based business application. But our debugging identifies a correct To: line from that application (started tcpdump, initiated on the messaging server). The format of the "TO:" header line isn't correct. If this is the same "web-/java based business application" you mentioned in http://forums.sun.com/thread.jspa?threadID=5391646 then I suggest going back to the vendor to get this fixed.
Regards,
Shane.

Similar Messages

  • HTTP 400 Bad Request Invalid URL error when URL contain only percent "%" without any Hexadecimal

    Hi All, I'm trying to redirect a custom error page when URL contain percent "%" symbol. But when I use percent "%" symbol in URL (https://mctest.aspial.com.sg/%), its saying below error. I don't want to show this error message. I want
    to redirect users to custom error page.  I already added custom error page in IIS & Web.config file for status code 400. But It's now working. It's still showing the same error.
    Bad Request - Invalid URL
    HTTP Error 400. The request URL is invalid
    Is there any way to redirect custom error page when URL contain only "%" symbol? Anyone please help me on this. Thanks advance.
    Below are my server details:
    IIS version 7.5
    .Net Framework 4.0

    I see, so the issue isn't with the % in the query string but rather the URL path itself.  In that case I don't believe this is anything related to your app but rather the web server.  When you provide a URL the web server has to map that to an
    application.  Depending upon where the character falls determines who gets to handle it.  Since the % is next to the domain name it is most likely not being mapped by the web server so you get the general 400 error.  Since this isn't an app
    issue but a server level issue you'd have to redirect at the server level (in IIS: Server\Error Pages). If the % is inside an application's virtual directory then it becomes an issue for the application (in IIS: Site\Error Pages).
    But things can get more complicated.  The web server generally has filters so it won't support requests for certain things (like web.config in ASP.NET apps).  Filtering can be done anywhere between the server and the application.  Complicating
    this is virtual path providers (like MVC). 
    To be honest I don't think you should be worrying about this scenario.  An invalid % in a URL is a bad request so you shouldn't try to treat it differently than a regular 400 error.  In fact I'd say that it could be a security hole (depending
    upon what you're doing).  So you can customize 400 errors at the server or app level if you want but I wouldn't bother trying to distinguish bad URLs from bad requests.
    I recommend you post this question in the ASP.NET forums (http://forums.asp.net ) to see if anyone has a better answer.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • "From" name sometimes only contains the last name

    When the from name contains a "," character the list contains only the last name. I attached a print screen. Please help me because I cant find any settings which can correct is.
    If I edit this contact in my address book and delete the "," character, the problem is the same.

    Try this information.
    The yellow star adjacent to the 'From' name in the header tells me the person is in one of your address books. it is possible that the person is in your 'Collected Addresses' address book.
    Locate the person in address book and double click on name to edit the details
    OR
    click on the 'From' header name and select 'Edit Contact' button
    then click on 'Edit Details' button
    You would have the 'First, Last, Display Name and email address completed.
    The 'Display Name' is what you see in the 'From field of the header.
    Select the option to 'Always prefer Display name over message header'
    Selecting this option shows 'Display Name' in both the list and the from header field.
    click on OK to save changes.

  • How to repeat the last 2 request via delta?

    Hi,
    I have loaded data into a DSO from R/3. After that I loaded further into an other DSO, but it was inconsistent and it could not have activated it. So the last 2 Request in the 2. DSO were bad, I set the request to "red", deleted them, and now I want to reload them again (from the change log table of the first DSO). When I make a delta repeat, the system loads only the last one request.
    What should I do?
    Thx.

    Hi Joe,
    in such cases I do the following:
    1. delete all requests you want to reload in the second DSO
    2. reset the datamart status in the first DSO for the latest request by clicking on the "where used" button at the end of the line
    3. reset the datamart status in the first DSO for the older request in the same way.
    if there are more requests you have to do this for each request you want to reload. Attention: if there are requests which were activated together so they have the same activation request number (collum "PSA request number generated when request is activated") the datamart status will be reset for these requests in one step.
    4. press the refresh button and check if the datamart status is reset for all requests you want to repeat.
    5. load delta from first to second DSO. This delta will contain each request which is not marked with to "where used" icon. You can check this for your DTP in the monitor under header -> selections. There should be both requids (if you're usind old update rules you can check it also in RSMO under details -> databasis)
    Hope this helps
    Best regards
    Nicole

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it.
    I am trying to print out my 2 dimensional array outdie my try block. Inside the trying block I have two for loops in for the arrays. Within the second for loop I have a while to put token from Stringtokeniser into my 2 arrays. When I print my arrays in this while bit it prints fine however when I print outside the try block it only print the last element and lots of blank space before the element.
    Below is the code, hope you guys can see the problem. Thank you in advance
       import java.io.*;
       import java.net.*;
       import java.lang.*;
       import java.util.*;
       import javax.swing.*;
       public class javaflights4
          public static final String MESSAGE_SEPERATOR  = "#";
          public static final String MESSAGE_SEPERATOR1  = "*";
          public static void main(String[] args) throws IOException
             String data = null;
             File file;
             BufferedReader reader = null;
             file = new File("datafile.txt");
             String flights[] [];
                   //String flightdata[];
             flights = new String[21][7];
             int x = 0;
                   //flightdata = new String[7];
             int y = 0;
             try
                reader = new BufferedReader(new FileReader(file));   
                //data = reader.readLine();   
                while((data = reader.readLine())!= null)   
                   data.trim();
                   StringTokenizer tokenised = new StringTokenizer(data, MESSAGE_SEPERATOR1);
                   for(x = 0; x<=flights.length; x++)
                      for(y = 0; y<=flights.length; y++)
                         while(tokenised.hasMoreTokens())
                            //System.out.println(tokenised.nextToken());
                            flights [x] [y] = tokenised.nextToken();
                            //System.out.print("*"+ flights [x] [y]+"&");
                   System.out.println();
                catch(ArrayIndexOutOfBoundsException e1)
                   System.out.println("error at " + e1);
                catch(Exception e)
                finally
                   try
                      reader.close();
                      catch(Exception e)
             int i = 0;
             int j = 0;
             System.out.print(flights [j]);
    //System.out.println();

    A number of problems.
    First, I bet you see a lot of "error at" messages, don't you? You create a 21x7 array, then go through the first array up to 21, going through the second one all the way to 21 as well.
    your second for loop should go to flights[x].length, not flights.length. That will eliminate the need for ArrayIndexOutOfBounds checking, which should have been an indication that you were doing something wrong.
    Second, when you get to flights[0][0] (the very first iteration of the inner loop) you are taking every element from the StringTokenizer and setting flights[0][0] to each, thereby overwriting the previous one. There will be nothing in the StringTokenizer left for any of the other (21x7)-1=146 array elements. At the end of all the loops, the very first element in the array (flights[0][0]) should contain the last token in the file.
    At the end, you only print the first element (i=0, j=0, println(flight[ i][j])) which explains why you see the last element from the file.
    I'm assuming you have a file with 21 lines, each of which has 7 items on the line. Here is some pseudo-code to help you out:
    count the lines
    reset the file
    create a 2d array with the first dimension set to the number of lines.
    int i = 0;
    while (read a line) {
      Tokenize the line;
      count the tokens;
      create an array whose size is the number of tokens;
      stuff the tokens into the array;
      set flights[i++] to this array;
    }

  • How to view only specific authentication requests in access tracker

    Requirement:
    How to view only "Healthy/Unhealthy" requests from a specific Webauth service.
    Solution:
    If we have more than one Webauth service (based on conditions such as Device type or NAS IP or posture status etc) and we need only Healthy/Unhealthy requests from a specific service in access tracker for administrative use; we need to create a custom Data filter.
    Configuration:
    Below are the steps to achieve the same:
          Navigate to Monitoring > Data filters > Click on "Add" option to create a new filter
          Specify a name on the "Filter" tab
          Select the "Rule" tab to specify the unique condition (to filter the access tracker request)
          Create the below conditions: 
                     ( Commonystem-Posture-Token CONTAINS Healthy ) 
                     -   AND   -   ( Commonervice CONTAINS Windows-health-check )
          5.        Save this filter
    Now we can use this Data filter in access tracker to only view Healthy Webauth requests from "Windows-health-check" service.
    Verification
    So now we can verify the output by looking at the access tracker. 
    At present we can see "Eight" webauth requests in access tracker. Now we want to see only Healthy web-auth request from "Windows-health-check" service.
    We change the data filter to the Custom "healthy-filter" and now only see one request in access tracker as per our requirement.

    Hi Vignesh,
    ANy luck on this ? I am trying the almost same thing...and stuck at same point.
    Please let us know if you have any more information.

  • Newbie wants to remove first name from cell that contains "FIRST LAST"

    Any help is appreciated, I'm pretty much a complete newb with a spreadsheet. I have a sheet with sales prospects. One cell has the the full name in a cell, i.e. "John H. Doe". Some of the cells have a period after the middle initial. Some cells have no middle initial. What I am wanting to do is to create a new cell that only contains the first name. If it makes it any easier, I do have another cell that contains only the last name. When explaining how to do this, I ask that you dumb it down for me! I have about 850 rows. I'll need instructions completely in steps. I don't know how to apply a function to a new column. Thanks in advance! I know I'm asking alot.
    Message was edited by: Blacktop711

    BT,
    It would help you to get acquainted with Numbers if you read the User Guide PDF. It's written at a beginner level, not like a reference manual.
    This solution assumes that the full name is in column A. If not, you can substitute your true column for the "A"s in the formula. Click the label on Column A to select it. In the Table Menu, select Add Column After, to make a blank column to the right of the full name column. Let's assume that your first row is a Header Row, so you won't have data or equations in the first row. In the second row of the new column, paste this expression: =IFERROR(LEFT(A, FIND (" ", A)-1), "") (Copied from here)
    That cell that you pasted the expression into should now show the first name of the person in row 2. Now select that row 2 cell and Shift-Click the last cell in that column so that all the cells from row 2 down are selected. Next select Insert > Fill > Fill Down.
    Now all your first names should be showing.
    Let us know if you have any trouble with this.
    Jerry

  • Repeating nodes using FOR loop but when concating XML string then concating only last iteration of FOr loop ??

    I stuck with a problem that I am using FOR loop for generating repeating nodes. 
    Now when I concat the generated node in the main node then I got only last iteration of that FOR loop.
    can anybody suggest me a way to handle this error....
    FOR i IN 1..pl_phone_tab.Count
    LOOP
    SELECT xmlelement("Phone"     
                                        ,xmlelement("PHONETYPE",xmlattributes('01' AS "dmnADRP_PHONETYPE"),pl_phone_tab(i).p_phtype_tab)
                         ,xmlelement("PHONENUM",pl_phone_tab(i).p_phnum_tab)
                         ,xmlelement("PRIMARY_CONTACT",pl_phone_tab(i).p_prcon_tab)
    INTO p_phone_xml
    FROM dual; END LOOP;
    SELECT xmlelement("PhoneInfo"
                           ,xmlconcat(p_phone_xml))
    INTO p_phone_info_xml
    FROM dual;
    here I am getting only one node but there has to be two nodes for PHONE node

    Not that I'm encouraging you but here are two standalone examples explaining how to do what you want :
    1) Loop through the input collection and append each node to its target container :
    SQL> declare
      2 
      3    type t_emp_tab is table of scott.emp%rowtype;
      4 
      5    emp_tab       t_emp_tab;
      6    emp_info_xml  xmltype;
      7    emp_xml       xmltype;
      8 
      9  begin
    10 
    11    -- filling emp_tab with data
    12    select e.*
    13    bulk collect into emp_tab
    14    from scott.emp e
    15    where e.deptno = 10;
    16 
    17    emp_info_xml := xmltype('<EmpInfo/>');
    18 
    19    -- looping through emp collection and appending to EmpInfo element
    20    for i in 1 .. emp_tab.count loop
    21      select appendchildxml(
    22               emp_info_xml
    23             , '/*'
    24             , xmlelement("Emp"
    25               , xmlattributes(emp_tab(i).empno as "id")
    26               , xmlforest(
    27                   emp_tab(i).ename as "Name"
    28                 , emp_tab(i).job as "Job"
    29                 )
    30               )
    31             )
    32      into emp_info_xml
    33      from dual;
    34    end loop;
    35 
    36    dbms_output.put_line(emp_info_xml.getclobval(1,2));
    37 
    38  end;
    39  /
    <EmpInfo>
      <Emp id="7782">
        <Name>CLARK</Name>
        <Job>MANAGER</Job>
      </Emp>
      <Emp id="7839">
        <Name>KING</Name>
        <Job>PRESIDENT</Job>
      </Emp>
      <Emp id="7934">
        <Name>MILLER</Name>
        <Job>CLERK</Job>
      </Emp>
    </EmpInfo>
    PL/SQL procedure successfully completed
    2) Build a secondary collection of XML nodes and use XMLAgg to aggregate them in one go :
    SQL> declare
      2 
      3    type t_emp_tab is table of scott.emp%rowtype;
      4 
      5    emp_tab       t_emp_tab;
      6    emp_info_xml  xmltype;
      7    emp_xml_tab   xmlsequencetype := xmlsequencetype();
      8 
      9  begin
    10 
    11    -- filling emp_tab with data
    12    select e.*
    13    bulk collect into emp_tab
    14    from scott.emp e
    15    where e.deptno = 10;
    16 
    17    -- looping through emp collection and appending to the collection of Emp nodes
    18    for i in 1 .. emp_tab.count loop
    19 
    20      emp_xml_tab.extend;
    21 
    22      select xmlelement("Emp"
    23             , xmlattributes(emp_tab(i).empno as "id")
    24             , xmlforest(
    25                 emp_tab(i).ename as "Name"
    26               , emp_tab(i).job as "Job"
    27               )
    28             )
    29      into emp_xml_tab(i)
    30      from dual;
    31 
    32    end loop;
    33 
    34    select xmlelement("EmpInfo", xmlagg(t.column_value))
    35    into emp_info_xml
    36    from table(emp_xml_tab) t ;
    37 
    38    dbms_output.put_line(emp_info_xml.getclobval(1,2));
    39 
    40  end;
    41  /
    <EmpInfo>
      <Emp id="7782">
        <Name>CLARK</Name>
        <Job>MANAGER</Job>
      </Emp>
      <Emp id="7839">
        <Name>KING</Name>
        <Job>PRESIDENT</Job>
      </Emp>
      <Emp id="7934">
        <Name>MILLER</Name>
        <Job>CLERK</Job>
      </Emp>
    </EmpInfo>
    PL/SQL procedure successfully completed
    Both solutions give the same output.
    Test them both and see which one fits better into your scenario.

  • What is the best way is to create a web app item collection which will contain only the listings where addressstate="ABC".

    What is the best way is to create a web app item collection which will contain only the listings where addressstate="ABC".

    How many systems have you used Robert?
    This is the only system you can not have all item data at least in JSON format and all of it. Big commerce has a lower limit and as I have said in every post related to a limit - I understand the function, but you can still make the requests as just one example (front and back)
    Same with API Robert.
    Firstly - the SOAP API request on say products gets you ALL the products, if you do something through a REST API request you can  make the requests to get all the items to complete your process of what your doing - You have to otherwise the API is pointless.
    Ok if the normal modules can not iterate through if there is a module_data solution, and web apps will get there hopefully sooner then later and you do have the sql query (where) for your filter which is great BUT, if you want to implement a solution across everything you cant do that with the liquid implementation.
    This also flows through to the JSON everywhere in concept which is fundamentally flawed for the same reason... And again referring other like services where a hard API has a limit but the JSON request returns everything.
    How those work varies from the method of request, some will only update every day, xxx time (Depending on cost of the plan) so its a cached version of data, to the ones that limit that request to x number of times per set time/day.
    That is how the actual rest of the world works, varied solutions but they are solutions. BC know they have a few limitations, there clearly is the need for things, there are a varied set of options... It is just a matter of engaging in it and offering up a solution for it, silence just creates frustration.

  • ORA-3297:file contains used data beyond requested resize value.

    Hi All,
    I am trying to rezise a datafile and getting the ORA-3297 error.
    From the dynamic views i verified that there is more than 10GB of freespace in INDEX_TB tablesapce which contains only one datafile whose present size is > 19 GB
    alter database datafile '/data/oracle/oradata/testdb/INDEX_TB.dbf' resize 17G;
    ORA-3297:file contains used data beyond requested resize value.Oracle 10.1.0 on AIX 5.3
    Details are below,
    tablespace_name:INDEX_TB
    size_mb:19797.84375
    free_mb:11947
    free%:60.34495549546904571362727317210996778374
    How do i find the high water mark of the datafile?
    ~Thanks

    Thank you all for the comments.
    Here i got an odd situation. According to the dynamic views there are 56 or 60 % are free in DATA_TB & INDEX_TB tablespace.
    But sql from Doc 130866.1 gives the output as below. I tried coalesce tablespace but no effect.
    Tablespace: DATA_TB Datafile:
    /data/oracle/oradata/testdb/DATA_TB.dbf
    Can not be resized, no free space at end of file.
    Tablespace: DATA_TB Datafile:
    /data/oracle/oradata/testdb/DATA_TB02.dbf
    Can not be resized, no free space at end of file.
    Tablespace: INDEX_TB Datafile:
    /data/oracle/oradata/testdb/INDEX_TB.dbf
    Can not be resized, no free space at end of file.
    ~Thanks

  • Updating the last date request from ODS to CUBE

    Dear Friends,
    Please can someone explain me.
    i allways update request from ods to cube, sometime there will be 3 to 4 request in the ods which wont have the Data mart (Tick) and when i update it to the cube. i can only see 1 request which is current date request. i dont know whether the previous days request has been updated to the cube.???
    but i see in the ODS that all the data mart (tick) is available for all the request.
    And  please can someone explain me, if i have many request in the ods, current date previous day and so on.
    Is there any way to update in such a way, where i can see all the dates in the Cube instead of only 1 request with current date in the cube.
    when i delete the request from the cube and remove the tick from the ods, and refresh, then suddenly the current request and all the previous request TICK will be gone...
    Thanks for your help.
    will assign complete points.
    Thank you so so much

    Hi,
    if you know everday how many request are getting updated in infocube as one request the you can check  the added records in infocube .. it should be equal to the sum of all those request ..
    but transferred can be more or equal .. also its depends on the
    update rules ..designing ..
    Hope this helps you ..
    Regards,
    shikha

  • Find folders & subfolders containing only '.DS_Store'

    Through Terminal or otherwise, how can I find all subfolders in a folder/directory containing only the item ‘.DS_Store’?
    I want to remove these.  I’ve tried deleting .DS_Store through different Terminal commands and then using Spotlight to find files containing zero (and less than 1) items and have located some, but not all.
    Thank you!

    I'm just keeping things factual, I'm sorry if you took it as a negative comment.  It is true that the OP wanted to remove (otherwise) empty folders.
    So in my ~/Downloads/ folder, I do not want to leave all the folders there  I download files for work daily, and they are numerous in number and usually large.  I have a script which deletes files accessed over 60 days ago, and empty folders.  I have thousands of folders that have had their contents removed, but the directory is still cluttered.  Eventually you actually can run out of inodes on a disk, so it's fine to delete folders in this case.
    This thread helped me figure out what I needed and it now works as I hoped. 
    Script for reference:
    #~/Library/LaunchAgents/com.myname.reaper.plist calls this script
    #using launchd to run 1x a day at 10:00
    #`
    #!/bin/sh
    # Finds all files within ~/Cases/ whose "last accessed"
    # dates are more than 120 days ago and moves them to the trash.
    # Finds all files within ~/Downloads/ whose "last accessed"
    # dates are more than 60 days ago and moves them to the trash.
    date
    echo $TIME
    find ~/Documents/Cases/ -atime +120 -print
    find ~/Documents/Cases/ -empty -print
    find ~/Downloads/ -atime +60 -print
    find ~/Downloads/ -empty -print
    find ~/Downloads/ -type f -name ".DS_Store" -print
    find ~/Documents/Cases/ -atime +120 -exec mv {} ~/.Trash/ \; ;
    find ~/Documents/Cases/ -empty -exec mv {} ~/.Trash/ \; ;
    find ~/Downloads/ -atime +60 -exec mv {} ~/.Trash/ \; ;
    find ~/Downloads/ -type f -name ".DS_Store" -exec mv {} ~/.Trash/ \; ;
    find ~/Downloads/ -empty -exec mv {} ~/.Trash/ \; ;
    echo __________________________________________
    echo $TIME
    say -v Zarvox "reaper complete"

  • How to print the text in only last but one page in sapscripts

    hiiiiiiiiiii,
             explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?

    Hello,
    The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
    So u can handle the situation in ur form like this
    /: if &PAGE&  = &SAPSCRIPT-FORMPAGES&
    p1 TEXT
    /: endif
    Try in this way it may help u.
    Regards

  • My ipod touch 4th gen battery only lasts for 3 hours with wifi and brightness fully down

    My ipod touch 4th gen battery life if asful only lasts a maxium of 3 hours with wifi turned off and brightness fully down any suggestions?

    You can try restoring the iPod. However, it could be that the battery is going bad.
    Apple will exchange your iPod for a refurbished onewith a new battery for $79. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the followingwill rplace it for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. You can purchace a replacement battery for about $10
    iPod Touch Repair – iFixit

  • My battery only lasts aboround 3 hours

    My battery only lasts around 3 hours

    Don't bump old threads.  You have an active thread right now.  I doubt Melle is going to check this thread anytime soon.

Maybe you are looking for