Sender communication channel with file adapter

Hi All,
           Here i am facing some error with the communication channel in which i have used FILE adapter. Here i am using PI 7.0. Here i have configured the communication channel. but i didn't checked the "operating system commands". and i checked the " adapter specific message attributes". i dont know whether i have to check these adapter specific message attributes or not. When i have gone to runtime work bench there i saw in adapter monitoring. there it is not showing any error. but in communication channel monitoring it is showing that it is having  -
  "processing  errors" but i am not getting where will be the error.. Any new ideas will be appreciated.
Thanks in advance,
Ramana

Hi Bhavesh and Aaron,
              Here i viewed the XMl format of the sender file in the mapping. there i found the difference between the file i am trying to pick up by the adapter and the XML instance of the sender interface in mapping. The difference is there in the message type of the <ns0> tag the file i am trying to send is having one message type and name space, where as the XMl instance is having the other message type and same name space.
             i think that will the problem in processing my file. i am not sure about it.please any of you confirm that if it is th processing error i am facing or not.
            Thanks for your efforts.
Regards,
Ramana.

Similar Messages

  • Multiple communication channels for file adapter based on user name

    I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC.  Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
    Thanks,
    Dehra

    Hi,
    you need to create 40 channels if you have users
    as dynamically you can only create:
    File Name
    Directory
    File Type
    File Encoding
    Temporary Name Scheme for Target File Name
    with FTP adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Content Conversion for Sending Communication Channel using File Protocol

    I have a file as follows:
    CUSC,CRCA,OBAL,DATE
    10197,0111,15250094.05,20071008
    10758,0111,8131440.17,20071008
    12939,0111,8212006.53,20071008
    13129,0111,6953749.77,20071008
    13331,0111,8607294.15,20071008
    13579,0111,11972774.95,20071008
    13676,0111,6636698.47,20071008
    What is the content conversion that I can proceed with so that I can go with the mapping. I have to use File Adapter?
    Please Help

    Hi,
    Check below links for Content conversion.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani
    Reward points if Helpful

  • 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.

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • How to configure receiver communication channel in File to mail scenario?

    Hi all,
            I'm working in FIle-to-Mail Scenario. I did all the required configuration In Integration repository. As per my Scenario whenever a text file stored in Application server of the R/3 system. it should be sent as a attchment with a mail.so i set a sender communication channel with file adapter in sender R/3 system . i dont know which business system should i refer for my receiver communication channel.because my receiver end is  a mail server. should i create any third party business system for this one?
    can anyone suggest me to define a receiver comm channel in a right manner?
    helpful answers will be rewarded.

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • Problems with File adapter

    Hi All
    I am facing some problems with XI system. XI production server was restarted couple of days back. From that time, 1 file is not reaching its destination. When i go to communication channel monitoring, i see this  message for all the communication channels with file adapter "No adapter registered for this channel".
    But, communication channels with SOAP adapter are working fine, and the corresponding files are reaching its destinations. So, what should i do to rectify this probelm? Do we have to restart XI server onceagain? Is there anything pirticular, to be careful about, while restarting XI system?
    Many Thanks in Advance
    Chandra Sekhar

    Hi Chandra shekar,
    Plz try to do the  following steps:
    1)Try after restarting the Java Stack.
    2)Try after SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    This will help you to find SP Level
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
    http://hostname:5/CPACache/refresh?mode=full
    Regards,
    Vinod.

  • 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

  • Sender communication channel stopped after error "Connection Timed Out"

    Hi experts,
    in our scenario we have an asyncronous sender communication channel with polling every 6 seconds to an external FTP server.
    Yesterday evening a "Connection Timed Out" error came.
    After this error the polling stopped but channel in communication channel monitoring still remains green.
    So status green but no polling.
    To solve this problem we stopped and then restarted channel from CC monitoring.
    The channel is configured "manually".
    The question is: Is it possible to avoid this problem? Maybe there's a parameter in configuration to set?
    After a time out error the channel must go on polling, it should not stop. Or it must shows red status.
    Thanks
    Fabio Boni

    HI,
    I think PI level is "SAP J2EE Engine 7.00 PatchLevel 109886.44"
    Thanks
    Fabio

  • BIC Module Error in Sender Communication channel for EDI to File scenario.

    Hi Experts,
    We are working on the EDI based scenarion where EDI files come to SAP PI from partner and then through Split 997 Adapter Func Ack is sent back to the Partner . But we are facing a issue in our sender Communication Channel which is a File Adapter Channel and uses BIC Module for the conversion of EDI to XML .Request if any one can provide any guidance on the below issue coming in sender CC.
    Error: Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: 2 errors occured. First error: EdiSegmentData read(): Edifact Format not correct : segment must end with \"segment delimiter\" (Segment : ISA). DESCRIPTION: EdiSegmentData Error: Your Edifact Format is incorrect the segment must end with \"segment delimiter\". check segment [not specified]. Last error: InhouseDocReader moveNext(): com.seeburger.jucon.dochandler.AnsiX12DocReader, offset[92(read Segment : ISA)]: could not parse segment (wrong format): EdiSegmentData: Edifact Format not correct : segment must end with "segment delimiter" (Segment : ISA) DESCRIPTION: InhouseDocReader Error: [not specified] at position [not specified] could not parse the segment [not specified] Error while reading description - wrong format.
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Is there any special character present in the EDI file?
    the parser is not able to parse the data.
    you can check the BIC conversion log for more information.
    Regards,
    Harish

  • Adapter Module not working in Sender Communication Channel working in recie

    Hi
    I have written one adapter module. IF i give that Adapter Module in Sender Communication channel its not working. If i give that in Reciever Communication Channel its working. If i mention in both the channels then its working in sender communication channel also.But in only sender communication channel its not working in only reciever communication channel its working Can any one tell me why its happening
    Thanks & Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    hi
    if its problem with my code why its working if i give the adapter module in both the communication channels?If i give in only sender communication channel the module is not invoking. its not showing any auditlogs.Can any one please help me
    OUTBOUND is for sender
    INBOUND is for reciever right.?
    the following code i have written
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              String SIGNATURE =
                   "process(ModuleContext moduleContext, ModuleData inputModuleData)";
              Object obj = null;
              Message msg = null;
              String filename = null;
              AuditMessageKey amk = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   System.out.println("&&&&&&&&&&&&&&&&&" + msg);
                   if (msg.getMessageDirection().equals(MessageDirection.OUTBOUND)){
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.OUTBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   }else{
                        File filename1 = new File("
    10.7.1.43
    XI
    source","text.txt");
                        filename1.createNewFile();
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   System.out.println("**************" + amk + "***********");
              } catch (Exception e) {
                   Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> GetHostName: Error Module called");
                   e.printStackTrace(System.err);
                   ModuleException me = new ModuleException(e);
                   throw me;
              // Read the channel ID, channel and the module configuration
              try {
                   Hashtable mp = (Hashtable)inputModuleData.getSupplementalData("module.parameters");
                   if(mp != null){
                        filename = (String)mp.get("FileName");
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"Host >>>  Element Name is set to {0}"+filename );
                   }else{               
                        Audit.addAuditLogEntry(amk,AuditLogStatus.WARNING,"HostElementName parameter is not set. Default used: HostName.");
                        filename = "FileName";
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              try {
                   XMLPayload xmlpayload = msg.getDocument();
                   DocumentBuilderFactory factory;
                   factory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   Document document =
                        builder.parse((InputStream) xmlpayload.getInputStream());
                   Element rootNode = document.getDocumentElement();
                   if (rootNode != null) {
                        Element childElement = document.createElement("filename");
                        childElement.appendChild(document.createTextNode(filename));
                        rootNode.appendChild(childElement);
                   // Transforming the DOM object to Stream object.
                   TransformerFactory tfactory = TransformerFactory.newInstance();
                   Transformer transformer = tfactory.newTransformer();
                   Source src = new DOMSource(document);
                   ByteArrayOutputStream myBytes = new ByteArrayOutputStream();
                   Result dest = new StreamResult(myBytes);
                   transformer.transform(src, dest);
                   byte[] docContent = myBytes.toByteArray();
                   if (docContent != null) {
                        xmlpayload.setContent(docContent);
                        inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              return inputModuleData;
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

  • How can One sender communication channel pick two file from two location

    Hello
    I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    >
    Soumitra Sinha wrote:
    > Hello Vijay
    > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
    > i have two folder   folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can  pick file from two location and how one receiver channel can put in two location.please help me..
    Ok now I get your requirement.
    you cant achieve this -  how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
    easy way - involve IR mapping
    else
    have a adapter module to define your dynamic configuration.
    Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
    Set the dynamic directory/file name etc for your receiver adapter.

  • 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
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
    &#61680;     Root Location > com > sap > aii > File
    &#61680;     Set the severity and choose Copy Severity to Subtree

  • Problem with File Adapter Communication

    Hi,
    I have got an tab delimted file  as mentioned below
    601252539   5000004  5000004  ZURICH CARGO MCO 00000000005
    606012525   5000005  5000004  MIKEN  INC       00000000003
    I have created proper sender and receiver communication channels with content conversions handled properly.
    In my adapter monitoring I am able to see that my Sender & Receiver Communication channel is showing green and the messages are polled from the flat file in my sender communication channel.But I am unable to receive my messages in the receiver.I have even checked up with MONI,no messages are displayed as per my interface.
    But everything is fine.When I am sending an XML file.
    If there are any mistakes with Content conversion with my tab delimeted file than,some error must be shown in my Adapter monitoring showing my communication channel error.
    But everything is going fine with Sender communication channel.
    There is a major concern here is when I debug the problem, I found out that my content conversion is working fine and the XML document is getting created and When it is going to XI,I have observed that BLANK DOCUMENT is being sent to XI.So,as a thumb rule.SAP XI wont process any BLANK DOCUMENTS.Thats the reason why my receiver is not receing any messages.
    I dont know why,when the content conversion with tab delimted file is converted in XML,When conversion is completed while sending the SAP XI is receiving a blank document.
    Can any one help me.
    Thank You,
    KishoreJ.

    Hi,
    I have just given an example flat file and now even I am giving my content conversion by deleting some,which are not fitting into the page.
    Header.fieldFixedLengths 15,25,8,6,1,8,8,8,15,3,31
    Header.endSeparator      'nl'
    Header.fieldNames        NAME,EXTRD,EXTRT,DBUPD,VOID,UNVD
    Header.keyFieldValue      021309379
    Detail.fieldFixedLengths 18,13,13,35,15,3,8,2,21
    Detail.endSeparator      'nl'
    Detail.fieldNames      BANKN,CHECF,CHECT,ZNME1,AMNT,DECM
    Detail.keyFieldValue      601252539
    Thank You,
    KishoreJ.

  • XI-Multiple instance scenario -File & SQL sender communication channels

    Hi
       i have a basic question regarding how file sender communication channel ( where we poll for a particular file pattern either using file/ftp types in a particular subfolder ) or a sql sender communication channel - ( selecting records from a sql source ) would work in a scenario with two active XI instances and j2EE file and sql adapter services running on both of the J2EE servers ?
    1. How would the file polling from both J2EE servers - avoid a conflict looking for the same file pattern ? Is there any inbuilt mechanism from SAP to make multiple instances work with the file polling - without a confict ?
    2. Simlar question for SQL sender type communication channel ?
    If SAP does have a mechanism to handle multiple instance scenarios for file and sql sender adapter based communication channels, is there a link/document on this ?

    Hi Karthik,
    Please see my comments.
    I am just wondering aloud - what will happen if we use a select for update clause in the sql sender adapter communication channel -
    Gouri: Yes you can use select + update. In fact that is the right way.
    will this ensure that polling from one J2EE instance will lock the selected records so that the second instance does not select the same set of records from the sql server ? Or should we not use a select for update and use a simple select statement ?
    Gouri: Yes. SQL DB will ensure that same data will not be picked by another node. As I mentioned earlier use serilizable option from advanced mode.
    -Gouri

Maybe you are looking for

  • Displaying images stored in blob columns

    I've seen discussions on how to upload and download blob columns but I want to store a blob in the database and be able to display the blob (which is a jpg) as I would any other <img> on my web page. Instead of having to store the jpg on a file syste

  • Problem with import of IDOC fromSAP 3.1i to PI 7.0

    Hi , I have an IDOC as ZXYZ.ORDERS01 in SAP R/3 3.1i System, I am unable to import the IDOC in PI7.0 Let me know the process to import that idoc. ( I am Doing IDOC to File and file to IDOC Scenario ) Regards, Edited by: TomShey on Sep 22, 2010 6:27 P

  • Ical loosing events / reappearing later after Lion upgrade

    Hi all, This is a new one for me - now that we've upgraded our computers to Lion, we're seeing some weird activity on iCal.  A newly added event will suddenly dissappear, then reappear later, and maybe go again again.  We've got our calendars sync'd

  • Documentbuilder and VerifyError

    Hi, I'm a beginner in programming java and xml. So i have maybe a simple question! In my code, I get an VerifyError and I don't know how to handle this one! Can anybody help!? Thanks!! public void create() { try { DocumentBuilderFactory factory = Doc

  • Checking Transport requests present in two different clients.

    We have around 200 transport requests that have been transported by consultants from D01 to R01-client1/client2 and I need to check that which transport is present in which R01 system client.. i.e. a) how many of them are present in client 1, b) how