How to archive file on the receiver side using file adapter

Hi All,
          In our company we have many file to file scenarios some of them for B2B communication. We want to archive all the files that are sent from vendor to our company. Is there a way of archiving the orignal files being sent by the vendors?
Regards,
Xier
Message was edited by:
        XIer

hey
>>we want to archive the files before they are processed by XI, i.e the way the sender adapter picks it up.
well if the files are not picked up by XI then they will stay in the sender directory then why do u want to archive them and create a duplicate copy.
files are archived when they are picked by sender file adapter so that in future if we have any issue in message transfer we can resend them,simple set the mode as archive in the sender CC.
Thanx
Aamir

Similar Messages

  • Dynamic File Name on Receiver Side using XSLT mapping

    Hi,
      My scenario is a Proxy to File scenario.The File on the receiving side is a TEXT file generated due to XSLT mapping. The file name has to be dynamic like- TEST<DDMMYYHHMMSS>File.DAT.
    If somebody knows how to do the same please help.
    Regards
    Ritu

    Hi Ritu,
    I agree to Krishna.With your XSLT mapping create a XML output which can be converted to a text file with content conversion.
    And for the dynamic file name, i guess its the date that matters which needs to be in DDMMYYHHMMSS format. the same can be accomplished by a Java function and calling it in your XSLT .
    Do refer this weblog it will help you accomplish the same.
    >>> /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    Regards,
    Shabarish

  • Upload a file to the application top using File Upload feature of OAF

    Hi,
    I am facing some problem when trying to upload a file from my desktop to the application directory (e.g. AR TOP).
    I do not want to use the fnd_lob table,want to load the file to that directory directory, is it possible using OAF file upload?

    Refer the following code
    * Method used to write the contents (data) from an Oracle BLOB column to
    * an O/S file. This method uses one of two ways to get data from the BLOB
    * column - namely using Streams. The other way to read data from an
    * Oracle BLOB column is to use getBytes() method.
    * @throws java.io.IOException
    * @throws java.sql.SQLException
    public void readBLOBToFileStream()
    throws IOException, SQLException {
    FileOutputStream outputFileOutputStream = null;
    InputStream blobInputStream = null;
    String sqlText = null;
    Statement stmt = null;
    ResultSet rset = null;
    BLOB image = null;
    int chunkSize;
    byte[] binaryBuffer;
    int bytesRead = 0;
    int bytesWritten = 0;
    int totBytesRead = 0;
    int totBytesWritten = 0;
    try {
    stmt = conn.createStatement();
    outputBinaryFile2 = new File(outputBinaryFileName2);
    outputFileOutputStream = new FileOutputStream(outputBinaryFile2);
    sqlText =
    "SELECT image " +
    "FROM test_blob " +
    "WHERE id = 2 " ;
    rset = stmt.executeQuery(sqlText);
    rset.next();
    image = ((OracleResultSet) rset).getBLOB("image");
    // Will use a Java InputStream object to read data from a BLOB (can
    // also be used for a CLOB) object. In this example, we will use an
    // InputStream to read data from a BLOB.
    blobInputStream = image.getBinaryStream();
    chunkSize = image.getChunkSize();
    binaryBuffer = new bytechunkSize;
    while ((bytesRead = blobInputStream.read(binaryBuffer)) != -1) {
    // Loop through while reading a chunk of data from the BLOB
    // column using an InputStream. This data will be stored
    // in a temporary buffer that will be written to disk.
    outputFileOutputStream.write(binaryBuffer, 0, bytesRead);
    totBytesRead += bytesRead;
    totBytesWritten += bytesRead;
    outputFileOutputStream.close();
    blobInputStream.close();
    conn.commit();
    rset.close();
    stmt.close();
    System.out.println(
    "==========================================================\n" +
    " INPUT STREAMS METHOD\n" +
    "==========================================================\n" +
    "Wrote BLOB column data to file " + outputBinaryFile2.getName() + ".\n" +
    totBytesRead + " bytes read.\n" +
    totBytesWritten + " bytes written.\n"
    } catch (IOException e) {
    System.out.println("Caught I/O Exception: (Write BLOB value to file - Streams Method).");
    e.printStackTrace();
    throw e;
    } catch (SQLException e) {
    System.out.println("Caught SQL Exception: (Write BLOB value to file - Streams Method).");
    System.out.println("SQL:\n" + sqlText);
    e.printStackTrace();
    throw e;
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • To create multiple files on the receiver side based on key field

    Hi Gurus,
    My scenario is File to File
    My Source structure is as below
    My File looks like
    My file looks like below
    570774          11/26/2008 8:12     6296     xxxxxxx     985-399-5157     1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380     0          1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380     303     101400100000     3365440332522     ELLE YVES SAINT LAURENT Eau de Parfum Spray          2                    61     78     156     184     184     0
    570774          11/26/2008 8:12     6296     xxxxxxx     985-399-5157     1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380               1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380     376     106074700JP0     3365440347229     GOLDEN GLOSS N° 27Shimmering Lip Gloss          1                    28     28     28               0
    570775          11/26/2008 8:15     6296     xxxxxxx     985-399-5157     1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380     7          1153 Teche Road     Morgan City     United States     Lori Eisenman     Louisiana     70380     284     9000400000     3365440316546     L'HOMME  Eau de Toilette Spray          1                    53     53     53     60     60     0
    for each new order number(key field ex: 570774) a new xml file to be created , from the above example 2 xml files sholud be created(one for 570774 and the other for 570775)
    How can i acheive this functionality?
    Please help me on this, Thanks in advance
    Regards
    Srinivas

    Hi Srinivas,
                   map the key field to the parent record of the target field. Use the split by value and change the source key field level to higher one so that the all occurences of the key field are occuring. The mapping will be like this;
    Source Key Field (change to higher level) --> Spli by value --> Filename creation UDF --> Target header field.
    Try this.
    Regards,
    Murugavel.

  • How to Get the Source File Path in the Receiver Side

    Hi Experts,
    Here We are Trying to Do How to Get the Sender Information ( File Name & Path ) on the Receiver Side .
    According to the Michal Blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here we Are Able to Get only the File Name.
    But If I Want to get the Total File  Path Also means What Should I Do Here ????
    Please Let Me Know
    Regards
    Khanna

    Khanna,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey fkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey dkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String fname = conf.get(fkey);
    Sring path = conf.get(dkey);
    String final=fname""path;
    return ""final"";
    Best regards,
    raj.

  • Part of sender File name at the receiver side?

    Hello All,
    My requirement is like this.
    iam picking the file from FTP server and place the file in another FTP server with out mapping.
    I need to use part of sender file name to create the receiver side along with current date.
    for example.
    sender side file name : LM01000008.txt
    recevier side file name need to generate : LM01dd/mm/yyyy
    Please let me know how to achive this.
    i tried with the blog given below, but partial file name is not possible with that blog.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0229698450DB11989196758750510369End?blog=/pub/wlg/6400
    Thanks and Regards,
    chinna

    Hi Chinna,
    Use this code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
    String timestamp = dateformat.format(new Date());
    String newfilename=fileName+timestamp+".txt";
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards
    Suraj

  • How can I open and copy files on the win side from the  mac side?

    I am working on the mac side and I need to be able to copy files from the mac side that I create over to the win side.  I can open and view win files when I am booted to Snow Leopard, but I cant copy files to the win side.  I think Macdrive does the opposite.
    Any ideas?
    thanks,
    C

    to write to Windows NTFS you need 3rd party.
    You have read only access to HFS from Windows.
    MacDrive8 works in Windows to add write to HFS as does Paragon. Paragon has what I have come to see as the best NTFS driver for OS X, and they have a separate HFS8 for Windows similar to MacDrive8.
    Maybe you want to run Windows as a client OS using Parallels instead?

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • Amplitude is not changing on the receiver side

    I am trying to transmit square wave using USRP 2920. If I change the amplitude of square wave in Tx file from 1 to lets say 100. The Tx waveform shows that it is changed but on the receiver side there is no change in the amplitude. Can any body look at my files and guide me why I am not able to see increase in amplitude on Rx file when I increase the amplitude of Square wave on Tx file
    Note: I am generating a randon number between 0 to 1. If random no. is greater than 0.5 then the amplitude is 1 or higher but if the random no. is less than 0.5 amplitude will be zero.
    Thanks 
    JK
    Attachments:
    TX.vi ‏23 KB
    RX.vi ‏34 KB

    Your not going to get a clean squarewave back on the receive side. The USRP uses a local oscillator (LO) so anything it reads will be interpreted as sinusoidal in nature. This is evedent in the screen shots in the attached .zip folder. 
    To address your voltage question, assuming your antenna is terminated with a characteristic impedance of 50 Ohms (Zo) and the max power of 100 mW, Power = (approximately) Voltage^2 / Zo
    Therefore Voltage = ( Power * Zo ) ^ (1/2) = 2.2 Volts approximately. 
    What is your overall application? Why are you concerned about the voltage? What are you testing?
    Brad S.
    Application Engineering
    National Instruments
    Attachments:
    USRP.zip ‏216 KB

  • Copy  file name on receiver side

    can some one send Adapter Specific SCREN SHOTS of Sender and Receiver Adapters to handle file and get it with same name on the receiver side ...
    Good replies will awarded with more...
    Please help..

    for sender file details:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    you have to give any file name in the sender side which the adapter should pick...cehck the adpter specific attributes and check the filename option....this will get you the filename whcih adapter picked and it will be ther ein the XI mesasge then you can write an UDF to get this name and pass to the tarrget.....
    for receiver details:
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Message was edited by:
            Nisar Khan

  • Brarchive help - regrading the arch SID .log file ...

    Hi all,
    Recently, I have a disk filling up fast problem on the archivelog directory, so I have to do the following:
    01 - move some files to a temporary directory
    02 - run brarchive - SUCCESFUL with warnings due to the archivelogs that I moved
    03 - return some of the files that I moved to the original archivelog directory
    04 - make a copy of arch<SID>.log as arch<SID>.log.01
    05 - modify the arch<SID>.log file to start backing up from the files that I returned to its original directory
    06 - run brarchive again - SUCCESSFUL with warnings due to archivelogs that I moved and have not returned to the original directory
    07 - repeat the process from step 03 until all archivelogs has been backed up
    NOTE:
    - For step 04, I rename arch<SID>.log to arch<SID>.log.02 on the second run, arch<SID>.log.03 on its 3rd run and so on and so forth.
    Now after all is said and done, I end up with several files names arch<SID>.log.01, arch<SID>.log.02 .... arch<SID>.log.NN and arch<SID>.log.
    I want to know if anyone knows how I can combine all these files into one new arch<SID>.log file. Reason being is that some of the missing archivelogs that are reported in arch<SID>.log has actually already been backed up but are not recorded in the most recent arch<SID>.log file.
    I just discovered that I need to do this, otherwise brrestore will complain that the file to restore is not found because it is not in the most recent arch<SID>.log file.  Or maybe, is there a way to tell brrestore what arch<SID>.log file to use? That is, can I run brrestore and tell it to use arch<SID.log.01?
    Any feedback will be very much appreciated. Thanks in advance.

    This post has been duplicated, can't see the option to delete a thread so mark it as answered instead.

  • How to read and update the value of property file

    Hi,
    I am not able read the values from property file.
    Please tell me how to read and update the values from property file using Properties class
    This is my property file : - Config.properties its located in D:\newfolder
    Values
    SMTP = localhost
    Now i need to change the value of the SMTP
    New value :
    SMTP =10.60.1.9
    Pls Help me
    Thanks
    Merlin Rosina,

    Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

  • How can i print on the both sides of the paper on printer 5520

    how can i print on the both sides of the paper on printer 5520 when printing too many papers?

    Hi hamad5520
    I have included a document for two sided printing.
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03476083&lc=en&product=5157536&tmp...
    Hope this helps.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Is it possible to get the style, font and related info of a paragraph of a in design file and write it on the same in design file  on the  left side

    Is it possible to get the style, font and related info of a paragraph text  of a in design file and write  all the stuff on the same in design file  on the  left side with small fonts 
    as
    Lets  this is a text in in design file    :
    style : abc                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 12                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu
    style : xyz                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 10                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu

    Hi Poojith
    Not sure if this would solve your requirment but just in case might be helpful:
    1. We can mix up the HTML and HTMLB components in the JSP Page. However, can access only the HTMLB components in the controller. The following link refers to what customizations are offered by the HTMLB framework:
    [http://www.sapdesignguild.org/resources/htmlb_guidance/]
    2. Another option would be to use AbstractPortalComponents or a simple web app if that's feasible. (where custom UI themes, css and layout are more in control of the developers.)
    Thanks
    Deepak

  • How to send a string from sender to receiver side using java

    I am doing a project on Digital Signature.I have already done with the GUI using java swing.
    Now i want to send a string from the sender side to the receiver side on the click of a button using socket programming.
    Please can anybody provide me with the code as early as possible.

    http://catb.org/~esr/faqs/smart-questions.html

Maybe you are looking for

  • Hello everyone!, Hello everyone!

    Help please, anyone! I already installed the latest iTunes and when I tried to open it, a message saying "iTunes has stopped working" was shown off. What will I do?

  • HELP***iCloud storage help needed

    Can you let me know why if I have 14 gb of space left in my 50 gb plan that icloud won't let me back up my phone on icloud?  It says I have run out of run, yet I have 14 gigs left??

  • JBO-27008 in transient attributes

    I have in my VO a transient attribute defined with a sub-query. I had displayed this attribute as a checkbox in my UIX. When trying to commit changes in the page, I have the JBO-27008 message that this attribute is read-only (or course it is). What h

  • Detecting client proxy settings

    Dear All, Can anyone tell me how to detect client proxy settings from a java application (not in a browser). I tried System.getProperties().getProperty("http.proxyhost") without success. Our application is distribuited using Java Web Start technology

  • EWS 2.0 (Exchange 2007 ) - How to Bulk Update Contacts

    Hi  I have  afew hundred contacts that I need to auto-refresh in Exchange 2007 via EWS 2.0. Speed is not that great. Can someone please provide an example of how I could bulk update 25 contacts and clearly identify which ones failed because they did