Archive File Name

Is it possible to get the archive file name and directory. If so how?
cheers
James

No the way I worked around this issues was to create an another adapter that would write the archive using the adapter headers. So I had to manually configurate it and not use the standard archive functionality.
cheers
James

Similar Messages

  • In OSB file protocol, trying to get the archived file name in proxy service

    Hi,
      I have a requirement that i need to process the archived file of file protocol,  with java callout in proxy service.
    I am able to get the file name which is reading with 'tokenize($inbound/ctx:transport/ctx:request/tp:headers/file:fileName,"\\")[last()]' , but this file is getting archived to archive folder. I want to pass the archive file name as input to the Java callout.
    Please let me know if  this can achieve in OSB proxy or any other options.
    Note : I am reading a xlsx file in the file protocol

    If you're using pass by reference option in the file transport, I guess the archive filename can be obtained from $body/ctx:binary-content/@ref. Try it out.

  • Is there a way to pass archive file name to the command-line control?

    Hi there,
    I have been researching the flash media live encoder laterly. But still cannot find confirmed anwsers on the following questions:
    1. Is there a way to pass an archive file name to the command-line control when starting an encoder?
    2. Can the username/password to the Flash Media Server be saved in the profile? If not, is there any otherway to provide(GUI mode) them automatically,
        like as variables to a script?
    Thanks a lot in advance.
    Helen

    1. The only way to inform the command-line encoder about the archive file name is to save the FMLE session profile with the file name. The node for saving the file name is <output><file><path>C:\sample.flv</output></file></path>. The easier way to update the xml profile is to use "Save Profile" option of the GUI mode. If you want to programmatically update the file name, read the profile and update the node before launching the encoder. I hope this answers your question.
    2. No. Credentials can't be saved in the profile. The only way to provide them programmatically is to use /ap and /ab commands for the command-line encoder. For GUI mode, there is no programmable option. But still you can try capturing keystrokes.

  • File Adapter - Archived file name issue

    Hello all.
    I am using an 11g composite application to read from the file system and move/archive the files to a "Backup" subdirectory. Everything works well, but the archived file name has the original filename plus an extra long guid. E.g.
    File_1.DAT_156dsfsdgw67rqwedb1c6b54d6fh7yerfa16wewet168erw)-dsfsdg
    Does anyone know how I can control the archiving feature of the file read adapter? I would love for it to just move the file to the Backup folder and keep the original filename.
    I look forward to a response.
    Thank you.
    Nick G.

    Thank you Sahil. I will look into it and test. I will post my results.
    Nick G.

  • How to capture Archive File name in File/Ftp Adapter

    Hi,
    I want to capture the archive file name when working with File/Ftp Adapters. I think there is no out of box property available to achieve this (Like jca.file.filename).
    Please let me know if there is any possible solution.
    Thanks
    JGun

    Hi,
    Use jca.file.PhysicalArchiveDirectory/jca.file.LogicalArchiveDirectory depends upon which you have configured.
    Thanks

  • What is to be given archive file name?

    hi
      I am importing a standard aplication "welcome"
      by following the following steps:
           file->import->par file.
      now it asks for 3 things .
      what is to be given in archive file name.
      For  project root folder: i m selecting "welcome"
      from the Program Files\SAPinst_WAS\J2EE-CD\IDE\eclipse\workspace\welcome  .

    Hi Kamlesh,
    > what is to be given in archive file name
    The "Archive file name" is the full qualified name of the PAR to be imported. You can browse for this PAR.
    Next entry is "Project name". This is the name of the project to be created. When you try to deploy the project later on, NWDS initially suggests this name as the name of the PAR file (but you can modify it, and this modification would be used next time you'd try to deploy again).
    > For project root folder: i m selecting "welcome"
    The "Project root folder" is the folder under which the project will be created. This should be somewhat constantly for all projects you are creating.
    So if you want to import "com.company.welcome.par", which is on your hard disc under c:/someFolder, the entry for "Archive file name" would be "c:/someFolder/com.company.welcome.par".
    If you want to use the same namespace as given, under "Project name" you'd just use "com.company.welcome". If you want to do midifications and to deploy the resulting PAR under a different namespace, you could use "com.company.modifiedwelcome".
    And last but not least under "Project root folder" you can use something like "c:\sap" or "c:\development\portalprojects"...
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • BW Archiving / Dynamic archive file name

    Hello Experts,
    i would like to archive the data in a cube by each period. Hence i want the archived file name to indicate the period also so, that it can be easily identified, which file contains which period data.
    Eg File Name : 0FIAR_C03_PER_01_2005
    where 01_2005 denotes that the files contains period 01_2005 data.
    Could some one please suggest how can this be done using the function module FILENAME_EXIT_ ? Would appreciate if you could give me the exact steps for this.
    Thanks in advance,
    Sanjay

    hi Sanjay,
    create your function module name, e.g
    FILENAME_EXIT_<u>FIAR_C03</u>, in logical file name maintain (transaction FILE >> logical file name, cross client), for 'Physical file' put <F=<u>FIAR_C03</u>>.
    not sure if you can just use system parameter like <YEAR>, <MONTH>, etc.
    for function module, you can manipulate 'output' for the file name. maybe see FILENAME_EXIT_ARCHIVELINK and FILENAME_EXIT_EXAMPLE.
    detail system parameter for physical file can see :
    http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa02aa493111d182b70000e829fbfe/frameset.htm
    hope this helps.

  • How To Control The Archive File Name using file adpater or OSB file traspor

    Hi all,
    My requirement is I want to archive a file by appending my BPEL instant id to the file name.
    Is this possible changing the file name when archive the file???
    Thanks
    Phani

    I couldn't find that out when I had the same requirement. I was running out of time, so I let Archive functionality works as it works and used the write file option with opaque schema.

  • Archive File Name in FTP adapter

    Hi,
    While archiving a file using an FTP adapter, I want to archvie it with a name which is going to be generated dynamically. However i don't see any placeholder where i can mention the file name for achving. Can anyone please suggest.
    Thanks,
    Phani

    Hi Phani,
    did you figure out a solution?
    Anders

  • File Adapter Archive File Name Pattern

    Hi All,
    Thanks in advance for your answers.
    Here is my question.
    I have BPEL process that reads a file, process it and archives it.
    The process is working fine, but the archived file has timestamp attached to the file extension. since my file already has timestamp in its name, is there any way that we can configure file adapter not to add that timestamp to archived file?.
    Thanks
    Praveen

    The timestamp added to the archive filename is the time that the file was processed by bpel. i think this is good information that you can keep just in case you need to resubmit the same file for processing later. or if the file is actually processed in a different date than than on your filename's. just a thought.

  • Renaming the archived file name

    Hi,
    We have a requirement where we are archiving the file using sender FILE adapter but we need to change the file name when it is archived. I am unable to find any option in Comm channel to change/rename the File name.
    Pls suggest me is there anyway to achieve it.
    Thanks in Advance,
    sudha.

    Hi sudhasree,
    Please have a look at the following link and see if it helps you
    Re: Archiving With FTP Receiver
    It tells about how you can archive files with different name, time and dates format.
    Also,
    Please go through this link as well
    Re: Archiving files
    Best Regards
    Edited by: Prakash Bhatia on May 8, 2009 2:53 PM

  • Adding timestamp to Archive folder name

    Hi All,
    I need to add the current date to the archive folder name of my file sender adapter, so that files are archived in folders based on the date on which they are picked.
    Can this be achieved?
    Regards,
    Diptee

    Diptee,
    I am not sure if there is any easy way of passing filename directly to script which is called from OS.
    The other work around i can see here is...have a temp archive folder where your sender communication channel will archive the file adding tmpstmp in temp archive folder and then call a script and read the file name in the temp archive directory and make new archive directory with the archived file name and move the file from temp to new archive directory.
    In this way you can have your files archived in the directories which tmpstmp too.
    you just need to use simple commands to read the filename and creating directory and moving the file...
    Thanks,
    Prasanthi.

  • CiscoWorks Shadow Directory File Name After Device Rename

    I have noticed that when a Device is renamed through Common Services --> Device and Credentials --> Device Management --> Edit Identity, it does not rename the config archive file name in the shadow directory.  Changing the Display Name, Host Name, and IP Address for Device Properties.  All of our devices are named with the IP Address of the device so we have the IP Address for the Display Name, Host Name, and IP Address.
    Example:  Device with the name of 10.10.10.10 has a config archive in the shadow directory with the file name 10.10.10.10.cfg.  When the device is renamed to 10.10.10.20 it still continues to config archive ok but keeps the file in the shadow directory as 10.10.10.10.cfg.
    Is there a way to get the config archive shadow directory file name to change?
    Thanks. 

    Hi.
    Kindly try resubmitting Device under RME (RME ->Device management -> Normal Device ->Select that particular Device and click on resubmit) and once it is back to normal state, then try to collect Archive after performing any change on the Device and see if it updates the Name of the Device under Shadow Directory.
    If above steps does not help, you need to delete and re add Device under Common Services --> Device and Credentials --> Device Management in order to get the correct name reflect under Shadow Directory.
    Kindly let me know in case you have any doubts regarding the same.
    Thanks & Regards,
    Nikhil

  • Archiving File Not created

    Hai Gurus,
    here i doing an archiving task,i havecreated the variant and assigned four weks to archive,after 40 min later i found the job is finished and when i started deleting ,the archived file file NOT created.So i cross checked in spool request and it shown as the "WAITING",the Statistics screen as NO data found.
    I have my job log as the arching is been created with "1" archiving object, but actually it has to show me the file name:"archive_bw_000025236.....".So what can be the reason and where can be the file be gone or saved?what is the procedure to find the Archived file,i mean in which table i can see
    please let me know
    Points will allocated fully .........
    Suri.

    Hi Suri,
    When you archive any data( in your case- 4 weeks data), the system will confirm if this data is business complete. If YES, then it will archive your stipulated data and only then you may be able to see the Log of the archived data.
    if there is no data ( business complete)to be archived, then NO archive file will be created.
    You can see the Archive file name in the Job Log of that particular archiving run.
    By the way, which data/object are u archiving ? may be i can help you.

  • Archiving file convention

    Hello,
    I don't think this question should be asked  in this forum but could find another one.
    "If we have logical file name,physical file name,archiving parameters,start time of archiving" .Then what will be the output archiving file name.
    Thanks.
    Regards,
    Tushar

    Hi,
    In archiving customizing one needs to define Logical Path name(LP), Physical Path name (PP), Logical File name(LF) and Physical File name(PF).
    The PP is assigned to LP. LP and PF are assigned to LF. The LF is assigned to an archived object. The actual physical file name is generated at runtime based on the LF definition.
    For example:
    LP -> ARCHIVE_GLOBAL_PATH
    PP -> /data/archive/<FILENAME>
    LF -> ARCHIVE_DATA_FILE
    PF -> <PARAM_1><MONTH><DAY><PARAM_2>.<TIME>.ARCHIVE
    If for example FI data was archived and a archive file was created on Dec 11th at 10.00 AM then the actual physical file name would be
    /data/archive/FI12110.100000.ARCHIVE
    Hope this helps
    Cheers!
    Samanjay

Maybe you are looking for

  • Can't get wifi connection after installing lion osx

    I upgraded my OSX to Lion, and ever since i am unable to pull a connection to my wifi, neither at home nor at work. I have tried almost everything... I even reinstalled all of my software and NADA..... And needless to say it took me the whole saturda

  • Why is Firefox suddenly blank - no address, search or tool bars, uninstall/reinstall d/n resolve--now only v 3.6 will work?

    I was using the latest version of FF and last week the browser froze and when I restarted it was completely blank. I went through the help section, tried uninstalling, manually removing files, and reinstalling several different versions, but the only

  • FI validation

    Hi All, Please help me with this if we could have some validation Client want to restrict the payment term to (2-3 options) selection at the time of PO and invoice entry Example:if we set up a merch vendor with 75 day terms the buyer can't choose any

  • Upgrade from 3.5 to 7

    Hello, We  are on SAP ERP Central Component 5.0 and we want to start to implement BW. For this SAP version the default BW is 3.5. Is it possible to use BW 7.0. If yes which component have to be upgraded ? Thank you Christophe

  • Table on Page One Blocking Layout/Section Break & Distinct Headers/Footers

    Is there any way to start a new Header/Footer on page 2, after a page one table that fills the page? I've created my first page as a Table (entire page) in order to recreate the front page of my newsletter, as used by a previous editor. Works great,