Sender File channel in "To be Delivered" status always- PI 7.4- ICO interface

Hello All,
We are testing one Integrated Configuration Object (ICO) which is developed on PI 7.4 system (dual stack). Scenario is simple file to file and it doesnt have any ESR part (pass thru interface).
Sender channel (File adapter NFS based) is picking the file from IN directory and after which it is always in "To be Delivered" status and it never passed to Receiver file channel (NFS based).
We tried stop and starting the channel, deleted and recreated the channel, reactivated the channel, cancelled and restar the message from Message monitoring page, Cache refresh from ID and CPA cache refresh which didn't help us.
Below is audit log of sender File channnel:
Please help us in solving this problem.
Thanks,

Hi Naresh,
Have you tried Eng Swee Yeoh advices in this blog Handling and preventing messages stuck in To Be Delivered status?, like to set timeout and the mode Per file transfer.
Regards

Similar Messages

  • How to raise Alerts for Sender File Channel

    Hi All,
    For Sender File Channels , we can find out the status of the adapter through RWB as to whether it is Content Conversion related exception or Folder path not found exception & etc .
    I wanted to know as to whether there is any way where can rasie alerts for Sender File Channels (similar to what we do for Reciever File Channels) as well.
    Regards
    Vinay P.

    I found it myself .
    In Alert Configuration while we are adding alerts for a particular aler category , the following parameters needs to be checked .
    Connected to Message : Not Relevant
    Sender Service/Party/Interface/Namespace needs to be mentioned.
    Adapter Type should be selected as File

  • Sender file channel in DLNG mode when ICO used

    Hello All,
    I am working on SAP PI 7.4 version Dual stack installation.
    As part of Inbound Interface development, Operation mapping has been included in Integrated Configuration Object (ICO). But when tried to execute the Interface the sender File communication channel always into Delivering mode DLNG and it never went to DLVD mode while reading input file.
    Hence I have followed the traditional approach of by creating all configuration objects RD,ID,SA,RA in place of ICO. Now the communication channel is able to read the input file successfully.
    Can any one please tell me the reason behind this issue
    Note : There were no changes/corrections made to the sender file channel.
    Thnx&Regards,
    Moorthy

    Hi naresh,
    Check the communication channel montiring tab ,give the channel name and see whether able to ping the destination and down you can see logs as well.
    Regards,
    Loordh.

  • Error in Sender File Channel

    Dear all,
    I'm trying to execute a File to File scenario.But I'm getting this error in the sender file channel.
    "Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException: Message ID a0ff7230-8793-11dc-a4d5-001558e4827d(OUTBOUND) already exists in database: com.sap.sql.DuplicateKeyException: NWMssSQLServer JDBC DriverSQLServerViolation of PRIMARY KEY constraint 'PK__XI_AF_MSG__2B090089'. Cannot insert duplicate key in object 'dbo.XI_AF_MSG'.."
    The file is not getting picked, the processing mode is set to "Delete". Please help me out in resolving it.
    Any hep would be rewarded.
    Regards,
    Younus

    Hi,
    Check whether you have given the filename to other communication channel as well. Because it seems to execute another interface where you have a JDBC been used.
    If so change the file name in CC and in your file and check it once again.
    Regards,
    Nithiyanandam

  • Multiple Archive directories in Sender file channel

    Hi Experts,
    My requirment is to have multipple archive direcotories in Sender file channel.
    We have multiple source dirs  e.g.
    c:/abc/
    c:/bcd/
    c:/cde/
    and we want to archive the files from these source dirs to corresponding archive directories e.g.
    c:/abc/archive
    c:/bcd/archive
    c:/cde/archive
    I can see that we can have only 1 archive directory when the processing mode is kept as  "Archive"
    How can we achive the same , Please help
    Thanks in Advance,
    Jyoti

    Hello,
    I guess you don't have option to archive files in different directories using single CC.
    You can archive the files in 1 directory and then run a OS script, which will place the files in different directories (using NFS as protocol).
    Some reference:
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10392. [original link is broken] [original link is broken] [original link is broken]
    -Rahul

  • .csv file Vs .txt file Content conversion sender file channel

    Hi Experts,
                     I have a file with filename say input.csv.I want to do content conversion for these .CSV file.Is it same like we have to do for .txt file say input.txt.
    when i open my .csv file in notepad, i get multiple rows with each field separated by ';'.what are the content conversion parameters we have to define for .csv file and can we mention input.csv as the file name as a source file name.
    Thanks
    Deepak

    Hi,
    Use the following parameters for Sender file channel in case of reading .csv file
    Recordset Structure.fieldSeparator -
    Recordset Structure.endSeparator -
    'nl'
    Recordset Structure.fieldNames -
    provide field names separated with ,
    Regards
    Seshagiri

  • Sender File Channel unable to process

    Hi,
    I have a scenario where we are using a sender file channel. It polls every 1 hour at the source directory.
    Suddenly yesterday the channel stopped processing and never polled again automatically.
    It started the processing but did not finish the processing. (There is no error)
    Now when I manually restart the channel it directly goes to the polling interval and gives the log :
    "Polling interval started. Length: 3600.0 seconds" every 1 hour. It does not start the processing of channel.
    As an additional information I checked that the Server to which it is polling had some error at the time when it stop processing.
    Please help how could I start the channel processing now? Is there some kind of lock issue or anything else.
    Thanks,
    Vikas

    Hello Vikas,
    In addition to the previous posts, check the following as well.
    1)
    As I donu2019t know which SP level your system is on, please check the note below and apply the patch accordingly.
    > 1317686 - Adapter Framework Scheduler may fail to remove a job
    2)
    Check whether you have deployed on your system the patches described in this note (as as mentioned in the post above).
    > 1083488u2013 XI FTP/JDBC sender channel stop polling indefinitely
    3)
    Please check if there are locks (as as mentioned in the post above) for this channel according to section u201CHow to manually delete hanging Enqueue-Locksu201C in note:
    > 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter
    Follow the instructions and delete the lock related to the stopped communication channel.
    For the 7.1 versions, please note that the Lock Manager is under the /nwa/locks, or on the location "Availability and Performance Management -> Locks".
    4)
    Configure a timeout for the FTP connection.
    In more recent support packages you can set the "Timeout" parameter available in the "FTP Connection Parameters" section.
    Alternatively, please enable the "Advanced Mode" for the respective FTP communication channel in the Integration Directory and add an entry "ftp.timeout"=timeoutSecs (without any quotation marks) to the "Additional Parameters" section, where timeoutSecs is the desired FTP timeout in seconds.
    Please refer to the note below for further details on this.
    > 849089 - XI 3.0 / PI 7.0 File Adapter: FTP Timeout Handling
    Cheers,
    Jorge Eidelwein

  • Receiver JDBC channel is stuck in "delivering" status.

    Hi experts,
    I have a IDoc -> JDBC scenario, and when the JDBC channel tries to process a message, it get stuck in "delivering" status. Here's the log of the message process:
    2011-04-25 17:38:10 Success Message successfully received by messaging system. Profile: XI URL: http://xq0ds001:50100/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2011-04-25 17:38:10 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2011-04-25 17:38:10 Success Message successfully put into the queue.
    2011-04-25 17:38:10 Success The message was successfully retrieved from the receive queue.
    2011-04-25 17:38:10 Success The message status set to DLNG.
    2011-04-25 17:39:08 Success Delivering to channel: CC_JDBC_NA_Familiares_BUXIS_Receiver
    2011-04-25 17:39:08 Success MP: Entering module processor
    2011-04-25 17:39:08 Success MP: Processing local module localejbs/CallSapAdapter
    2011-04-25 17:39:08 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2011-04-25 17:39:09 Success JDBC adapter receiver channel CC_JDBC_NA_Familiares_BUXIS_Receiver: processing started; party  , service BS_NA_BUXIS_QA
    Any ideas of what could be causing this?
    Many thanks!
    Vanesa.-

    Hi Vanesa,
    Make sure you have set the MaxThreadCount parameter to 350 or higher depending of the case and of the resources available.
    To increase the parameter, please follow the instructions below:
    1. In the left frame choose Server -> Kernel -> ApplicationThreadManager
    2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode.
    3. The parameter MaxThreadCount must be set to 350.
    4. You will then need to restart the J2ee
    For reference see note #937159 - XI Adapter Engine is stuck
    For specific setting to an adapter can be done by going to Services -> SAP XI AF Messaging
    Look at the property 'Messaging connections' here you will see the following queues:
    Send.maxConsumers (asynchronous sending - outbound)
    Recv.maxConsumers (asynchronous receipt - inbound)
    Call.maxConsumers (synchronous sending - outbound)
    Rqst.maxConsumers (synchronous receipt - inbound)
    Depending on where the bottleneck is occurring (i.e. too many entries in the Send.maxConsumers) you can increase these parameters.
    Example of parameter value syntax (sample for JDBC adapter):
    (name=JDBC_http://sap.com/xi/XI/System, Send.maxConsumers=15, Recv.maxConsumers=15, Call.maxConsumers=15, Rqst.maxConsumers=15)
    For reference see note:
    #791655 - Documentation of the XI Messaging System Service Properties
    And see the link:
    /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    Regards,
    Caio Cagnani

  • TWO SENDER FILE CHANNELS POLLING SAME DIRECTORY

    I have a requirement to send a single file from a single FTP location to two different Target FTP locations as a passthrough interfaces. PI version 7.31
    I thought of doing it through two different interfaces, both FTP to FTP keeping source same and destination differently
    For First target (T1)Created dummy interfaces(Out/inbound) in ESR, created a configuration scenarion ,Sender and reciver FILE channels in ID, created an ICO.
    For the second Target(T2) : can i use the same dummy interfaces as used in first while creating Sender channel?
    can i use the same Sender channel as in first scenario to the ICO of  Interface for second Target(T2)--> it gave error, same sender channel(IF FILE) channel can't be used to different Sender Agreements/Integrated Configuration Objects. So i copied the sender channel with a different name and used it in second Interface.
    Reciever File channel obviously different for both cases with different server details and direcories.
    My fear is, if i can go with this set up as we have two sender FTP channels polling on the same FTP directory, so possibility of lock issue and channel are operational on a mapping of one hour(first one 8to10 and second one 9to12, so 9 to 10 both channles poll simultaneously).
    Please suggest any better way of handling this, or to resolve the lock issue ?could clusterSyncMode=lock help here?

    Hello,
    I think u are getting confused.
    >>My query was, if we could use two recievers(service) inside a single ICO, without giving any condition. Answer it please in YES or NO?
    Yes, indeed u can do it.
    IF YES, then how would  the message dynamically determine the correct/specific reciever out of the two recievers configured in ICO?
    >>Since u want to send same message to two different FTP servers so u don't have to worry about dynamically determining receivers. As soon as file sender adapter picks the file it will route the message to both the receivers and eventually send the same request message to two different FTP servers.
    Hence i assume, for every file kept on source direcory, there would be two messages( 2 files) going to be created on two different targets? YES or NO?
    >>YES
    Thanks
    Amit Srivastava

  • Sender File channel error

    Hi Experts,
    We are getting the below error in the File sender channel.
    Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException:24
    This error we are getting for one specific File Channel. Other File channels are working fine. 1 message is also picked up by this channel but everytime it shows the same message id and the error.
    Please let me know how to fix this.
    Regards,
    Shaibayan

    Hi Shaibayan,
    Kindly check for detailed logs in NWA for this channel.
    Also if possible try to collect logs from XPI Inspector tool, more details can be found in below OSS note:
    1514898 - XPI Inspector for troubleshooting XI
    Regards
    VJ

  • Can we schedule sender file channel for every 2 hrs??

    Hi all,
    I want to run sender channel for every 2hrs. i searched in Availability Timings but there is no such facility to schedule the channel for every 2 hrs
    There is an option to schedule the channel on daily basis and for how much duration time it should run.
    This won't work in my case
    please share your thoughts...
    Regards

    Hi RP,
    >>in the configuration of CC sender file --> poll interval(secs) = 7200. this value is equals to 2hs
    problem solved right?
    Good Idea, but the problem here is a i explained above this is combination of 2 interfaces
    1) Idocs will be triggered every 2 hrs in ECC and records will be appended to single file on XI Shared drive.This is one interface
    2) Another Interface is to pick up the appended big file From XI Shared drive to FTP Server.
    EX:
    If all Idocs triggered at 1:30pm from ECC----all records will be appended to single file suppose by 1:31pm
    Now in second interface i gave poll interval as 7200 and activated at 1:40pm, so the file will be picked up at 1:40pm
    So this frame of time interval continues smoothly like next job is ecc will run at 3:30pm and appends to file by 3:31pm there by second interface will pick up at 3:40pm. This is the correct way of execution
    PROBLEM: In this process, If my PI server is down at 2:00pm and is up at 4:11pm, there won't be any problem with first interface.my second interface starts from 4:11pm(server up time) onwards and keep polling for every 2 hrs from there onwards. so my total time frame is collapsed .
    Regards

  • 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

  • Sender File Channel Cluster Node issue in CC monitoring

    Hi,
    I have a issue in Sender File CC. The channel is active and polling every 1 min. The issue is in the CC monitoring it is just showing one single line i.e "Polling interval started.Length: 60.0 seconds" the other two lines Processing started and Processing Finished Successfully are not visible...
    Please let me know the solution if you have faced a similar issue.
    http://i50.tinypic.com/28sv4vr.jpg This is the refrence to the screen shot from CC monitoring...

    Deepak,
    Please let me know the solution if you have faced a similar issue.
    Delete the Enqueue-lock related to the stopped Communication Channel. Refer SAP Note 821267.
    For the 7.1 versions, please note that the Lock Manager is under the /nwa/locks, or on the location "Availability and Performance Management -> Locks".
    @ Ramg
    If no files are placed in the source directory and the channel will keep try polling l!!! Place files in the source and check.
    Even if there are no files in the source directory, the 3 steps of - polling interval started, processing started and processing finished - should take place by the file channel.
    Regards,
    Neetesh

  • FCC configuration in Sender File Channel Without any key field name

    Hi Everyone,
    We have below flat file generated from ECC using standard tcode.
    The flat file is fixed length file and first record is header record followed by line items.
    There is no key field name in the file name.
    Can we read the file and convert into xml without any key field name?
    I want to understand if the FCC configuration for above file can be done without key name or not.
    Thanks,
    Vertika

    Hello,
    AFAIK, using FCC i really doubt u can convert file into xml.
    So technically, there are two options either read each line one by one and then do conversions in ur mapping or write a custom module which will read ur input file and convert into xml.
    Configuring Generic Sender File CC Adapter
    Thanks
    Amit Srivastava

  • Regarding file content conversion in Sender File channel

    Hi all,
    In one of my requirement, one file contains several details records as given below,
    101,india,1001,albert,517193
    101,india,1002,hilbert,517193
    101,india,1003,robert,517193
    102,nepal,1004,kiran,9234334
    102,nepal,1008,kiran,9234334
    102,nepal,1003,kiran,9234334
    103,nepal,1004,kiran,9234334
    103,nepal,1008,kiran,9234334
    103,nepal,1003,kiran,9234334
    i want to send all the records which starts with 101 to one function module and all records which starts with 102 to another function module and all records which start with 103 to some other function module. In my sender channel i am planning to use
    101, 102, 103 as key field values to read them into 3 different structures.
    like Recordsset structure =  detail1,, detail2,,detail3,*.
    Details1.keyfieldvalue = 101
    Details2.keyfieldvalue = 102
    Details3.keyfieldvalue = 103
    Will this idea work out??
    Thanks,
    Balu

    Hi Balu,
    Yes u r correct, u can access the records by setting the key field value as u mentioned.
    But other way is also by,
    access the all records as similar one, so no key field value.
    the whole record as a single element.In the mapping u have a string function called StartsWith.
    In mapping u can specify if the incoming record starts with 101 then map it to FM1(Fumction Module 1).
    If the record starts with 102 map it to FM2......
    This will be very simpler i feel...
    If i am nt clear pl do post the problem in detail.
    Babu

Maybe you are looking for