Adding a second to the date

Hi gurus,
Please clarify me these things
a) How can I add a second to the date and how can I add one day to the date
b) Reverse key index
Regards

<FONT FACE="Arial" size=2 color="2D0000">
I found some interesting
Article 1
Article 2
Article 3
Article 4
-SK
</FONT>

Similar Messages

  • Adding new fields to the data flow

    Hi,
    I am currently planning to add some new fields in one DSO and map it (with info source) in the update rules.
    Will adding new fields to Info source - Comm. structure affect all the update rules connected to it?
    The info source is connected to multiple DSO.
    (The data source is currently under enhancement for these fields). Once this is done, we have to replicate it to BW.
    Thanks,
    Naveen

    yes.
    Once the enhancement is done for data source in r/3 side, you will have to replicate the datasource in BW.
    Adding new fields will deactivate the update rules. You have to map the same in update rule and activate the same.
    This will require activation of  transformations, update rules, etc for related DSOs. Try to find out the where used list for the DSO where you want to add the new objects. Then check each objects whether these are activate after the changes. If these are inactive, you will have to activate all the objects.
    Cheers
    Chanda

  • Error while adding a second template to the same data definition

    Hi,
    I am quite new to XML Publisher. I am developing a report using XML Publisher.
    I have added one template to the Data Definition. When I tried to add another Template(with different name as previous, to the same concurrent program and application) to the same Data Definition I am getting the following error.
    Error: You entered a duplicate template entry. Please change the Name, Code and/or Application and reapply.
    Can anyone help me out solving this problem. I am reaching my deadline. Please suggest me what can be done.
    Regards,
    Sita

    Hi
    Try to change the Template code name also and then check it.
    Thanks
    Sudheer

  • Newly added field in the data Source not getting populated

    Hello All,
    We have added few fields in the Data Source. The Data Source is based on the InfoSet. We have included the field in the Infoset and have updated the code to fetch the value for the newly added fields.
    When we perform the test extraction for this Data Source in RSA3, the newly added fields are not getting populdated with the value. In the system generated query's selection list, the newly added fields are not selected.
    Please let mw know how to get the newly added field selected in the system generated query of the infoset.
    Regards,
    -Purnima

    Hi,
    As you said you have added the filed in Info Set. Have you included the same in data source? try if not.
    If you are trying to create a query in source system to check the data. I guess in R/3 (ECC) then you have to include the new field in slection critera (ther is an option available on top menu).
    I would suggest before creating any query go to RSO2 select the data source. Display the field structure and check if the filed is there or not. You maysee Infoset level data directly by data display from top menu. Try that optionas well to check.
    I hope it will help.
    THanks,
    S

  • The data is not loading in second level ODS

    Hi Gurus,
    I am loading the data from first level to second. The data is properly loading to first level but second it is picking 0 records inspite there are 19604 records. This problem arised after the changes went live which I have done and tested in Quality server and was done correctly.
    Please throw some light.
    Many thanks,
    Sunil Morwal.

    Hi  sunil..
    1) In monitor screen is it green ??? like in the Processing is it NO data...
    2) check in the status tab of the monitor. what is the status???
    If the second level request is green adn available for reporting and it has activated..and in the first level ODS the datamart status is checked.. then there is no problem..
    the error is coz there i sno ercords which was changes...
    cos the records which were come into the ODS was overwriten adn there are no records for delta..
    So there is no problem,,
    just do the loading for the next deltas...
    Looks like everyhting is okai...
    regards
    AK
    points=thanks

  • How to writing the data into the file at the same frequency of data acquisition using myRIO

    Hi everyone,
    I have a question regarding data acquisition fequency and data recording frequency of myRIO. Hope you guys can help me out.
    Basically, I want to acquire voltage input at analog input 0 at the frequency of 1kHz and then write the data into a file (tdms format). 
    However, I always found there were only 55 or 56 data points recorded every second in the data file (see the excel sheet). 
    To confirm my data acquisition was performed at the correct frequency, I added a small function in the main loop to indicate the time spent between two acquisition events. 
    To my surprise, the period of data acquistion is correct (1ms or 1kHz) but there are only 55 or 56 data point per second recorded in the data file.
    How can I record every data point acquired by the analog input?
    Thank you!
    P.S. I am very new to myRIO. How can I manually set the system time for myRIO? The default time of my myRIO is wrong. 
    Best,
    Tengyang
    Attachments:
    test result.xlsx ‏16 KB
    Main with timed loop.vi ‏122 KB
    test result.xlsx ‏16 KB

    Have a look at the Jakarta POI project, they have a Java API for creating Word documents.
    http://jakarta.apache.org/poi/hwpf/index.html

  • My 40gb can be played but Itunes says it is corrupt.  I want to get the music off the Ipod onto my new computer, old computer died which had all the data on it (crap on my behalf I know)  Anyone know how to do this?

    My hard drive is corrupt even though I can listen to the music on the Ipod.  Itunes says it is corrupt so obviously cannot read it properly.  You can hear the disk reader resetting every few seconds preventing the data recovery.
    We can see the track listings and playlists which we used for our wedding in 2005 and desperately want them back.
    Sadly we lost the hard drive that had Itunes on it with all our music which we dont have a back up of.
    Is there anyway it can be repaired and then we get the music off the Ipod and get it back on a new pc....and back it up of course?!!!

    From the OP: "My old computer got a virus and when that happened all my music was lost. "
    They don't have the music on their computer so they cannot transfer the iTunes folder, from the computer to their iPod and then to the new computer. And if they try to enable disk use on the iPod it will erase all the music that is on it. The method you cited is moving the files in a data format using the iPod as a flash drive. It doesn't work if they are in music format. That is why I suggested Yamipod.

  • Sorting the data of control block in oracle form 10g

    I have two block....both are the control block..
    in first block i select the date and in second block the data of that date is populated.but the data is populated
    using cursor in when-button-pressed trigger of that first block button...
    in cursor the data is selected and placed in field of detail block using into clause.... each field..
    .and one item of detail block is srno which is create in post-query of detail block using
    :sysyem.trigger_record.
    Now i want after populated the detail block the data is sorted desc one of the field of the detail block...
    Can this possible using set_block_property() of block although the block is control block if yes where i should do
    this??????
    Please explian...????

    but with the cursor of repopulate ...how the block is in desc by one field..because if i use again the same cursor to poulate than whats this benefits???
    if i write a cursor in button when-button-trigger in first block like this code....
    go_block('');
    cursor emp_cur is
    select empno,date,sal
    from emp;
    begin
    for i in cur loop
    select i.empno,i.date,i.sal
    into :empno,:date,:sal
    from emp
    end loop
    end;
    this loop populate the block which is controll block..
    syntax error should be ignored ...i wana to explain what i want to do...
    this is not the actual query i have another query but the concept is that...
    how i can do this...

  • How can I dynamicall​y read a file and show/plot the data in the GUI?

    Hi, everyone,
    I hope to implement a VI with the following function:
    Usually, when we "read a file" in VI and then show the data in the Waveform Chart or other display GUI, the VI will first read and record all of the data from the file and then show them simultaneously. Now, I want to implement a VI, which could read  the data from a file and display it in a time series. That is, I can define a "sampling rate" or "reading rate", like 100 data points / second,  then the data points could be correspondingly shown in Waveform Chart one by one as the time moves on. The key purpose is to simulate a real-time data collection module using an existing file.
    I don't know how to implement this function. Any suggestion and solution are really appreciated.
    Thanks.
    Zhanpeng

    Heres the same effect, just a different approach :
    The code in the red box was used to create data that you would be getting from a file.
    What you could do is (shown above) :
    - Read all of the data
    - Index only one value at a time, and set the 'sampling rate' using a wait in a while loop.
    - Build an array using this value, which will simulate collecting data in real time.
    - I used an array of the iterations as X-values, because they coincidentally correspond to # seconds in my example
    - I then bundled the time array (xvalues) with the values from your file (yvalues)
    - Send that bundle to an XY graph
    That should work, though you could implement some different logic for different sampling rates.
    Let me know if you need a hand with that.
    Message Edited by Cory K on 02-26-2009 11:36 AM
    Cory K
    Attachments:
    graph from file.PNG ‏10 KB

  • Dynamically call function module in the date rule

    Hi Experts
    I am currently working on service request.I am facing a problem in the date management there.In my service request i have 5 statuses .One of my status is "Pending with consumer".I am using duration settings of service request.By duration settings , i am calculating the duration for which its pending with consumer.I am having 2 response profile one is 24*7 and other is having 9 working hours.In the service request from the SLA configuration i am calculating the escalation date & Time .I need to add the pending with consumer duration with the escalation date and time.I am facing a problem , i am explaining whole problem ..
    Let say if the pending with consumer duration is  1440 minutes(that is 24 hours) .I am adding the minutes to the escalation date through the date rule.
    I am facing problem that if the service profile is 24*7 then there is no problem but if it is having the 9 hours working service profile then after adding the minutes to it the escalation date is changing to 4 days ahead which is wrong.
    I need to add only those minutes for which it is pending with consumer in working hours for the 9 hours service profile
    I need to dynamically determine the working hours from the duration then add it to escalation dates when the status is changed from pending with consumer.
    Please suggest a badi will work or how to do it.
    Is there any way so that while adding duration's in the date rule i can determine if the service profile is 24*7 then i will directly add the durations or else if service profile is 9 hours then i will determine the working hours from the duration" pending with consumer" then i will add.
    Is there any way so that i can call any custom function module then write my logic there
    Its urgent as i need to give demo.I will appreciate a quick reply.Please reply
    I will assign points as soon as i will get reply.

    Hi sridhar,
    the explanation already given is correct and good. Small add-on:
    All functions called during one LUW with addition IN UPDATE TASK are stored together with their actual parameters in a temporary memory area. The moment a COMMIT WORK is issued, the functions are released to be executed by a so-called update task which is running in the background. This explains why functions called in update task never return anything, no SY-SUBRC and no export or table parameters If a function called in update task raises an exception or runs into an error the calling user will get an express message informing about this. Also, all database updates done by this update process are rolled back to keep consistency.
    This proceeding helps to keep database tables consistent and allows the user to keep on doing his work before all database updates are complete. You may have seen messages like "material will be changed" after saving. If you open the same material immediately, you'll get a message "object locked by...<yourself>". This means the update task is still running.
    Regards,
    Clemens

  • Clearing the FORM after SAVING the data

    Question 1:
    I've got a form that is built based on a table. When I enter the data and click on the save button, the FORM doesn't clear for me to enter the data for the next record. Where and how can I set up a process so that the form clears after the data is saved?
    Quesstion 2:
    I've got a form that is built based on a table. The table has 10 fields where one of the fields is a FK. I want all 10 fields to be on the form. I want the FK to be a select list where the display value is a description and a return value is an ID. I have picked the correct fields for display value and return value. However, when the data is saved, the return value is not stored in the table field. The field is bank. Any idea why this is happening?

    Hi,
    The simplest way to clear the items for a page is to add the page number in to a Branch that is triggered by your Create/Save button - check your branches to see which one is linked to this button and enter the page number in the Clear Cache setting. If you created the form using a wizard, you should, however, already have a "reset page" page process that does this for you - if you haven't got this, then either update the branch or create a new "Session State" process that clears the cache.
    For your second question, the data will be saved provided the page item is correctly linked to the table's field and you have "Process Row of tablename" set up correctly. If you have a "Process Row..." process, check the required settings in the "Source: Automatic Row Processing (DML)" section as these identify the table and its Primary Key. If you don't have one, you can create a new "Data Manipulation" page process to do this. In the page item, check that you have "Source Used" set to "Always, replacing any existing value in session state", "Source Type" set to "Database Column" and "Source Value or Expression" set to the table field's name.
    One thing to check as well is, if you already have a "reset page" process, make sure it is after all other processes - change the sequence number if necessary.
    Andy

  • Pop-up allows first pop-up page and the second pop-up page (linked from the first one) but does not open the data in the second pop-up page.

    I want to print my online bank statement.
    Please see screen shots below.
    The webpage has a link that says:
    VIEW STATEMENT
    Click the link and a pop-up opens that warns you about downloading using a public-access computer or sharing a computer with others.
    If you want to continue click OKAY.
    When you click this link another pop-up appears (a pop-up within a pop-up)
    but it is blank.
    When the process used to work, the statement would appear.
    MacBook running OS X 10.6.8
    When I tried it with Safari everything worked as it should so the problem is not with the bank.
    I went back to Firefox (my preferred browser) and did the troubleshooting RESET.
    Nothing changed.
    In the Tools menu - Page Info - Permission - Open Pop-up Windows is set @ Default - Allow
    In Preference - Content - Block pop-up windows is unchecked
    or when it is checked the website is listed in the Allowed column.
    It is the correct url because when I clicked the yellow options bar to Allow it, FireFox automatically chose it.
    I also tried adding the extended url as it appears on the web page which has the first pop-up link.
    Firefox would not accept it.

    Screenshots:
    # Part of bank's webpage with the link to the first pop-up
    # The first pop-up page with link to the statement pop-up page.
    # The second pop-up page - blank where there should be the statement. The page appears but the data doesn't.

  • Error reading in file data on second entry and save of the data

    Hi,
    I'm trying to write a class that will save two integers and a string to a text file, which can later be searched. Both integers and the string are input by the user in the main class via the keyboard. The file is saved as follows,
    100 1
    901,111,offer releaseThe first line represents the maximum number of videos, and the current number of videos in the list. The second integer on the first line is automatically incremented to represent the correct number of video copies.
    When the test main class is run again to allow the user to enter a second line of data, it returns with the following error,
    Error in SimpleInput.readInt() - digit expected
    ,111,offer releaseWhy is it unable to find the first integer on the second line?
    My constructor for the class is as follows,
    public Video(int refNum, int titlerefNum, String filmOffer) {
            referenceNumber = refNum;
            titleReferenceNumber = titlerefNum;
            String[] words = filmOffer.split(",");
            videoOffer = words[0];
        }and my test main class is,
    import simplejava.*;
    import videos.*;
    import java.io.*;
    public class AddVideo {
        public static void main(String[] args) {
            //String film, actor1, actor2, director, title;
            int videocodeNum, titlecodeNum;
            String currentvideoOffer;
            SimpleReader keyboard = new SimpleReader();
            SimpleWriter screen = new SimpleWriter();
            SimpleReader inFile = new SimpleReader("title_test.txt");
            SimpleReader inFile2 = new SimpleReader("video_test.txt");
            TitleList titles = new TitleList(inFile);
            VideoList videos = new VideoList(inFile2);
            videocodeNum = keyboard.readInt("Reference Code for the Video?");
            titlecodeNum = keyboard.readInt("Reference Code for the Title?");
            currentvideoOffer = keyboard.readLine("Current Video Offer Code?");
            videos.add(new Video(videocodeNum, titlecodeNum, currentvideoOffer));
            screen.println(videos);
            Title search = titles.lookUp(titlecodeNum);//searches the title_test.txt file to find
            if (search == null)//the title code for the relevant number.
                screen.println("Not found");
            else screen.println(search);
            SimpleWriter outFile = new SimpleWriter("video_test.txt");
            videos.saveTo(outFile);
            outFile.close();
    }Any help or advice appreciated!!

    Hi,
    I'm trying to write a class that will save two integers and a string to a text file, which can later be searched. Both integers and the string are input by the user in the main class via the keyboard. The file is saved as follows,
    100 1
    901,111,offer releaseThe first line represents the maximum number of videos, and the current number of videos in the list. The second integer on the first line is automatically incremented to represent the correct number of video copies.
    When the test main class is run again to allow the user to enter a second line of data, it returns with the following error,
    Error in SimpleInput.readInt() - digit expected
    ,111,offer releaseWhy is it unable to find the first integer on the second line?
    My constructor for the class is as follows,
    public Video(int refNum, int titlerefNum, String filmOffer) {
            referenceNumber = refNum;
            titleReferenceNumber = titlerefNum;
            String[] words = filmOffer.split(",");
            videoOffer = words[0];
        }and my test main class is,
    import simplejava.*;
    import videos.*;
    import java.io.*;
    public class AddVideo {
        public static void main(String[] args) {
            //String film, actor1, actor2, director, title;
            int videocodeNum, titlecodeNum;
            String currentvideoOffer;
            SimpleReader keyboard = new SimpleReader();
            SimpleWriter screen = new SimpleWriter();
            SimpleReader inFile = new SimpleReader("title_test.txt");
            SimpleReader inFile2 = new SimpleReader("video_test.txt");
            TitleList titles = new TitleList(inFile);
            VideoList videos = new VideoList(inFile2);
            videocodeNum = keyboard.readInt("Reference Code for the Video?");
            titlecodeNum = keyboard.readInt("Reference Code for the Title?");
            currentvideoOffer = keyboard.readLine("Current Video Offer Code?");
            videos.add(new Video(videocodeNum, titlecodeNum, currentvideoOffer));
            screen.println(videos);
            Title search = titles.lookUp(titlecodeNum);//searches the title_test.txt file to find
            if (search == null)//the title code for the relevant number.
                screen.println("Not found");
            else screen.println(search);
            SimpleWriter outFile = new SimpleWriter("video_test.txt");
            videos.saveTo(outFile);
            outFile.close();
    }Any help or advice appreciated!!

  • Problem while refreshing the data for the second time using excel services in sharepoint 2013...

    Hi,
    I have migrated my Sharepoint from 2010 to 2013.I am able to get the data at the first time of refresh when I click on refresh for the second time I am getting the empty the sheet.
    below find the flow of refresh
    First Refresh
    On Click of refresh open the workbook with excel services and return the session id.
    Using that session I am invoking RefrehAsync method of excel services
    After refresh completed I am setting the calculation of workbook as automatic(to calculate the formulas) using the same session id
    After setting the calculation as Automatic I am setting the calculation type as full(recalculate) using the same session id.
    Now I am able to see the data
    Second Refresh
    After clicking on refresh instead of opening the workbook I am using the session id(already opened workbook) and setting the calculation type as manual
    I am following the same process from refresh(RefreshAsync) as I have followed in first refresh.
    This time my formulas are not getting calculated because of that I am not able to see the data.
    Could you please let me know that am I missing anything here?
    Is this know issue in Sharepoint2013 excel services as same code is working fine with Sharepoint2010.
    If I close the workbook(session id null) and opens(new session id) for all the refreshes it is working and I am able to see the data.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

    I am able to see the data for the second refresh  if I change the data source.If I use the same data source which is used in the first refresh I am not getting the data.Excel services will contact the cubes and calculate the formulas in my workbook.
    Could you please let me know what could be the problem at second refresh while contacting the same data source with same session id?
    Please help me asap.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

  • I can't get my ICloud started. Each time i try to sign in..it indicates that theres a problem with my email apple address but never indicates what. I added a second email but the same result. Have changed my password numerous times...no result?????

    I have followed the instruction relating to Icloud connection.When i went to system preferences, my Apple address is continually rejected. I have added a second email as suggusted by an Apple site but i still get the same message. Im not told why the Apple ID/email is not accepted when it is accepted in all other Apple sites. I changed my password numerous times to ensure it wasnt the password but to no result. It continued to state that my Apple ID was the problem. I live in Malta,Europe. Have new Apple Mac Pro and Ipod. The annoying thing is that ICloud continually send me the problem notice but do nothing to tell me how to fix it? Can i switch this notice off? Help???????

    Welcome to the Apple community Yao.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

Maybe you are looking for

  • How do I update my graphics card driver for ATI HD2600?

    I have this new driver that I can update namely a new bios version and a display one which is version 8.432 for my hd2600 (8.383 now). But how exactly do I do this? Should I first uninstall my older ati driver or can i just install them over it?

  • CS2 Error Could not complete your Request because there is not enough memory (RAM)"

    Using, WinXP SP3, P4, 80G HD, 2G RAM I had a student try to place, open and copy a .jpg file into Illustrator and none of the ways worked. 1) Opened Illustrator selected FILE, PLACE and then directed to get photo. It shows an empty box. 2) Starting f

  • Can't see jpeg thumbnails

    After 6 hours of reading the same solution, I still can't get this to work. I can't see jpeg thunbmails/icons. Just that stupid jpeg icon and I've done the cmd j preview icon thing and everything else mentioned. This is stupid.. os x mavericks 10.9.1

  • Acrobat Standard 9.4.5 Known Bugs

    The Acrobat Standard 9.4.5 update broke highlighting the first occurrence of  search text on each page and the ability to select multiple pages from  the thumbnail Page viewer while holding Ctrl down.  Both of these commonly  utilized features work f

  • SSIS 2012 Custom Component not working

    Hi, I had a SSIS package that was working in SSIS 2008.Now we have upgrade to SQL Server 2012 So we need to upgrade our SSIS task. My SSIS package has two Custom Components that are creating package at run time.I followed the below steps to upgrade m