Time stamp a report name

For a title of a report under regions
I am trying to put a time of 2 months ago using report_name &P3_TODAY - 60.
But I am having trouble using *&P3_TODAY.* which is not working.
Is there a way of doing this?
Thanks.

Hi,
There are a few things you've misread - though I probably could have written my answer better!
I have just tried this out myself on a test app and it works if I do the following:
1 - Create a Hidden and Protected field called P136_DATE in my report region
2 - Create a SQL Query computation for the page item P136_DATE to be run only when P136_DATE is null, and using the following SQL statement:
SELECT TO_CHAR(TRUNC(SYSDATE) - 60, 'DD/MM/YYYY') FROM DUAL3 - Set my report's title to:
Report title - &P136_DATE.Running the page, shows a report title of: Report title - 28/07/2008
Andy

Similar Messages

  • Ignore time stamp in file name to load infopackage

    Hi
    Everyday a .csv file gets written into a particular folder in my application server. the filename is as TESTYYYYMMDDHHMM.csv.
    Now i have written a program to pick up the file with TESTYYYYMMDD, but the time stamp doesnt match, hence i have to ignore it when i read the file.
    Can someone please tell me some simple logic/Abap code to ignore the time stamp in the name? i have tried using TESTYYYYMMDD*.csv, but that doesnt work.
    Please help. this is very urgent.
    Thanks
    Sushmita

    I read the content of the folder into an internal table usign EPS_GET_DIRECTORY listing. i cud read that into a variable, using a simple loop.
    and pass it to the Infopackage as file name.

  • Help adding current Date and Time stamp to file name

    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile.htm 8/29/2007 11:41 AM
    This is my script:
    <script>
    function doSaveAs(){
         if (document.execCommand){
              document.execCommand('SaveAs','1','myfile.htm')
         else {
              alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>
    Thank you

    I agree, I guess I overlooked that!
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    This is my script:
    <script>
    function doSaveAs(){
    if (document.execCommand){
    document.execCommand('SaveAs','1','myfile.htm')
    else {
    alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>

  • Time stamps in reports and status are 7hrs off, is there a setting?

    Time stamps in reports and status are 7hrs off, is there a regional setting to correct this?
    When I run e-load all reports and any other time stamps are 7 hours off. (If I run a test at 9:20am pacific time the e-load shows 4:20pm). The e-test scripts show the correct time if I run those via e-test.
    Is there a setting for this?
    Thanks!

    Hi hagstal,
    Actually, this is a known issue on Vista.
    You need to edit the follwoing file to specify your timezone;
    \Empirix\EmpAppServer\bin\JbossService.conf
    Please refer to Known Problems section of e-TEST suite Release Notes for more details.
    regards

  • Extract date/time stamp and modifier name from memo field

    I need to extract all date/time stamps and modifier name strings from the Work Log memo field - or conversely, filter out all of the comments after the date/time modifier strings.    I have the string extract but it only extracts the first one.  I need to loop until all are found - how can I do this?  The memo field will look something like this:
    3/5/2009 3:32:05 PM John Doe
    Comments - string can be any length
    3/4/2009 12:35:43 PM John Doe
    Comments - string can be any length
    3/4/2009 12:28:17 PM Jane Dough
    Comments - string can be any length and include date format 2009-06-04 14:20 CST.
    3/4/2009 12:27:47 PM Mary HadaliddleLam
    Comments - string can be any length
    3/4/2009 12:26:55 PM Lamseedivy
    Comments - string can be any length
    3/4/2009 12:15:22 PM Mareseedoes
    Comments - string can be any length.

    Here is a formula that will strip all 'comment' and blank lines and puts the datetime stamp and user names into an array.  You have to manipulate the elements of the array to further separate the datetime stamp and user name if required.
    // Declare two indices
    numbervar i := 1;
    numbervar j := 1;
    // Split each row of the memo field into an array
    // if chr(10) does not work then try with chrw(13) or chr(13)
    stringvar array x := split({Sheet1_.Comments},chr(10));
    // Declare a holding array
    stringvar array y;
    // Declare the size of the new array to be equal to the elements in array 1
    redim y[ubound(x)];
    // Copy only if the first word of each element of array 1 is neither "comments" nor a blank line
    for i := 1 to ubound(x) do
    if split(x<i>) = 'comments' or x<i> = '' then
    else
    (y[j] := x<i>;
    j := j + 1;
    // Compress the new array to eliminate the last blank element
    redim preserve y[j-1];
    // Joining the elements of the new array and the number of elements for display
    join(y,chrw(13)) & chrw(13) & ubound(y);
    With your example, this formula will return:
    3/5/2009 3:32:05 PM John Doe
    3/4/2009 12:35:43 PM John Doe
    3/4/2009 12:28:17 PM Jane Dough
    3/4/2009 12:27:47 PM Mary HadaliddleLam
    3/4/2009 12:26:55 PM Lamseedivy
    3/4/2009 12:15:22 PM Mareseedoes
    6.00
    Make sure the "can grow" option is checked to display the results and also check for case sensitivity of "comments".
    Edited by: Sanjay Kodidine on Jun 30, 2009 10:13 AM

  • Need to add date/time stamp to file name without time change creating new files

    We have setup our application to save data once a trigger event occurs. We also need the date/time stamp as part of the file name. We used Format Date/Time String and concatenated it into the file name. It all works good, but as the time changes (seconds, minutes, etc.) it causes the Write to File to create a new file with the new filename. Is there a way to create the file and save/latch/buffer the time in the file name so that it doesn't create a new file for every second?
    I've attached a shot of the relevant part of our VI. It's all in a big while loop. The data save is in a case/switch so that when it is triggered it starts saving. (The for loop is to split the data up
    into 4 different files). Like I said, it all works except new files are created every second as the time changes instead of just putting it all in one file with the initial time in the file name.
    Attachments:
    TimeInFileNameQuestion.jpg ‏46 KB

    I need a loop in order to use a shift register. I cannot stop the outer while loop (because it would stop the hardware from collecting data), and I cannot add loops inside which bogs down the processor to where the app stops. I've attached a simpler version of my VI which illustrates the problem. While the button is pressed (the trigger) it should save the data (in this case just cycle numbers) into one file with the initial date/time. But, you can see that it creates 1 file/second. I tried using shift registers, but without adding extra loops I can't see how to do it. Thanks
    Attachments:
    FileNameTest.vi ‏29 KB

  • Add the time stamp ater file name (suffix)

    Hi friends,
    i need help for below requierment.
    I want to add the time stamp for my file name.
    like *filename YYYY-MM-DD-HH-MM-SS.txt*
    i don't know how to wirte the UDF for this. please any help me on this.
    thanks
    Srini..

    Hi,
    You have to Use Add Time Stamp Option in the Receiver File Adapter--Under File Construction Mode
    Check this
    http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    REgards
    Seshagiri
    Edited by: N V Seshagiri on Oct 14, 2008 2:02 PM

  • When or How does the time stamp on Report Manager / Data Collection change

    Hi,
    I have been waiting since 10am waiting for data to be available. Unfortunately, the Sun MC has not updated the time stamp. I am unable to create graphs for the machines I setup this morning? Any ideas on how to post data faster than waiting forever for Sun MC server?
    thanks

    Hi,
    Clearly a bug. You can try changing your Tools|Preferences|Database|NLS|Timestamp Format to match the Date Format as a workaround. Otherwise why not upgrade to the lastest production SQL Developer release (3.1.07.42)? The bug does not occur there.
    Regards,
    Gary
    SQL Developer Team

  • Time stamps in reports are different than what is on the record

    We have some users in the UK who have their time setting set to GMT. On our SR form, we have a few date/time fields. The data on the form is correct.. When they run a report with these fields, the time is adjusted by 8 hours, or PST, which is the time zone in our company profile.
    How can we make sure the reports show the correct time based on the users time zone?

    Did you get an answer re this David? Currently a client is having the same issue, trying to run an end of month report with some records entered on the last day of the month not being captured due to this time difference.

  • Time stamps on reporting & charts

    Is there a way to get the reports and charts on the WAAS CM to use something other than GMT?

    Found it .. When we changed the time zone under the Date / Time all appears to be better.
    Brent

  • Want to append time stamp to file name in log4j property

    Hi
    I want to append the timestamp to name of log file.
    here i am attaching my sample log4j.property file
    plase heple me for correct syntax
    log4j.logger.bar=DEBUG, dest1
    log4j.appender.dest1=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
    log4j.appender.dest1.file=log.log
    #log4j.appender.dest1.append=true
    log4j.appender.dest1.datePattern='.'yyyyMMdd
    log4j.appender.dest1.layout.ConversionPattern= %d{dd-MMM-yyyy HH:mm:ss aaa} [%3p] %n%m%n%n
    log4j.appender.dest1.encoding=UTF-8
    log4j.logger.foo=DEBUG, A2
    log4j.appender.A2=org.apache.log4j.RollingFileAppender
    log4j.appender.A2.layout=org.apache.log4j.PatternLayout
    log4j.appender.A2.File=example1.{timestamp}.log
    #log4j.appender.A2.append=true
    log4j.appender.A2.layout.ConversionPattern= %d{dd-MMM-yyyy HH:mm:ss aaa} [%3p] %n%m%n%n
    #log4j.appender.A2.datePattern='.'yyyyMMdd
    log4j.appender.A2.encoding=UTF-8

    Is your google broken?
    http://www.google.com/search?q=log4j+timestamp+syntax+examples

  • Trimming Time Stamp in File Name using IC

    Hello,
    scenario is File to File without mapping. We are using Integrated configuaration to achieve this.
    Issue is on target side file name is being written as xyz.ddmmyyyy-ssssss
    but we need to eliminate milliseconds and need target file name as xyz.ddmmyyyy only.
    any inputs on how to achieve this please? I am struck here as we cant use UDF since we do not have mappings.
    Thanks.

    Hello,
    Aside from scripts, you can use an adapter module to fulfill your requirement:
    http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicfilenameinaFiletoFilepassthroughscenario
    Hope this helps,
    Mark

  • The export file from a calc script - naming and date/time stamp

    Here is a simple calc script to export data.
    2 questions:
    1. Is there an easy way to add a date/time stamp on the name of the data file so that it does not overwrite the older ones every time?
    2. I tried to specify the path so that it write to another server. "\\mfldappp011\E:\Exp_AW.txt". It's not working. How should I specify the path ?
    Fix (@Relative("Yeartotal",0),"Actual","Working",&ActualYear);
    Dataexport "file" "," "C:\Exp_AW.txt" "#MI";
    EndFix;
    Edited by: user9959627 on Sep 7, 2012 11:25 AM

    Probably easiest to call the maxl script from a command line script, then rename the exported file to include the tme stamp and copy/move it to a location.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • SAP PI - Windows OS Generated Time Stamp

    Hi Experts,
         PI should pick the Files from FTP location based on the File create time (This is not a time stamp on file name but a windows(OS) generated one). Is it possible in SAP PI?
    Regards,
    Aniruddha

    Hi,
    This is possible in NFS protocal  Processing Sequenc By Date
    ●      Processing Sequence (for transport protocol File System (NFS))
    If you used placeholders when specifying the file name, define the processing sequence of the files:
    ○       By Name: Files are processed alphabetically by file name.
    ○       By Date: Files are processed according to their time stamp in the file system, starting with the oldest file
    (http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm)
    Regards,
    Naveen.

  • Adding date/time stamp to images

    Hi all, we are working with multiples video sources with JMF. Now we need to add on each stream a date/time stamp and a name of the source camera.
    Does someone knows how we can do it without manipulate each frame on each source ?
    Thanks in advance and best regards.
    Edoardo

      Try the Premier Elements forum for video questions. You will get better advice over there. Good luck.
    http://forums.adobe.com/community/premiere_elements

Maybe you are looking for

  • Displayport to Mini Displayport in?

    Hi everyone, I'm currently using a 27" iMac from late 2009, and I've gathered from multiple threads/posts/bits and pieces of information that the 27" iMac can function as a stand alone monitor in target mode. At the same time, I'm considering buildin

  • HT1444 there is a sign lock to my screen to my Mac Book Pro

    MacBook Pro  Sign Lock

  • Bdc recording for trancastion ME01

    Hi, Can u help me in BDC recording for transaction 'ME01' . I have no idea for transaction 'ME01'  & here i like to know how to handle table ctr during bdc recording? give sample code if possible. Thanks

  • Audio is Out of Sync withVideo!

    Anyone know how to correct that the audio is out of sync with the video when playing back a movie in the Video app? The movie was an included download to iTunes that came with a Disney Blueray we bought. My daughter doesn't notice it of course but I

  • Unity Cxn 8 smtp relay - wav file name

    Hi, Just wondering if it possible to change the name of or date/time stamp the wav file sent when relay is used? i.e. instead of voicemail.wav -> voicemail_15:13_06062012.wav Regards, John