Sender Comm channel issue

Hi to All.
I am facing a issue sender comm channel?
comm channel is picking the file before placing the file in the source dir, the file size is some times coming morethan 6MB.
Could you please help me on this?
Thanks in advance.

Hi Yadav,
sapnote_0000821267 (as suggested by Kris)
3. File Locking / Incomplete Processing
Q: I sometimes observe that files are processed only partially, i.e., only a fragment from the file's start is converted into an XI message. Nevertheless, the file is usually archived completely. Does the File Sender Adapter honor if another process has locked a file for exclusive use?
A: Unfortunately, the J2EE 1.3 technology the File Adapter is built upon does not support file locking. This limitation affects the File Adapter's operation. Depending on whether the JRE implementation for the operating system under which the adapter runs uses mandatory file locking or advisory file locking, opening a file that is currently being written to by another process will fail or not.
If opening the file fails, no problem exists and the adapter will try to open the file each poll interval until it succeeds.
However, if opening the file is not prevented by the operating system, the adapter starts to process the file although it is still being modified. Since XI 3.0 SP11 / PI 7.0 there is a parameter named "Msecs to Wait Before Modification Check" in the advanced settings of the File Sender channel configuration to work around this issue. This setting causes the File Adapter to wait a certain time after reading, but before sending a file to the Adapter Engine. If the file has been modified (which is basically determined by comparing the size of the read data with the currentfile size of the input file) after the configured interval has elapsed, the adapter aborts the processing of the file and tries to process the file again after the retry interval has elapsed.
If this option is not available for the settings you would like to use, the following algorithm (to be implemented in your application) may be used to ensure that the File Adapter only processes completely written files:
- Create the file using an extension, which does not get processed by the File Adapter, e.g., ".tmp"
- Write the file content
- Rename the file to its final name, so the File Adapter will notice its existence and pick it up
Regards,
Raghu_Vamsee

Similar Messages

  • JDBC comm.channel issue with MS SQL select statement

    Hello,
    We are using JDBC adapter to connect to an MS SQL database.
    This is the comm.channel config.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<DNSname>:1433;databaseName=PSMI
    Activation of channel is successful.
    But when starting a select on a table of the database we will get this error for any table there in comm.channel monitoring.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    Error processing request in sax parser: Error when executing statement for table/stored proc. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'TABLENAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_Header'.
    The table is existing because we can access it from excel database connect.
    The connect address is the same in Excel as in comm.channel.
    Installed driver is for JDBC for 2000/2005 (1.2/4). for JDK 1.4
    Your help is really appreciated!
    Best regards
    Dirk

    Hi Dirk,
    This is the comm.channel config.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<DNSname>:1433;databaseName=PSMI
    I hope the DNSname you using is your Server name of the SQL Server (IP/ServerName) you trying to connect to.
    Please ensure that if you are using Hostname the entry is made in the host file at server level against the IP.
    Try using the Connection string as :
    jdbc:microsoft:sqlserver://IP(hostname)\ServerName;DatabaseName
    Cheers
    Dhwani
    Edited by: dhwani kamdar on Jun 11, 2010 5:31 PM

  • Polling/Sender comm channel in clustered environment

    Hi Experts,
    Our PI7.1 system is currently setup on two java clusters.
    I was searching for a guide on how to handle polling using these two clusters, but it seems I can't find one yet.
    Do you know where I can find these?
    What we were trying to do is disable a comm channel in one node but leave it enabled on another node.
    Many thanks!
    Regards,
    Lex

    Lex,
    As far as I know we dont need to do anythign manually. It should take care automatically once you tuned all the necessary tuning parameters.
    Regards,
    ---Satish

  • Sender Comm Channel

    Hi,
    what is the queue that appears when i select qos mode as EOIO in File Sender Communication Channel. and what value should i specify there.

    Hi
    As Sudir Said, you can use the SMQ1 and SMQ2 are used to monitor the queues.
    check thrrugh these blogs for more info on queues
    XI :  How to Re-Process failed XI Messages Automatically
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Regards
    Goli Sridhar

  • Empty file in sender comm channel

    i have issue with the empty files coming from the sender which are getting processed and getting saved in given file location.
    Now the problem is,these files donot contain data and rather just gets outputted with header and trailer with some dummy data usually spaces,some zeros,-- like this...,this makes the file size of some 444 bytes or 834 bytes but as it is not having any data,we need to goto SXMB_MONI everyday,check for files,if its empty,needs to  cancel them manually because it appears in red flag.
    To avoid this,i was thinking of setting the empty file option in processing of communication channel to SKIp messages or delete messages.
    Am i right in this approach?
    From other thread:
    "Currently when a process fails in PI due to an empty file the process needs to be manually set to u201Ccancelledu201D,where to locate in PI,what could be the problem and how it is to be solved.i have asked a similar question and hope that this error will help."
    please reply and show me right way of resolving this.
    thanks!
    cheers!
    Edited by: Prateek Raj Srivastava on Aug 19, 2010 10:54 AM

    Hi,
    As per ur req, its nt possible in this way.
    The empty file handling means the whole file is empty, the size is 0k.
    So in ur req, empty file means Header and Trailer present, but no data Records.
    we can achive this in following ways also,
    1.write an adapter module, to check if at all there is atleast there is 1 Data record, if not throw exception there itself.
    2.In the mapping check if at all there is any Data Record. If no Data Records raise exception and also the Alerts.
    Babu

  • SAP PI 7.31 / Sender SOAP Channel Issue with XML tag Main/@versionMajor has incorrect value 000; expected value is 003

    Hi PI Experts,
    We are on SAP PI 7.31 SP 10.
    We are in the process of integrating ARIBA P2P solution using SOAP Adapter as sender to connect Ariba with our PI system.
    We have configured all required components in ESR and ID(Most of them are content provided by Ariba).When we try to post a message into PI using SOAP UI we are ending with below error.

    http://<host name> : <port name> /XISOAPAdapter/MessageServlet?channel= <party name> : <service name> : <channel name>
    For the above issue we had configured SOAP Sender channel as above,and the URL we are using to hit PI is as above screenshot.
    We have followed the note on this topic with out any luck.
    1378872
    We are not sure where is problem.As the issue is not reaching to PI not able to see the messages in SXMB_MONI.
    and in the SXMB_ADM PI has been configured as Integration Server.
    I had even tried to change the message protocol as XI3.0 in SOAP sender channel and noluck.
    I have tried to ximessage=true query also in URL and noticed that not working.This is clear that the message we are trying to send from Ariba is not compatible with XI3.0 protocol,Ariba is not having any option to change at their end as it is a cloud application and many customers have been using same with out any issues.
    We have tried maintain the Java System properties in NWA as XPI.Adapter.Version.Major = 3 but no luck.
    Can some one provide us the solution to get rid of this issue?

  • Sender file channel issue

    Hello All,
    Here I have a problem with sender file communication channel. THe channel is not able to pick a file as the file format is not correct andf throwing exception in the channel which is expected. But Its not allowing to go and pick the other files with correct format till I remove the bad file from the Source dir location.
    How to get out of this issue Pls help me
    Regards,
    Moorthy

    Hi,
    Maybe you can delete or archive the erroneus file and then all the other files are processed?
    Set checkbox Archive Faulty Source Files and give directory where the erroneus files are moved.
    Also under module tab add new row  int the Processing Sequence table like this:
    AF_Modules/MessageTransformBean ............. 1
    And in under Module Configuration:
    Module Key ........ Parameter Name ...........................Parameter value
    1 ......................... Transform.PermanentErrors .........true
    If this won't help, please check the No[Note 1265534 - Archive faulty files does not work with add time stamp mode|https://service.sap.com/sap/support/notes/1265534]. Basically this means that archiving does not work if you have set the 'Add timestamp' option so check that too.
    More about the Me[MessageTransformBean Fauty Source files |http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
    Please remember that empty files are handled with their own settings.
    Regards,
    Mika

  • Error sender comm.channel

    R/3 sends the idoc to the file folder in UNIX, created file adapter to pick the file was given the file path correctly but in communication channel throws out the following error.
    ( i have to do any configuration )
    3/15/07 2:33:46 PM Retry interval started. Length: 60.0 seconds
    Error 3/15/07 2:33:46 PM Configured source directory '/usr/server/61/editest/comm/fromsap/2007/03_2007' does not exist
    3/15/07 2:33:46 PM Processing started
    Error 3/15/07 2:33:00 PM Retry interval started. Length: 60.0 seconds
    the directory was there, did i missed any please some one help me.
    thanks
    nivas
    Message was edited by:
            nivas nerusu

    Hi,
    the path to your folder must be correct
    is it a shared folder?
    if not use it with drive letter like: c:/something/usr/server/61/editest/comm/fromsap/2007/03_2007
    Regards,
    michal

  • 'No SOAP envelope' in Sender Comm.Channel

    Check if XMLAnonymizer bean could be used on your sender adapter side and replace the SOAP namespaces with the ones defined in your SWCV.
    VJ

    Hi Rodney,
    I have few questions for you. Have you created message mapping according to ur target structure mentioned above ? It it is fine, then go the test tab of message mapping object and perform mapping, let me know if you have any issues there.
    One more query, are you request message mapping exception unable to put the data in /target structure, otherwise let me know the error.
    Thanks,
    RJ

  • Seeburger AS2 sender comm channel config

    Hello,
    I have to put in place a scenario for message reicipt of EDI messages via Internet using AS2 on http.
    We use the seeburger AS2 adapter.
    I try to configure the AS2 sender adapter, but there are many options, which I do not know how to fill, and which aint documented either.
    I use the following config:
    Tranport Protocol: http
    Message Protocol:AS2
    Adapter Engine: Integration Server
    AS2 Authentification neccessary: When do I have to set this?
    Message Title: *
    Asynchronous MDN configuration
    SSL certificate alias: where do I get this from?
    SSL client certificate: what do I put in here?
    use proxy: Do I specify the data of our SAP Web dispatcher here?
    Thanks
    Matthias

    HI,
    See the below links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    http://www.stylusstudio.com/edi/XML_to_X12.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
    Details on XI EDI adapter from seeburger
    Check this for Conversions-
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    seeburger adapter configuration
    Regards
    Chilla

  • JDBC Receiver Comm Channel Issue

    Hi Team,
    We have around 77 interfaces inserting/updating information into a database.
    Q1) Should we creating 77 different receiver JDBC communication channels for the same receiver?
    Q2) Or would a single JDBC communication channel suffice?
    Currently, we have only created a single communication channel and we are encounter 'JDBC Message processing failed, due to Channel has reached maximum concurrency ' error.
    The Maximum Concurrency is set to '1' for now.
    Q3)How do we manipulate the 'Maximum Concurrency' value?
    Please advice.
    Thank you,
    Rakesh.

    RakeshDamera wrote:
    Hi Team,
    >
    > We have around 77 interfaces inserting/updating information into a database.
    >
    > Q1) Should we creating 77 different receiver JDBC communication channels for the same receiver?
    it can be handled by a single on also
    > Q2) Or would a single JDBC communication channel suffice?
    >
    > Currently, we have only created a single communication channel and we are encounter 'JDBC Message processing failed, due to Channel has reached maximum concurrency ' error.
    >
    creating multiple channels allows the flexibility of manual start or stopping particular interface flows in some business scenarios. if it is a single CC then there is no flexibility. so it depends.
    > The Maximum Concurrency is set to '1' for now.
    >
    > Q3)How do we manipulate the 'Maximum Concurrency' value?
    >
    > Please advice.
    >
    > Thank you,
    > Rakesh.
    try increasing the value from 1 to 99 or the maximum permissible value

  • Sync/Async - JMS receiver comm. channel not processing

    I have a Sync/Async scenario (without bpm) in PI 7.11:
    RFC -> PI -> JMS
    whereby the JMS receiver comm. channel does not fully process the message. 
    More specifically, the RFC sender comm. channel gets a message in and passes the message to the JMS channel, but that JMS channel within the RWB comm. channel log only shows the entry:
    - Message processing started
    The odd twist to this is that when we bring the PI server down, then back up again, (or wait a period of time, still trying to determine this period) the FIRST message attempt does successfully get processed, i.e. the first message on that JMS receiver comm. channel RWB log shows as:
    - Channel successfully processed the message: 08499236-387c-11e0-b002-000025bab2c2
    - Stored the correlation ID 08499236-387c-11e0-b002-000025bab2c2 of the request JMS message: ID:c3e2d840d4d8d4f24040404040404040c754dc12d8b54ec6  correponding to the XI message: 08499236-387c-11e0-b002-000025bab2c2
    - Message processing started
    (but then because of an issue on the target system, no response comes back, so then we'll additionally get the log entry:
    - Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: no message received
    Any suggestions appreciated on what I can check here to try and figure this out. Possibly because the first message eventually errors out, it is stopping the other subsequent msgs from getting processed...
    When I check the audit logs of a 'success' msg vs. a not-successful msg, the success msg has an entry (and subsequent entries) of:
    14.02.2011 12:50:19 Information Transform: transforming the payload ...
    14.02.2011 12:50:19 Information Transform: successfully transformed
    14.02.2011 12:50:19 Information ROB: entering RequestOnewayBean
    14.02.2011 12:50:19 Information ROB: forwarding the request message
    14.02.2011 12:50:19 Information ROB: leaving RequestOnewayBean
    14.02.2011 12:50:19 Information JMS Message was forwarded to the JMS provider succesfully."
    14.02.2011 12:50:19 Information XMB Message as Binary was forwarded to the SAP XI JMS service succesfully.
    14.02.2011 12:50:19 Information WRB: entering WaitResponseBean
    14.02.2011 12:50:19 Information WRB: retrieving the message for 08499236-387c-11e0-b002-000025bab2c2 ...
    wheras the non-success msg shows only:
    14.02.2011 12:55:30 Information Transform: transforming the payload ...
    14.02.2011 12:55:30 Information Transform: successfully transformed
    14.02.2011 12:55:30 Information ROB: entering RequestOnewayBean
    14.02.2011 12:55:30 Information ROB: forwarding the request message
    14.02.2011 12:55:30 Information ROB: leaving RequestOnewayBean
    So, we can see that the message is not "forwarded to the JMS provider..." in the non-success case.
    And also the  sxi_monitor shows these messages with a status of "Log version".
    Keith

    Hi Siddhesh - yes that was a while back and am trying to remember the resolution.  I have implemented sync/async bridges (as well as async/sync bridges) successfully, so I don't mind checking your settings, particularly I am interested in the settings within the Module tab of the JMS receiver.  I can then compare to mine if you'd like.  Also if you can let me know what underlying queuing system in that target system (e.g. MQSeries?) that would be great.
    Regards,
    Keith

  • Error in receiver comm channel

    Hi All,
       I am working on scenario file to file with out IR.just picking up the file from sap app server and placing in target ftp server.
    My sender comm channel is picking the file fine but when in receiver comm channel i am getiing error as
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Unknown payload format 0 in message"
    "Attempt to process file failed with Unknown payload format 0 in message"
    i have checked in content of the file it contains no special character. are any security is being maintained.
    please advise on this.
    Thanks,
    Bhaskar

    Hi Jude,
    I have checked in sender comm channel in message display tool under message content i am getting error as below.
    messagecontent
    message part [soap document]
    500   Internal Server Error
      SAP J2EE Engine/6.40 
    Application error occurred during request processing.
    Details:   Error [javax.servlet.ServletException: null], with root cause [java.lang.NullPointerException: null].
    Exception id: [00145E474044003F000018AD00003E0D000471A1CBF6A02A]
    what would be the error and how can i find it.
    Is this basis related issue?
    Thanks,
    Bhaskar

  • Sender - JDBC - Connection issue

    Hi All,
    I see a very strange issue on the JDBC Sender Comm Channel. On the Comm Channel Monitoring, I see it in GREEN. But it is not actually polling the DB table.
    Restarted the channel and that did not work.
    For now I have created a copy of the comm channel and the copy is working fine for couple days and again the same problem.
    I created another copy and second copy is working fine till now.
    Not sure what happened.
    I think there are some open connections to the DB still hanging in there. I am wondering if there is any way of deleting or closing the open connections.
    Thanks in advance.

    Hi Naveen,
    In your jdbc sender communication cahnnel go to advanced Mode tab --> there is a check box for Disconnect from Database After Processing Each Message. Select this option and give a try. This will make database connection released and reestablished before every poll interval.
    Please see this help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards,
    ---Satish

  • Content conversion at JMS sender communication channel

    Hi friends,
                    I have to convert fixed length flat structure to xml message.Therefor i have to do content conversion at the JMS sender comm channel.Can someone please explainthe procedure?
    data in the queue would be like as follows.
    9999000000124646q12233appej500rc11147822zord

    Hi Manikandan,
    The structure conversion can handle files containing rows with different structures. In
    each row there is a key field to identify the structure. The rows with identical key fields of
    course have identical structures.
    Let us assume that we have a sample file with four rows. Each row has a two-byte key
    field; the first row has a second field with ten bytes; the structure of the second and third
    rows is the same and comprises two additional fields with three bytes each; the last row
    has a second field with five bytes:
    AA1234567890
    BBABCABC
    BBXYZXYZ
    CC12345
    The configuration for the conversion could look like this:
    Module Configuration
    Module Key Parameter Name Parameter Value
    Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
    Plain2XML Transform.ContentType text/xml;charset=utf-8
    Plain2XML xml.conversionType StructPlain2XML
    Plain2XML xml.processFieldNames fromConfiguration
    Plain2XML xml.documentName MyDocument
    Plain2XML xml.documentNamespace http://xi.com/test
    Plain2XML xml.recordsetName MyRecordset
    Plain2XML xml.recordsetStructure NameA,1,NameB,*,NameC,1
    Plain2XML xml.keyFieldName MyKey
    Plain2XML xml.keyFieldType CaseSensitiveString
    Plain2XML xml.NameA.fieldNames MyKey,field-nameA
    Plain2XML xml.NameA.fieldFixedLengths 2,10
    Plain2XML xml.NameA.keyFieldValue AA
    Plain2XML xml.NameB.fieldNames MyKey,field-nameB1,field-nameB2
    Plain2XML xml.NameB.fieldFixedLengths 2,3,3
    Plain2XML xml.NameB.keyFieldValue BB
    Plain2XML xml.NameC.fieldNames MyKey,field-nameC
    Plain2XML xml.NameC.fieldFixedLengths 2,5
    Plain2XML xml.NameC.keyFieldValue CC
    In xml.recordsetStructure, you add a name for each different structure followed by the
    number of occurrences or an asterisk for unbounded occurrences. For each structure
    name, you configure the structure separately in a separate namespace such as
    xml.NameA.fieldNames and so on.
    If your source file is a CSV file, replace each xml.XXX.fieldFixedLengths with
    xml.XXX.fieldSeparator.
    the result of this conversion looks like this:
    <ns:MyDocument xmlns:ns="http://xi.com/test">
    <MyRecordset>
    <NameA>
    <MyKey>AA</MyKey>
    <field-nameA>1234567890</field-nameA>
    </NameA>
    <NameB>
    <MyKey>BB</MyKey>
    <field-nameB1>ABC</field-nameB1>
    <field-nameB2>ABC</field-nameB2>
    </NameB>
    <NameB>
    <MyKey>BB</MyKey>
    <field-nameB1>XYZ</field-nameB1>
    <field-nameB2>XYZ</field-nameB2>
    </NameB>
    <NameC>
    <MyKey>CC</MyKey>
    <field-nameC>12345</field-nameC>
    </NameC>
    </MyRecordset>
    </ns:MyDocument>
    Regards,
    Vinod.

Maybe you are looking for

  • How to open a .par file inside NWDS

    hi all, please help me out I want to open a .par file inside NWDS and make change the theame. thanks & regards

  • Import from excel in WD ABAP ALV

    Hi, Is there any ready made component e.g which shows Import data from excel to WD ABAP ALV. Kindly suggest. Best Regards Sid

  • How do I syncronize a PDA with PC? (activesync/web service?)

    Hi! Short intro: I’m currently working in a project with the goal to create a program where a user is collecting data in the field with a PDA. When the user has returned to his office, the stored data in the PDA is to be added to a central database w

  • Mails sent from Z10 are not getting downloaded using POP 3

    Hi, I have just upgraded from BB 9360 to Z10, all the mails sent from the Z10 are not getting downloaded on PC, I use POP 3 setting to download messages. Mails deleted from Z10 are getting downloaded Please let me know how to download mails sent from

  • Content Type policy template - labels

    Hello,  I have create "Content Type policy template" .  I enable "Labels" policy. When I press "Ok" , show the following error :           "The label reference, ProjectName, could not be found"    So What is wrong ?        Thanks ASk