Hadeling multiple files in sender and receiver adapter

Hi ,
In my sender FTP server multiple files gets created at a same time i want to send this same files to the target FTP server am not doing any file content conversion. Just pick this multiple files at a single poll and drop it in the target FTP system.
I gave . in the as file name parameter in the sender file adapter..PI system picks all the files as separate message but if i give . in the receiver adapter itu2019s not creating the file and its giving Java exception..
Is there any other method to do this without having File content conversion... ?
Regards
Shakfie

I gave *.* in the as file name parameter in the sender file adapter..PI system picks all the files as separate message but if i give *.* in the receiver adapter itu2019s not creating the file and its giving Java exception..
For receiver adapter you have to give some file name, '.' will not work for receiver adapter. So give any temporary name just to satisfy the mandatory field. And when you selet the ASMA settings in both SENDER & RECEIVER adapter then your Receiver File adapter will write the same file name which it has picked up and NOT the one which you have written in your receiver adapter.
Note: Set ASMA setting in both else you will not get the same file name at receiver. You can see the same in blog given by Siva. You need not to create any UDF since you are not using any mapping. Just use the ASMA settings.. that's it.
> Is there any other method to do this without having File content conversion... ?
You can go through this blog for the same...
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Regards,
Sarvesh

Similar Messages

  • AS2 Sender and receiver adapter.

    Hi All,
    I have to develop a scenario where i have to send/receive some GS1 messages to/from our trading partner using AS2 adapters. I have gone through some of the links and blogs realted to as2 adapters but still have some doubts. Request you to help me in understanding those:
    1) In receiver AS2 adapter, i am using HTTPS transport protocol and in that case i have to mention some entries like Server certificate and private key authentication under "SSL certificates". So, just wanted to confirm that do i get these certificates from out trading partner and then i have to deploy this on PI server?? If yes then whats the procedure for the same??
    2) In sender AS2 adapter, metioning only unique AS2ID (provided by our trading partner) under party identification will result into a communication with our trading partner??or do i need to do something else from my end also??
    I am very new to AS2 adapter concepts, so please help me..
    Thanks
    Amit

    Hi Amit, 
    Check the below answers
    Q) In receiver AS2 adapter, i am using HTTPS transport protocol and in that case i have to mention some entries like Server certificate and private key authentication under "SSL certificates". So, just wanted to confirm that do i get these certificates from out trading partner and then i have to deploy this on PI server?? If yes then whats the procedure for the same??
    A). Yes you need to maintain the Server certificate and private key authentication, generally certificate and SSL certificates are different, but some customers uses the same certificate for SSL also. after you receive the certificate from the customer BASIS people will deploy this certificate in NWA and provide you the path, that path you need to give.
    Q) In sender AS2 adapter, metioning only unique AS2ID (provided by our trading partner) under party identification will result into a communication with our trading partner??or do i need to do something else from my end also??
    A). AS2ID we mention only at Party.
    Q). I guess, we usually have message subject as "*" in sender AS2 adapters.
    A). Generally we can use '' so that it can take any message subject data, if your customer using some subject line always then we can use that subject instead of '', but once they changed the subject line it doesn't handle that message.
    Q).  But one more thing , i am not sure only specifying WAN number ie AS2ID and message subject(as suggested), will setup a communication between a trading partner and XI system??
    A). VAN (Value Added Network) is like our network, but they provide the extra security. Instead of Customer details we can give the VAN details, here no customer details are required and there is no other communication required to the partner. Once we send data to the VAN, then VAN sends that data to customer.
    Check this link for more info
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d095b2df-9fa3-2d10-568b-d12d99828c33?quicklink=index&overridelayout=true 
    Regards,
    Ramesh

  • Read Xml file for Sender and Receiver Info

    Hi
    Is it possible to customize B2B to read Sender/Receiver/Document Information from the xml file which is supposed to be transmitted?
    I do NOT the option to specify this information in channel configuration under file name since file name will not have this information.
    But I am fine with writing any plug to set this information somewhere to achieve the same.
    Regards
    Punit

    For outbound transactions, file name is the only option available currently if you are using Generic File internal listening channel. You may use any other transport like JMS/AQ/Fabric and partner and document information can be set in headers.
    Can you let us know the complete use case?
    Regards,
    Anuj

  • File Adapter - Reading 2 files from sender and one file to receiver

    All - I am looking for a best solution for reading two files from sender and generating one file to the receiver.
    Here is the scenario
    Sender file s - A is a master file. B is a detail file; B will have a one to many records for each record of File A.. that is the relation ship between 2 files..  I am looking for a better solution to
    Example
    Input:
    File A will have a record like "summary1 ABC 1234"
    File B will have a record like "Detailfor Summary1 CDF 8679"
    Output:
    File C shall have a record "consolidatedofSummary&Detail ABC 1234 8679"
    1) read records of master row and detail row from these 2 files
    2) do the mapping to the receiver output format which it is creating for records with some harcoded values and based on the values from master and detail rows of sender file
    if I can accomblish reading sender files and do the mapping to the receiver , assume that mapping to the receiver format would not be cumbersome.
    please help me...
    Thanks

    Hi Gopal,
    Ur approach to the interface is perfect.... Go ahead.
    For selecting multiple files in source use Advanced Selection for files.. and specify the directory paths and also the file name shema...
    This will fetch the 2 files into the integration engine... then u map the 2 source files to one target file(2:1 mapping).
    Specify accordingly the receiver side FCC and test it end to end...
    If u face any prblm post here... some1 will help u out..
    Babu

  • Prerequisites for Sender and Receiver FTP adapter

    Hi Experts,
    I am new to PI and configuring simple file to file scenario. I need to know the prerequsites for sender and receiver FTP adapter. Scenario is System A -> XI -> System B .
    What I want to know is:
    1> What ports need to be opened?
    2> Any service that I need to activate?
    3> Do I need to install FTP server in any of the machine?
    If I have missed something, please add.
    Br,
    Nilz

    Hi,
    1> What ports need to be opened?
    mentioned in below link as said its 21.
    2> Any service that I need to activate?
    No
    3> Do I need to install FTP server in any of the machine?
    THere are two ways by which u can pick ur file.
    1) NFS by which u can put the file on XI appplication directory and pick up ur file.
    2) FTP u have to put ur file on FYP server and XI will pick up the file from there. U can use freeware FTP and install it on ur Desktop search on goolge u will get ti FTP installtion.
    refer the below configuration requirement for FIle adapter.
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    ALso refer the end to end file to file scenario.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE&
    chirag

  • How send and receive XML file from PI 7.0 via SSL

    Hello experts,
    Can you point to some documentation , examples , links where I can get some information on how to send and receive XML files using PI 7.0 via SSL ?
    Thanks in advance.

    Hi,
      refer to the following links.
    Enabling SSL
    http://help.sap.com/saphelp_nwpi71/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
    Adapter specific security
    http://help.sap.com/saphelp_nwpi71/helpdata/en/f5/799add57aeee4f889265094a04695c/frameset.htm
    regards,
         MIlan Thaker.

  • BizTalkServer 2010 SFTP Adapter from CodePlex - Configuring send and receive locations with SSH public and private keys

    Hi there,
    I am looking for step by step instrcutions on how to configure SFTP Codeplex adapter for both receive and send ports.
    Out business partner with whom we push/poll the files from wants us to use SSH encryption/decryption etc.
    Just wondering if the following functionality is supported in Codeplex SFTP adatper without having to write any code.
    Appreciate if there is manaul to do this for SFTP. BTW I do have all the our public and private keys and business partners Public key for configuring.
    For Send port: 1. we would need to encrypt the file with our business partners public key
                          2. sign the file with our private key.
                          3. Send the file through to SSH client which eventually transfers to Remote server.
    Receive port:   1. Connect to SSH Server with SSH-2 key and receive the file
                          2. Verify the file's digital signature agaisnt the Business partners PGP public key
                          3. Decrypt the file using our PGP Public key
    Thanks in advance

    Yes it is supported.
    You can find its documentation in this link 
    You can find section X.509 Certificate Identity Keys
    You can set public and private key in property SSH Identity thumbprint  of send and receive port
    I prefer to test it using client tool like
    FileZilla or WinSCP then test it using sftp adapter
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • Code to retrive the sender and receiver interface names using custome adapter module

    Hello Team,
    I want to develop an custom adapter module which could retrieve the names of the sender and receiver interfaces of the scenario and for that i am trying to use com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory.ParamSet but i don't know whether this API will support or not and also i don't know how to develop the code using this API so please suggest me some code for it so that i could retrieve the names.
    Thanks you all in advance.
    Regards,
    Avinash.   

    Hi,
    Just ASMA setting will do the needful. Are you planning to rename your target file name. If yes then only you will require UDF.
    Update: Since your directory name will be taken from source file name then you have to use mapping for this, else it will not be possible.
    I don't know if creating a new module for this will help you solve the issue, but in that case rather creating adapter module, mapping will be easier.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Dec 7, 2009 3:04 PM

  • Is there a way to send and receive SMS on multiple cellular devices without using iMessage?

    I currently own a cellular iPad mini and an iPhone 4s and would like SMS to be the same on both devices as well as my desktop.
    After many months of struggling with iMessage, I decided to turn it off entirely.  I discovered that my best friend did not receive dozens of my texts over the span of a few months (I compared our message history side by side).  Seems like it had something to do with traveling in and out of wifi zones or possibly conflicts between our two carriers, ATT and Verizon.  Regardless, I am not willing to dive into iMessage fully until this gets sorted out.  Further, SMS is the standard message format for everyone outside of the Apple sphere, and I do not feel comfortable lumping them together into one app.  If I decide to switch to Android, will all of my contacts with iPhones continue sending me iMessages?
    Thank you for your help!

    Is there a way to send and receive SMS on multiple cellular devices without using iMessage?
    Search the iTunes App Store for any 3rd party SMS apps that may be available.
    If I decide to switch to Android, will all of my contacts with iPhones continue sending me iMessages?
    Android phones don't receive iMessages, they can recieve SMS messages sent through the iOS Messages app. The app that your contacts choose to use to send you messages is completely up to them.

  • Determine Sender and Receiver in adapter module?

    All,
    Non-XML messages from different senders are received via the same JMS queue.  In the text payload, the ID of the sender and receiver is contained.
    Would it be technically possible to develop a JMS adapter module that sets the Sender Party, Sender Service, Receiver Party and Receiver Service based on the content of the message payload?  Is it possible to influence sender and receiver in an adapter module?
    Kind regards, Guy Crets

    Hi Steven,
    It seems like you can not convince XI to pick up a new message. The code below works when you use "inputModuleData.setPrincipalData(msg);" but not with "inputModuleData.setPrincipalData(msgnew);".
    The error in the Runtime Workbench is: "Catching exception calling messaging system' found, cause: javax.transaction.InvalidTransactionException: Cannot invoke call from within a transactional context.".
    I tried to set the RefToMessageId on the new message, but this does not work either.
    Does anybody know why the InvalidTransactionException is thrown?
    Here is the example code:
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
      try {
        Message msg = (Message) inputModuleData.getPrincipalData();
        Context ctx = new InitialContext();
        ConnectionFactory cf = (ConnectionFactory) ctx.lookup(
          com.sap.aii.af.ra.ms.api.ConnectionFactory.JNDI_NAME);
        MessageFactory  factory = cf.createMessageFactory("XI");
        Message  msgnew = factory.createMessage(
          msg.getFromParty(),msg.getToParty(),
          msg.getFromService(),msg.getToService(), msg.getAction());
        msgnew.setConversationId(msg.getConversationId());
        msgnew.setDocument(msg.getDocument());
        inputModuleData.setPrincipalData(msgnew);
      catch (Throwable t)
        ModuleException me = new ModuleException("MyException");
        throw me;
      return inputModuleData;
    Best regards,
    Simon

  • Soap Sender and RFC Adapter receiver getting APPLICATION_ERROR

    Hi, all,
    I have a webservice soap sender and RFC Adapter receiver scenario, it works fine with RFC "RFC_SYSTEM_INFO", When i tried the RFC "RFC_READ_TABLE", getting the following error message,  <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code> in
    SXI_MONITOR, in webservice client, i am getting error message like this:
    <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <rfc:ZZTEST_RFC_READ_TABLE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
                   <Name>TABLE_NOT_AVAILABLE</Name>
                   <Text>QUERY_TABLE not active in Dictionary</Text>
                </rfc:ZZTEST_RFC_READ_TABLE.Exception>
    Thanks a lot!

    Hi
    Its not compulsory but its good to wrap it as Z object.
    Well if you are facing problem with SOAP data. Then try to do one thing. Check with the data you received from SOAP message. If this works
    Then try to check in mapping is it passing the data correctly or not. With this check with the user authorization PIAPPLUSER. if its having less authorizations to execute this BAPI in ECC
    Thanks
    Gaurav

  • IDOC Sender Adapter and Receiver Adapter

    Hi,
    Why we don't require IDOC Sender Adapter to communicate with PI and why IDOC Receiver Adapter is required to communicate with SAP ?
    Regards,
    J Augastine

    Hi,
    >>>Why we don't require IDOC Sender Adapter to communicate with PI
    you're talking about sender and receiver agreements right ?
    as this adapter is based on abap stack - with new functionalities of IDOC adapter
    require sender agreement
    >>>and why IDOC Receiver Adapter is required to communicate with SAP ?
    as we need to put the RFC to the destination system somewhere...
    Regards,
    Michal Krawczyk

  • How do setup multiple send and receive domain on single virtual ironport?

    HI all
    how do i setup multiple send and receive domain on single virtual ironport?
    Daemien

    Please use the admin guide to assist you for setup/configuration:
    http://www.cisco.com/c/dam/en/us/td/docs/security/esa/esa8-0/user_guide/ESA_8-0-1_User_Guide.pdf
    On the VESA - the Recipient Access Table (RAT) will control which domains your appliance accepts for.  
    AsyncOS uses a Recipient Access Table (RAT) for each public listener to manage accept and reject actions for recipient addresses. Recipent addresses include these:
    •Domains
    •Email addresses
    •Groups of email addresses
    This is covered in detail in the "Overview of Accepting or Rejecting Connections Based on the Recipient’s Address" section.
    Please see the "Configuring the Gateway to Receive Email" section for configuration of appliance for domains.
    Please see the "Defining Which Hosts Are Allowed to Connect Using the Host Access Table (HAT)" section for configuration of appliance for sending.
    I hope this helps!
    -Robert
    (*If you have received the answer to your original question, and found this helpful/correct - please mark the question as answered, and be sure to leave a rating to reflect!)

  • Send and receive files between unix machines

    Hi friends,
    I have to send and receive files from one unix machine to another unix machine. In my first unix machine I have tomcat webserver. Using a JSP I have to send and receive files from this machine to another machine. The destination machine contain some BAAN implementation, which take the files I send as input .
    Can you send me a java program to solve this problem.

    Hi friends,
    I am getting a problem in my application. I will state the complete problem in detail. I have to transfer 3 files from one NT machine to unix machine some where kept in net work, I used an ftp in 'Process p = getRunTime().exec("ftp -i -s:ftp.txt")'. In ftp.txt file I have given the necessary things for ftp to unix machine. The files are transfering into the unix box. When I to the process for the 2nd time I have to check whether the file are exists in the unix box, then only transfer the files. Now, again I am doing ftp bring the files from the unix box to NT machines using 'Process p = getRunTime().exec("ftp -i -s:ftp1.txt")' where ftp1 contains all the necessary things for ftp to unix machine . Now I am checking for the files available in the NT machine using boolean=(new File(filename)).exists(), Fine out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false', even the same happens if I delete the 3 files after checking, out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false'. I went to the folder where I am bring files from and removing the files manually, one file is showing share violation, one process is using the file . I am unable to resolve this problem, will this code what I write is acceptable if not suggest any other code. I have sending all the snippets of the programs. I am doing this in the development environment like this. My production environment is totally both are unix machines.
    1. ftp to transfer files.(tranfer.txt)called in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    put d:/dathu/CSV/bssfa932.txt
    put d:/dathu/CSV/bssfa933.txt
    put d:/dathu/CSV/bssfa936.txt
    bye
    2. ftp to get the files(get.txt)used in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    lcd d:/dathu/hold
    get bssfa932.txt
    get bssfa933.txt
    get bssfa936.txt
    bye
    3. java code snippet to getfiles
    Process p = Runtime.getRuntime().exec("ftp -i -s:get.txt");
    4. java code to check the files exist
    boolean filestatus=moCreatFlatFilerobj.isFileExists();
    public boolean isFileExists(){
    boolean isfileexisting=false;
    boolean blnordhead = (new File(file1 with path)).exists();
    boolean blnordlines = (new File(file2 with path)).exists();
    boolean blnaccount = (new File(file3 with path)).exists();
    if(blnordhead && blnordlines && blnaccount){
    isfileexisting=true;
    return isfileexisting;
    5. java code to delete files
    public void deleteFiles(){
    boolean header= (new File(file1 with path)).delete();
    boolean line =(new File(file2 with path)).delete();
    boolean account=(new File(file3 with path)).delete();
    6. java code to tranfer files.
    p = Runtime.getRuntime().exec("ftp -i -s:transfer.txt");

  • On a iphone4, under settings, messages, send and receive, there are multiple phone numbers listed.  How do I remove them? they are constantly checked even when i uncheck them.  this is causing copies of my text messages to go to those phones.

    on a iphone4, under settings, messages, send and receive, there are multiple phone numbers listed.  How do I remove them? they are constantly checked even when i uncheck them.  this is causing copies of my text messages to go to those phones.

    Are you using the same AppleID for all those phones? If so, get them all their own AppleID.
    KOT

Maybe you are looking for

  • How can I export a mailbox of messages as plain text?

    I have a mailbox filled with correspondence from a colleague. About 150 messages in all, some with attachments. I'd like to print out all the messages in that folder but not one at a time. I was hoping to be able to save them all as plain text and co

  • More Event Logs in Production Servers

    The description for Event ID 0 from source Microsoft Deployment Agent cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on th

  • I am getting runtime error "OBJECTS_OBJREF_NOT_ASSIGNED_NO".

    I am getting runtime error "OBJECTS_OBJREF_NOT_ASSIGNED_NO" in transaction RSPC in BW system.

  • Problems creating free PDF

    I uploaded 2 Word 2002 files my Acrobat.com account. I have tried several times to convert them to PDF and I keep getting this in the lower left corner: The file could not be converted to PDF.:PDF conversion failed. Please try again later. Am I doing

  • Spry Data Set

    Does anyone know if the first row of a data set can be selected or highlighted by default?