Users for File sender/reciever Channel

Hi,
As i understand, there is a user that is used internally in file sender/reciever channel to read/write a file.
Can someone tell me what are those users?

Hi
Genral rule for any adapter needs username / login == destination system username / password which has credentials to perform u r required action.
So bettter use that user pass and check in the destination system and use the same in XI it will work as it is
rgds
srini

Similar Messages

  • Need help to Configure FTPS connection for File Sender Adapter

    Hi,
    I want to Configure, FTPS connection (Secured Connection) for File Sender Adapter. Could anyone please guide me, what Information I require to configure. I just want to know what Information should I request the team inorder the configure FTPS so that it can be deployed properly.
    I have checked with [SAP Help Link|http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] and while configuring the communication channel found that I need Keystore and the X.509 Certificate and Private Key.  which needs to be deployed on the J2EE server by using the Visual Administrator.
    Is there anything else, I need to configure.
    Any help would be appreciated in this regard.
    Thanks & Regards,
    Varun.K

    The basic things are Certificate/Keys which you already know. Usually it is enough for running a sceanrio.
    However, if you have additional requirements, like FTPS for "Connection Security" for encryption, then you may need additional details like commands. Rest all settings are same as FTP.
    Regards,
    Prateek

  • File sender Communication Channel is not working

    Hi friends
    we  Created File sender Communication Channel and Activated but It is not picking up file
    1.  0 messages in Message Monitoring
    2. My Communication Channel not appearing in Communication Channel Monitoring also
    3. We have refreshed the cache and activated the channel.
    we chack with File name, Directory name and  path ....
    Friends have any idea
    Regards
       Viswanadh Vadde

    Perosnally, I would recommend setting a trace and letting the system telling you exactly why.
    Traces are used to analyze runtime errors.  By setting a specific trace level for specific locations, you can analyze the behavior of individual code segments at class and method level.  This is done with the help of the log configurator service:
    Log onto the Java Admin Console
         Services
         Log Configurator
         Locations
         Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
         Root Location > com > sap > aii > File
         Set the severity and choose Copy Severity to Subtree

  • None of the file Sender Communication Channels are wotking in Prod-Urgent

    facing a wierd situation, since yesterday all of my File Sender Comm Channels have stopped picking up files.This is in Production and was working fine day before.When I check in Comm channel monitoring the Channels are started and Functioning and also shows me that they are polling for the files.But no file is picked though files exist in the directory.These channels have been working fine since months and nothing had been changed since then.Suddenly all of them stopped picking up files.
    I have about 10 Comm Channels that pick files, Is this related to Adapter Engine....any suggestions on this would be really apprecated.
    Thank You.

    Hi!
    Check access rights on your files. Try to set them to 777 (using chmod). Maybe this will help.
    Problem is, when the XI does not have rights for picking up files, you see no errror message in CC monitoring and everything seems to be ok, but it is not..
    We faced the same problem.. And we figured out, that our partner started to upload files with different access rights.
    Peter

  • File sender communication channel stop working

    Hi Guru,
    I have a file sender communication channel. It usually works good. But sometimes it just stop working. And In RWB, it shows no error. If I stop it and restart it in RWB, it immediately works again. This happens once a while. Any ideas?
    Thanks,
    Meiying

    Hi,
    option 1--
    Do some dummy changes and activate channel and try and perform cache refresh.
    If still not working then  stop and restart SFTP service,if still no luck then restart JAVA stack
    option 2
    try to put timeout value in the channel.
    Regards.
    Mastan

  • I am confuse to choose right technology for file sending?

    Dear all
    i am working in medical transcription project in that we have to send and receive more doc file and voice file from various client (web client and desktop client).
    i have three three technology which makes me confusion
    1. RMI with NIO
    2.servlet with URL class in client
    3.SAAJ with attachment[i dont know much about this]
    so please suggest me which is the right technology for file sending and receiving...the file may maximum 20 MB

    It depends if you have a valid reason to use web services. If you are providing a web front end to your application for clients to use then you could just use a standard file upload procedure, I have used apache commons and it works well for this.
    If your requirements indicate that a web service call is the answer as you have some system-to-system connectivity then I think you will need to use saaj and add the file as a SOAP attachment, as embedding 20MB of binary data into a string field on a standard SOAP message will probably cause the JVM to run out of memory.
    Cheers

  • FILE SENDER COMMUNICATION CHANNEL DOESN'T GET FILE

    Hi,
    I have create a new sender communication channel with ftp file configuration. Server parameter and source directory are correct.
    I have also checked file and directory permission (chmod 777)
    Poll interval is 600 secs.
    There is no error in communication channel monitor  (returned log: CC is correctly configured and started).
    Process started every poll interval, but no file is picked up.
    Why?
    Carme

    Hi,
    What type of file are you processing. Check whether the file type is binary or text mode.
    Also check whether the file name you have specified in the CC and the exact file in the directory are the same.
    Also check the file processing mode, whether it is read only, delete or in test mode.
    If the file is in read only mode when the file first processed, then once the file was processed it would be in read only mode, so if you place the new file it should process, so try deleting the existing file in the directory and place a new file with exact file name along with the correct extension and try to process it.
    Also I would suggest you check the exact file extension, by unchecking the radio button in the folder option under the menu tools> Folder options> view-->hide extension for file type.
    Regards,
    Nithiyanandam

  • Reading from a file. How to ask the user for file name at run time????

    I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.InputMismatchException;
    import java.util.Scanner;
    public class FileRead {
        public static void main(String args[]) {
            Scanner scan = null;
            File file = new File("Results.txt");
            String number;
            try {
                scan = new Scanner(file);
                while (scan.hasNext()){
                number = scan.next();
                System.out.println(number);}
            catch (FileNotFoundException ex1){
                System.out.println("No such file");
            catch (IllegalStateException ex2){
                System.out.println("Did you close the read by mistake");
            catch (InputMismatchException ex){
                System.out.println("File structure incorrect");
            finally{
                scan.close();}
    }Any hints would be greatly appreciated. Thank you in advance

    I have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
    When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
    This code compiles but at run time it comes up with this error
    run-single:
    java.lang.NoClassDefFoundError: NamedFile
    Exception in thread "main"
    Java Result: 1
    BUILD SUCCESSFUL (total time: 3 seconds)
    import java.util.Scanner;
    import java.io.*;
    class NamedFileInput
      public static void main (String[] args) throws IOException
        int num, square;   
        // this Scanner is used to read what the user enters
        Scanner user = new Scanner( System.in );
        String  fileName;
        System.out.print("File Name: ");
        fileName = user.nextLine().trim();
        File file = new File( fileName );     // create a File object
        // this Scanner is used to read from the file
        Scanner scan = new Scanner( file );     
        while( scan.hasNextInt() )   // is there more data to process?
          num = scan.nextInt();
          square = num * num ;     
          System.out.println("The square of " + num + " is " + square);
    }his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!!

  • UDF to get the filename for File Sender Adapter

    Hi,
    I had an requirement to get the  the Filename and map to the  target payload.
    I had configured the File Sender Adapter settings in the ID
    This is the following UDF i got from SDN.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    But when iam using this UDF iam getting an error
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_ORDER_CRS_OB_SAP_PROXY_IB_ method Filename$[com.sap.aii.mappingtool.tf3.rt.Context@54e154e1]
    Please help me in correcting the error.
    Thanks
    Srinivas

    Hi Jayson,
    actually, in the interface mapping, it doesn't give exception.
    The DynamicConfiguration is a constant retrieved from the container object, so it will never be returned as null (given that the container object was instantiated).
    Just the retrieved value will be null (since it was not previously set), but no exception occurs.
    In the message mapping, the container object is never instantiated, and that's the reason for the NullPointerException.
    Regards,
    Henrique.

  • SAP PI Table which stores Dynamicconfiguration(filename) for file sender

    Hello All,
    What is the SAP PI table in which SOAP header elements are getting stored. In my scenario, i need to find out the message ID for a specific file name which is picked by file sender, as file name is stored under Dynamicconfiguration of SOAP header node...
    Regards,
    Sreenivas.

    Hi Sreenivas,
    I am not sure if I have understood your requirement correctly but can't you achieve this using a UDF:
    String headerField;
    java.util.Map map;
    AbstractTrace trace=container.getTrace();
    map = container.getTransformationParameters();
    String key = "MessageId";
    headerField = (String) map.get(key);
    return headerField;
    Let us know.
    Regards,
    Shweta

  • File selection sequence in the FTP connection for File Sender Adapter

    Hi,
    I have a file to Proxy scenario using FTP connection parameters.
    If there are multiple files in the sender folder, XI picks up the files randomly with no processing sequence.
    I want XI to pick up the files based on the date time stamp meaning the  oldest file created in the folder should be processes first and rest all in sequence there after.
    I know processing sequence can be set for NFS connection but not for FTP .
    Please suggest if there's any way to make this work.
    Thanks in advance.
    Thanks and Regards,
    Amit Bhagwat.
    Edited by: Amit Bhagwat on Nov 4, 2009 5:17 AM

    Hi
    For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order
    If you want the file to be processed in sequence then you can use Quality of Service EOIO in the sender adapter.
    The files are processed in the sequence they are picked up.
    otherwise use BPM for File Sequencing..
    Refer the following Threads
    FTP Sender Adapter - Processing Sequence
    Processing Sequence issue of FTP protocol
    Regards
    Abhijit
    Edited by: Abhijit Bolakhe on Nov 4, 2009 10:32 AM

  • File Sender Communication channel with error

    Hi,
      One of the File sender CC is in red but shows "Functioning". But in the Process Detail section it just showing
    5/10/11 2:24:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
      5/10/11 2:24:00 AM                                                                     Processing started
    5/10/11 2:23:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
      5/10/11 2:23:00 AM                                                                       Processing started
    5/10/11 2:22:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
      5/10/11 2:22:00 AM                                                                      Processing started
    Please let me know is there any error with my channel ot wny is it red then?
    There is no Polling step in the Process Details..  Please reply ASAP
    Thanks,
    Shweta.

    The Status of the channel is "Processing Erros in  last 20 seconds". And in the processing deatils it just show the below two steps.
    5/10/11 2:24:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
    5/10/11 2:24:00 AM                                                                        Processing started
    5/10/11 2:23:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
    5/10/11 2:23:00 AM                                                                         Processing started
    5/10/11 2:22:00 AM d28c6542-0d7e-453b-1d96-9e0a18159315 Retry interval started. Length: 60.0 seconds
    5/10/11 2:22:00 AM                                                                        Processing started
    It is continuasly showing the same message ID "d28c6542-0d7e-453b-1d96-9e0a18159315 " but this ID does not exist in SXMB_moni  not in RTW message monitoring.
    If I double click the message ID shown in the CC process details it shoes me below content.
    Time Stamp Type Description
    2011-05-09 22:03:00 Information Channel FileSenderGeneric: Converted complete file content to XML format.
    2011-05-09 22:04:00 Information Channel FileSenderGeneric: Converted complete file content to XML format.
    2011-05-09 22:05:00 Information Channel FileSenderGeneric: Converted complete file content to XML format.
    2011-05-09 22:06:00 Information Channel FileSenderGeneric: Converted complete file content to XML format.
    Please tell me what is the problem. there are No java Locks ...I have checked that.
    Shweta.

  • File Sender Communication Channel not working

    Hi All,
    We have one file sender channel which sends file after every 3 hours.
    But currently it has stopped the processing of file.
    If we see in RWB it shows that "Correctly configured and started",but if we start and stop the chanel it doesnt show any processing started message.
    File is there in the folder but the channel doesnt poll the folder to pick up the file.
    We have refreshed the cache and activated the channel again.
    But still no luck,does anybody have any idea?

    Hi Shweta,
    Please check the parameters of your File adapter. There can be following  possibility if File adapter is not picking the file :
    1. File adapter is not active
    2. Incorrect File name, Directory name or path,
    3. File does not exist in the source directory.
    4. If you are accessing file from other server (use FTP protocol) check you have READ and WRITE access.
    Thanks
    Farooq.
    <b>*Rewards points if you find it useful*</b>

  • File sender communication channel error

    Hi gurus please help me on the below issue ,suddenly my file(sender)communication channle is showing error status stated below error ,it is just simple scenario like file to proxy upto one hour back it is working fine suddenly it is showing below error plz give me the reply im in production suport
    Error: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/ModuleProcessorBean, cannot resolve object reference. [Root exception is javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: Type: clientAppName Content: sap.com/com.sap.aii.af.app Type: interfaceType Content: local Type: ejb-link Content: ModuleProcessorBean Type: jndi-name Content: ModuleProcessorBean Type: local-home Content: com.sap.aii.af.lib.mp.processor.ModuleProcessorLocalHome Type: local Content: com.sap.aii.af.lib.mp.processor.ModuleProcessorLocal com.sap.engine.services.ejb3.runtime.impl.refmatcher.EJBResolvingException: Cannot start applicationsap.com/com.sap.aii.af.app; nested exception is: java.rmi.RemoteException: [ERROR CODE DPL.DS.6125] Error occurred while starting application locally and wait.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5106] The application [sap.com/com.sap.aii.af.app] will not be started, because of the server state is [STARTING]. at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp(DefaultContainerRepository.java:315) at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.getEnterpriseBeanContainer(DefaultContainerRepository.java:106) at com.sap.engine.services.ejb3.runtime.impl.DefaultRemoteObjectFactory.resolveReference(DefaultRemoteObjectFactory.java:55) at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:144) at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:63) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl._getObjectInstance(ObjectFactoryBuilderImpl.java:77) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl.access$100(ObjectFactoryBuilderImpl.java:33) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl$DispatchObjectFactory.getObjectInstance(ObjectFactoryBuilderImpl.java:228) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:283) at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:394) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:223) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:242) at javax.naming.InitialContext.lookup(InitialContext.java:351) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance(FastEjbFactory.java:83) at com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance(FastEjbFactory.java:51) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3451) at com.sap.aii.adapter.file.File2XI.processFileList(File2XI.java:1332) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:622) at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:500) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182) at com.sap.engine.core.thread.impl3.SingleThread.run

    Hi Thank for your reply Nbendu and sorry for late reply .
    My issue was now resolved but i want to know why this is happend i am getting this issue when ever there is any Basis maintaenance Happens.
    If it is due to  Basis maintnance then with same combination we have 2 more interfaces is there it is not affecting the other .
    Any thoughts.
    Regards
    Madhu

  • ALERT MAIL FOR FILE ADAPTER COMMUNICATION CHANNEL ERRORS

    Hi,
    I need to send an alert by mail to a list of configured receivers if any error( Application as wel as System Errors ) occurs in the FILE ADAPTER Communication Channel .
    Please suggest how to do it......
    Regards,
    Sriparna

    Can anything be configured in the communication channel to run a mail unix script if the communication channel is throwing
    error.Other than alert rule can we configure this.
    Why do you intend to use script? Define Alert....create Rule....set parameters using SCOT.....you will get the alert as email (if you need it)
    Can you please help with how do I create this rule specific to File Adapters only ?
    Other than selecting FILE as Adapter Type in RWB --> Alert Rule definition we dont do anything special....this setting should help.
    Regards,
    Abhishek.

Maybe you are looking for