Date and Time stamp for the archives

Hi,
I'm trying to set up a date/time stamp field for a Documaker archive.
I've added a TIME_STAMP field in my APPIDX.DFD and I populate the field using a DAL script, invoked by a PreTransDAL line in my AFGJOB file. That works fine but, the DAL script being invoked for every transaction, it adds to the processing time.
I do not need an exact date/time stamp for each transaction in the batch, I could use the same one for all the transactions. That would require the TIME_STAMP global variable to be populated once, at the job level, at the beginning of each batch.
Any suggestions?
Thanks.

Hi Gaetan,
Try using a BatchBannerBeginScript to populate a GVM with the date/time, and then reference this GVM in your APPIDX.DFD. In this manner the value will be updated at the start of processing for each batch rather than each transaction. Or, consider the possibility of adding the transaction date/time into the extract data and then sourcing from that point. Either should work. In my experience most customers prefer that the archive date/time come from the system of record rather than the time the transaction was archived -- unless of course the customer actually wants to record the time the transaction was archived, in which case the method I've described above should work.
Enjoy!
Andy

Similar Messages

  • Date and time stamp for the file

    Hi Experts,
    My Requirement is to create a csv file with the name testfile_date&timestamp.
    If i select add time stamp in the receiver file communication channel the file be as testfile_yyyymmdd_hhmmss_XXX.
    The XXX is message id which comes by default by selecting add timestamp option.
    but, i don't want the message id displayed in the file name.As i know from the blogs  we can reach this requirement as per Michels blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    I am not clear in the mapping. after writing the udf, to which filed i need to map with that udf.
    can you please tell me stel by step how how to do mapping and how to achieve the requirement. request you to send the code forthe  udf.
    Thanks
    Rahul

    Hi,
    you can wirte udf and map it to root element of the target message type. u just need to execute the udf.
    UDF:
    // UDF havs one input parameter - timestamp
    Code:
    DynamicConfiguration conf = (DynamicConfiguration) container .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String OldFileName  =  conf.get(key);
    String newFileName  =  "";
    if (OldFileName != null) {
        newFileName = "testfile_" +timestamp ;
        conf.put(key, newFileName);
    return  newFileName; 
    Mapping:
    Date (standard function) [Formmat yyyyMMdd_hhmmss] -> UDF -> MesageType.
    Thanks.
    Ritu

  • I have a iphone 3 and want to know if there is a date and time stamp on the phone for the pictures

    is there a date and time stamp for pictures on iphone 3?

    Open a one of your pictures in any photo app on your computer and see if the metadata is there.  I'd be surprised if it isn't.

  • How to provide date and time stamp to the extracted file.

    I 'm downloading data from DB to Flat file using GUI_DOWLOAD. whenever it is executed it is creating with a file name.
    if i rerun the program the file is overwriting with the same name.
    now based on the requirement how many times i executed, that many times file should be individually created and should be added with date and time stamp.
    like
    if when i executed  at the very first time it should saved with filename, date and time.
    say "Address.txt 04/05/2007 07:55:10"
    When i executed it for second time it doesn't overwrite the file.
    it should create a new file.
    like "Address.txt 04/05/2007 07:59:20".
    Please guide me the way if possible code.
    Thanks in advance.

    Hi Vamsi,
                   Use FM 'F4_PROGRAM' to take file from the user .
    In this case user will enter the file name. u can append date & time to that file path.
    Refer this code.
    CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SY-REPID
          DYNPRO_NUMBER = SYST-DYNNR
        IMPORTING
          FILE_NAME     = P_P_FILE.
    concatenate P_FILE '04/05/2007 07:59:20' into V_FILE.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                        = v_file
         filetype                        = 'ASC'
          write_field_separator           = 'X'
        TABLES
          data_tab                        = i_tab
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF sy-subrc = 0.
        MESSAGE i002.
      ENDIF.
    Reward points if helpful.
    Regards,
    Hemant.

  • Does photoshop have a simple date and time stamp for photos taken?

    I am an enforcement office and require date and time to be printed on my photos. Does this app give me that feature?

    HI Lbheobrown,
    I think this might be too specialized a feature to be something that every Photoshop Touch user would need/want. I went to the app store and just did a search for "timestamp" (no qoutes with the actual search). I did find some apps that read the metadata and can add timestamp info to photos. You might be able to timestamp your photos first with some other app then import the images into PS Touch.
    Some of the apps I saw were
    - StampPhoto - added timestamp and geotagging location info (included a little map of the location on the photo itself)
    - phoTime - has a camera button in the app that adds the timestamp at the bottom as photos are taken
    - Timestamp It! - New and existing photo support, change text color, custom date and time entry support
    You might investigate these further, all were in the $1 app price range
    Hope that helps,
    -Dave

  • Date and time stamp for movie. How?

    I need the date of a movie--or clips from movies---made with a Flip camera.  How do I get that date to appear on the footage?

    Hi
    I never seen any way to do this in iMovie - any version (may be me to illitterated)
    But - I've used a way around - by going via Analog out from Camera (my can show date and time on TV) - then to an A/D-box (I use a Canopus ADVC-300 - now named Grass-Valley ADVC-300) and from this via FireWire to iMovie or FinalCut.
    Picture quality is lost this way (can be handled somewhat better in FCE/P) but it works.
    Yours Bengt W

  • How do I find the date and time stamp on pictures?

    How do I find the date and time stamp for my pictures?

    The Photos app will not do this but other apps will. iPhoto has an icon that when tapped with the photo open will show the EXIF information you are looking for. iPhoto is not free but you can purchase it in the App Store.
    There may be other photo apps that provide this information as well.
    PhotoForge2 will show the EXIF data as well as the GPS data if it is available.

  • Retriving records with the date and time stamp

    I need to get all the records that were update between 08:36:06 AM and 8:36:09 AM on the12/15/2009
    I am using this query it is giving me the right numbers (I think) because this condition GURMAIL_CPLN_CODE = 'UGAP', I would like something more
    precise using the date and time stamp with the dates
    12/15/2009 08:36:06 AM
    12/15/2009 08:36:07 AM
    12/15/2009 08:36:08 AM
    12/15/2009 08:36:09 AM
    select * from GURMAIL
    where
    PERMAIL_CPLN_CODE = 'UGAP'
    AND TO_CHAR(PERMAIL_ACTIVITY_DATE,'MM/DD/YYYYHH24:MI:SS AM') >= '12/15/2009 08:36%'Thank you

    Yes, but HH24 and AM cannot be used together:
    SQL> select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual;
    select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual
    ERRORE alla riga 1:
    ORA-01818: 'HH24' impedisce l'uso dell'indicatore meridianoUse this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06', 'mm/dd/yyyy hh24:mi:ss')
                                    and  to_date('12/15/2009 08:36:09', 'mm/dd/yyyy hh24:mi:ss')or this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06 AM', 'mm/dd/yyyy hh:mi:ss am')
                                    and  to_date('12/15/2009 08:36:09 AM', 'mm/dd/yyyy hh:mi:ss am')Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]
    Edited by: Massimo Ruocchio on Dec 23, 2009 12:05 AM

  • Date and time stamp with Sony HDR CX7

    Hi,
    I am trying to figure our how to find date and time stamps for individual clips.
    My workflow is as follows: I use disk utility to make a disk image (.dmg) of the memory stick and import the clips from this disk image. Everything works fine, but I am not able to find any date and time information on the imported clips.
    I am slowly building a large archive of these disk images and I am wondering whether I need to add some some date an time info manually. I know that this information is recorded on the memory stick as the camera can display them.
    Thomas
    Config:
    Sony HDR CX7
    Final Cut Express 4
    OS X 10.5
    MacBook Pro 2.4GHz

    I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
    No

  • Date and time stamp of user status does not appear

    Hi, gurus.
    For a specific transaction type, the date and time stamps for certain user statuses do not appear within the transaction although these missing date/time stamps are captured in the database upon checking by our ABAP.  It seems that this problem started when I added several statuses and rearranged their status numbers in the status profile last year.
    I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions. 
    E.g.
    Status Profile                                                                               
    Status No.     ---       Status Code      ---            Short Text                                       
    10            ---                    IP1L                   ---       In Process 1st Level                        
    20            ---                    IP2L                   ---       In Process 2nd Level                          
    Date Profile
    Display Position   ---       Date Type
    1                          ---       In Process 1st Level       
    2                          ---       In Process 2nd Level
    We're going to create and assign a new status profile for the concerned transaction type.  We'll make sure that this status profile is sychronized with the date profile.  Hopefully, the date/time stamps will all be displayed in prospective transactions but the problem on the missing date/time stamps in historical transactions will still remain.
    Pls. help us.
    Thanks in advance,
    Theresa

    I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
    No

  • Date and Time Stamp Removal?

    Does anyone know how to digitally remove the date and time stamp on the face of the photo once the photos are loaded in Aperture, short of doing re-touch? Working in Aperture 3.

    ebigglesworth,
    I too am curious about Frank's mention of the date and time removal tool.
    As an aside to your comment:
    I'd rather just be able to tell aperture I don't want the time stamp on the image, to remove it some how digitally, if that makes sense. You'd think it could just be backed out in some fashion.
    That's impossible. Your camera made it impossible. Your camera threw out some pixel data of the real picture in favor of replacing it with yellow, white, and black pixels (or whatever color your timestamp is). Basically, the original photo information is completely lost. All you can do is smudge things (in one way or another) and make the best of it. It will never look completely right unless you use a pixel editor (which Aperture is not) and painstakingly put color in, pixel-by-pixel.
    nathan

  • How do you edit out the date and time stamp from a photo

    How do you edit out the date and time stamp from a photo

    You can blur it out with retouch
    The built-in "Retouch" brush in "Edit" mode should suffice, if the background is mostly uniform, and if you set the size of the brush to slightly wider than the bar width of the letters. For example, in this picture I removed the year from the date (in the lower right corner) by using the "retouch" brush and following the contours of the letters. (the screen shot is from iPhoto '11, but iPhoto 9 should give similar results).
    Regards
    Léonie

  • I have a 4s Iphone and want to add a date and time stamp to photos taken on the regular camera installed on the phone.  Does this require a separate app?

    I have a 4s iphone and want to date and time stamp photos taken with the regular camera installed on the phone.  Does this require a separate app?

    For such to be visible, yes. Many such apps in the app store.

  • How can i get a copy of my ipone messages with the number, date and time stamp?

    How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp?  Needed for court purposes.

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    You should probably consult your attorney to see if either of these will be acceptable.

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

Maybe you are looking for

  • ITunes Radio on Windows 8

    I tried to play iTunes Radio on my Windows 8 PC, and it keeps telling me there are no apps compatible to play it on my computer. How do I fix this, if it's even possible?

  • How do i find the activation code for the apple tv, i am trying to connect to netflix??

    how do i find the activation code fot he apple tv?  I am trying to connect to netflix.

  • Integration Builder BPEL import... Documentation?

    Hi, Has anyone come across any documentation on exactly which features of BPEL are and are not supported for the import functionality in Integration Repository? I am getting errors whilst trying to import a bpel and the error messages are brief (e.g.

  • How handle short "apdu" command ?

    Hi, I'm currently working on a project where I have to develop an applet to anwser to some specific commands. But some of these commands are only 2 byte length and consequently, don't match with APDU ISO schema (4 byte mandatory). So the answer I obt

  • Corrupt Harddrive Question

    Recently my Mac Book Pro has been very slow when starting up. Today I ran a disk utility check on the hard drive and the report came back that my hard drive was corrupt and to reboot in disk utility mode. When I did that and tried to run the scan not