Error in FCC-Sender Channel.

Hi Experts,
I have configured the following FCC in Sender communication Channel.
DT_HEADER.keyFieldValue     =1
DT_HEADER.fieldNames =     KEY,FILENAME
DT_RECORDS.keyFieldValue=     2
DT_HEADER.fieldNames=     KEY,AMOUNT
DT_TRAILER.keyFieldValue     =3
DT_TRAILER.fieldNames=     KEY,SUM
DT_HEADER.fieldSeparator =     ,
DT_RECORDS.fieldSeparator=     ,
DT_TRAILER.fieldSeparator =     ,
DT_TRAILER.endSeparator =     'nl'
DT_RECORDS.endSeparator=     'nl'
DT_HEADER.endSeparator =     'nl'
My sender text file is
1,RDFILE
2,100
3,100
In RWB i am getting the following error message,
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'DT_HEADER.fieldFixedLengths' or 'DT_HEADER.fieldSeparator' is missing Consistency check: no. of arguments in 'DT_HEADER.fieldFixedLength' does not match 'DT_HEADER.fieldNames' (0 <> 2)
i need to get  Sender XML structure as follows
<DT_HEADER>
      <KEY/>
      <FILENAME/>
   </DT_HEADER>
   <DT_RECORDS>
      <KEY/>
      <AMOUNT/>
   </DT_RECORDS>
   <DT_TALER>
      <KEY/>
      <SUM/>
   </DT_TALER>
i dont know where i did the mistake can any one help me to solve this issue.
Regard's
Preethi.

Hi
You need alter Data type structure first then do file content conversion
DT_Record
    <Header>
          <Key>
          <FileName>
   </Header>
   <Trailer>
</trailer?
then add
HEADER.keyFieldValue =1
HEADER.fieldNames = KEY,FILENAME
RECORDS.keyFieldValue= 2
It works
Regards,
Raj

Similar Messages

  • Error in mail sender channel : invalid sequence number

    Hello all,
    I'm having the following issue.
    I'm using the mail adapter to get messages from a mail server, which are attached to the mail.
    This interface is already productive, and is working fine most of the time.
    Only frequently I get the following error, which can be found in the java log.
    exception caught during processing mail message[630];
    java.io.IOException: the specified message not found: -ERR invalid sequence
    number
    This error seems only to appear when there are a lot of mails to be fetched.
    All the mail is read into PI and processed succesfully, only I also get a lot these errors.
    Does anyone know what causes this error?
    I also don't know where this sequence number is coming from, and what's the meaning of this.
    Is it possible it's trying to read the same mail more then once?
    The settings in the mail sender channel are:
    - transport protocol : POP3
    - message protocol : XIPAYLOAD
    - Use mail package : enabled
    - content encoding : none
    - Keep attachments : enabled
    - QOS : exactly once
    - Set adapter specific message attibutes : enabled
    The PI version is 7.01
    Thanks a lot in advance for the replies on this question.
    Kind regards,
    Marco van Iersel

    Hi
    Well we have used it with POP3 and it is working in the way as it should be.
    This feature is recommended  by sap when the number of emails to be read is large.
    You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
    Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
    That's why I have asked you to give it a try.

  • Random error IN RFC sender channel

    Hi all,
             Please note that in two different scenarios Same busness system is used but different Sender RFC channels and different Functional modules. In spite of this a random error is occuring. At times scenario works fine and some times it gives error.
    "Wrong Sender Agreement:The Sender agreement doe
    ot have channel Func_sender_cc"
    No error report in SXMP_MONI.
    Any clue please.
    Regards
    venkat

    Hi,
    Now it is clear very much there is no need of registaring programID specifically any where. Any programID first mentioned in Comunication channel and actived and then defined rfc destination using SM59 with same programID gives successfull test result.
    Also for different RFC senders Different ProgramID shall be used to avoid the type errors faced by me.
    Hope this helps all
    cheers
    Venkat

  • Error with Soap sender channel

    I have a scenario SOAP->Proxy ..whenever I send a message through SOAP its giving error as below:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection SOAP_http://sap.com/xi/XI/System is currently not started.
    Please help me in rectifying this...

    Kiran,
    strange thing is that when we remove the standard module from the channel then its workign fine..
    Well, you can try couple of things more -
    1. Re-start the java engine.
    2. If step 1 doesn't work, delete the channel -> activate the change list -> create a new channel and try again.
    I feel that after step 1, it should work. Let us know how it goes.
    Regards,
    Neetesh

  • EOIO JMS Sender Channel in Error

    Hi All,
    We have a error on JMS sender channels in Pre-Production environment.
    Let me explain you the problem.
    On Dev and QA there is no cluster environment. On Pre-production we have 3 clusters. We tested this Sender JMS channel on Dev and QA without giving a Cluster ID and it worked.
    Now on Pre prod, we had not mentioned the cluster ID and when messages were picked from the Queue, the channel went into a error mode stating the " Channel is locked due to EOIO".
    Then when we added the cluster ID to the channel, in RWB the channel goes into inactive mode. The status is " The EOIO channel has been made inactive on Node 206485150"
    The node mentioned in channel is 251902150. This means that the other node has been made inactive. That sounds logical as it is not supposed to process the message.
    But the node which is mentioned in the channel has also gone into error mode.
    " Error creating JMS connection. failed to create MQManager for ' Hostname:Channel name'". An MQException occured: Completion code 2, Reason 2009
    MQJE016: MQ queue managerclosed channel immediatly during connect. Closure reason= 2009, and erro code as MQJMS2005
    After this all other sender JMS channels have gone into the same error mode on this node.
    We have stopped the JMS service and started it. We also restarted the XI server but no change was encountered.
    Please let us know whether JMS sender with EOIO works with cluster ID as I'm not able to find any document which says that JMS with EOIO works succesfully.
    Please also let us know how to overcome the error on this node.
    Thank you.
    Regards,
    Sarvesh Desai

    Check if there is any unprocessed message stuck in the queue:
    /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework

  • Sender Channel - File Archiving - No Create Target Directory option

    Hello,
    We are getting an error because our Sender channel is always trying to create the target directory when saving a file in our archive location. 
    Using a Receiver Channel the option "Create Target Directory" exists, so I can disable that option.  Is there a way to disable that option on a Sender Channel when archiving?
    Thanks,
    Matt

    Reviewing the settings available from Help.sap.com says:
    "Configure Sender File Adapter"
    Under Processing Mode, specify what is to happen to files that have been processed successfully.
    u25CB       Archive
    u25A0       To add a time stamp to the file name, select Add Time Stamp.
    The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.
    u25A0       Enter the name of the Archive Directory.
    I do not see anything in here that helps clear up this issue.
    Also, I have given a target directory.  The problem is it still tries to create that directory. 
    Thanks,
    Matt

  • Error in Receiver Communication Channel in FCC

    I have a simple scenario of Proxy to File. I have to just one field in complete row. So my structure is as below : MT_RecordIB -> Records.  So my XSD looks like this :
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://XXXl.com/INF31018/SAPSerOrd_DaysIn" targetNamespace="http://hnwl.com/INF31018/SAPSerOrd_DaysIn">
       <xsd:element name="MT_RecordIB" type="DT_RecordIB" />
       <xsd:complexType name="DT_RecordIB">
          <xsd:sequence>
             <xsd:element name="Records" type="xsd:string" />
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I have used FCC and the parameters are :
    Recordset Structure                                  Records
    Records.fieldSeparator             'nl'
    But I am getting following error in Receiver Communication Channel :
    Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_RecordIB' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.21)
    Thanks,
    Pankaj Singh

    Hey Pankaj,
    Your content conversion parameter might be configured improperly.
    Refer this blogs
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Refer the following threads for your problem
    [ Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'|Unknown structure 'ns0:MT_dbglgtr_FileName' found in document']
    Rgds
    Ramesh

  • Error in sender channel:

    When activating changes in  IR I used to get system message as NoClassDefFoundError.Even then the componenets used to get activated.
    Initially every thing was working fine with the sender channel.
    It was successfully picking up the file and sending the same to receiver channel.
    Suddenly after a day I sarted getting this error (below).And the file was not getting picked up.
    <b>Error in channel</b>Error: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/aii/af/app/mp/impl/ModuleProcessorCategories; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/aii/af/app/mp/impl/ModuleProcessorCategories
    <b>sxmb_moni message:</b>
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    There was no such error: And I had not made any changes since it was working fine.
    Is this error because of the message I used to get in IR.?Was might be the cause

    Hi,
    Please check you message first properly all conditions supporting or not.Is message is having any exceptional chars , and Check whether your are using Async or Synch communication , respectivly the sender and receiver  communication mode supporting both sides. and check your J2EE is working fine or not, Check your interface is having the module processors in sender side/receiver side is yes , those are working fine or not , those are properly imported properly or not.
    these diffects may not effect the activation of components.
    Also check your receiver Business system is working fine or not
    And also check your receiver agreement is configured,receiver determination and interface determination all are refered same business systems or not.
    ,please see the following threads
    Error RCVR_DETERMINATION
    No Receiver Determination
    Re: NO_RECEIVER_CASE_ASYNC
    XPATH and RECEIVER DETERMINATION
    XI 3.0 No receiver could be determined
    Regards
    Chilla..

  • Error in SOAP Sender Communication Channel

    Hello Gurus,
    I am trying for a SOAP (Axis) -> PI -> IDOC scenario and getting an error while sending message to SOAP Channel.
    Message structure used
    <?xml version="1.0" encoding="UTF-8"?>
    <MaterialData>
    <field1>value</field1>
    more fields
    </MaterialData>
    Basically a XML message.
    I am getting below error message for Axis (channel monitoring):
    MP: exception caught with cause org.xml.sax.SAXException: Bad envelope tag: MaterialData
    Can you please let me know what should be the message format when testing Axis? I do not intend to use any SOAP envelope.
    I have already referred: Re: SAP PI 7.0 Receiver SOAP Axis (Bad envelope tag: html)
    Please help.
    Thank you!

    Hello,
    Can you please let me know what should be the message format when testing Axis? I do not intend to use any SOAP envelope.
    Correct me if I'm wrong, but I think you will only be able to plain message to the Axis sender when using REST. See SAP Note 1039369 FAQ XI Axis Adapter, under Sender Adapter General Question 35.
    35. Can I post a plain no-soap request (REST) to the sender adapter servlet?
    Yes. You need to include a query parameter rest in the request URL, as http://host:port/XIAxisAdapter/MessageServlet?...&rest. For the availability of this feature, refer to Note 1448849.
    All the other messages require a SOAP Envelope.
    Hope this helps,
    Mark

  • HTTP Error 501 with SOAP Sender channel

    Hello,
    i've am simple Question:
    I want to call the following SAP XI SOAP Sender channel "MySoapSenderChannel":
    XI-Parameters:
    namespace: <myInterfaceNamespace>
    Interface:   <myAsynchInterface>
    QoS: Exactly Once in Order
    Queue: MY_QUEUE
    We do not care about the Response - so the processing is asynchron.
    Thus my interface mapping maps to asynch interfaces. The desitnation
    is an ABAP Proxy. The configuration has been done and tested.
    Here my question:
    according the documentation, the URL has the following syntax:
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel.
    In our case:
    http://<myHost>:8002/XISOAPAdapter/MessageServlet?channel=:MyService:MySoapSenderChannel.
    But when i generate a WSDL for the interface out of the Configuration, the address is:
    <soap:address location="http://<myHost>:8002/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=MyService&amp;Interface=...
    and so forth.
    But was is the difference between these 2 possibilities?
    Why do i get HTTP Error 501 when i use the URL from the documentation (the first one)?
    Thanx in advance
    Gunnar

    Gunnar,
    I will suggest you to go through it once to check all your connection.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Regards,
    Sarvesh

  • FTP Sender Channel error " java.lang.StringIndexOutOfBoundsException""

    Dear All,
    Scenario:File to IDOC
    File Type: Fixed Length
    I am getting below error in Sender Channel.
    Error "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'Item':java.lang.StringIndexOutOfBoundsException"
    Note:We are using header and Item.Header is not repating and Item should repeate N times.we are using the KeyField Name for both header and Item.
    Kindly suggest me the Parameter to use for the sender channel.
    Edited by: manikandansit on Jan 17, 2011 12:53 PM

    Dear All,
    Thanks for your suggestions.
    the issues has been resolved.
    there are so many spaces between the each field data in the source file and i was using the value as SPACE for the parameter Name.fieldSeparator and it taken each space as a data or something else. finally i had removed this parameter and Interfaces works fine now.
    Thanks

  • File not able to pick while using FCC at sender channel

    Hi Experts ,
    we design one scenario that we need to process flat file to ECC. So we have used FCC at sender channel.
    while we testing ,  only its showing as successfull logs in channel , but we not able to pick the file.
    could you please check the below details and let me know it i missed any thing.
    PFB file which  need to pick.
    PFA scrren shot of FCC
    26.Jun 2014 #123
    Country|Currency|Amount|Code|Rate
    Australia|dollar|1|AUD|18.989
    Brazil|real|1|BRL|9.119
    Bulgaria|lev|1|BGN|14.037
    Canada|dollar|1|CAD|18.836
    China|renminbi|1|CNY|3.242
    Croatia|kuna|1|HRK|3.623
    Denmark|krone|1|DKK|3.682
    EMU|euro|1|EUR|27.455
    Hongkong|dollar|1|HKD|2.603
    Hungary|forint|100|HUF|8.916
    IMF|SDR|1|XDR|31.154
    India|rupee|100|INR|33.540
    Indonesia|rupiah|1000|IDR|1.668
    Israel|shekel|1|ILS|5.883
    Japan|yen|100|JPY|19.824
    Lithuania|litas|1|LTL|7.952
    Malaysia|ringgit|1|MYR|6.272
    Mexico|peso|1|MXN|1.550
    New Zealand|dollar|1|NZD|17.678
    Norway|krone|1|NOK|3.286
    Philippines|peso|100|PHP|46.019
    Poland|zloty|1|PLN|6.627
    Romania|new leu|1|RON|6.258
    Russia|rouble|100|RUB|59.842
    Singapore|dollar|1|SGD|16.137
    South Africa|rand|1|ZAR|1.894
    South Korea|won|100|KRW|1.986
    Sweden|krona|1|SEK|2.989
    Switzerland|franc|1|CHF|22.569
    Thailand|baht|100|THB|62.119
    Turkey|lira|1|TRY|9.469
    United Kingdom|pound|1|GBP|34.361
    USA|dollar|1|USD|20.179
    FCC details
    channel logs.
    regards
    raju

    Hi Peddaraju,
    Cross check correct source directory and file name is maintained in the sender file communication channel. If everything is fine try to restart the XPI File Adapter service in NWA.
    Troubleshoot as suggested in the below thread:
    File Adapter in PI not reading file from file system.
    Regards,
    Krupa

  • JMS Sender Channel: Linked Error

    Hi All,
    I'm working on a synchronous JMS to Proxy scenario. I have created Sender JMS channel. In RWB, the status of the channel is error.
    The error is:
    Channel Error occured. Detailed error (if any): JMS error: MQJMS1024: session closed, Linked error: Error code: MQJMS1024
    This channel was working fine few weeks back. Since last week we are facing this issue.
    I deleted the communication channel and created a new one but the error persists.
    We also tried by restarting the J2EE engine but still no change.
    Also gave a try by restarting the Queue manager still there was no change.
    Please provide your suggestions to solve this issue.
    Regards.,
    Sarvesh Desai
    Edited by: Sarvesh  Nispat Desai on Oct 27, 2009 12:37 PM

    Hi Sarvesh,
    *Are you using Websphere MQ JMS server? *
    If yes check this note Note 1278718 - IBM MQ Connectivity Issues with JMS Adapter
    also this error requires restarting the session
    ftp://ftp.software.ibm.com/software/mqseries/fixes/wbimbfev50/fixpack03/C3466662.pdf
    Regards
    Suraj

  • JMS sender channel error

    hi,
    i am using pi 731 single stack.
    i have a jms sender channel. The jms sender channel is connecting to Webshere MQ version 6.0.2.10.
    the error is -
    Error creating JMS connection : The JMS provider gave the error message as MQJMS2005:failed to create
    MQQueueManager for x.y.com:QMgr1 MQJE001 completion code 2,Reason 2059,and the error code as MQJMS2005
    What could be the issue. The JMS drivers are successfully installed.

    Hi,
    As Indrajit said seems to be a JMS configuration problem. Check this thread in stackoverflow with the same error: java - Always receive MQJE001: Completion Code &amp;#39;2&amp;#39;, Reason &amp;#39;2059&amp;#39;. ERROR - Stack Overflo…
    Regards.

  • Error Re-using Sender SOAP Channel

    Hi,
    I have a requirement to send multiple messages to PI using same SOAP Sender Channel; I referred to help.sap.com and found that there is no restriction in re-using a SOAP Sender Channel.
    However when I sent a message using SAP SOAP client, namespace for soap envelope got added which is failing the messages in PI.
    Correct message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <ConsumerData>
      <UserId>12345</UserId>
      <AccountData>9561234</AccountData>
    </ConsumerData>
    Incorrect message (in SXMB_MONI):
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <ConsumerData xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <UserId>12345</UserId>
      <AccountData>9561234</AccountData>
    </ConsumerData>
    1) How to avoid getting the URL (xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/") in the message?
    2) Is it really possible to re-use the SOAP Sender Channel to get different types of messages (from same sender party & service)?
    I did make use of Do Not Use SOAP Envelope in the channel and &nosoap=true in URL; but no luck.
    Please help. I need to get this approach working
    Thanks
    Pankaj

    >>1) Use one Sender channel per source system; so less number of objects.
    Yes, you can reuse one sender channel for many WSDL scenarios.
    >>2) to keep the PI URL common for one source system; PI URL dependent only on Sender Party, Sender Service and Sender Channel, no mention of Sender Interface Name in the URL I am using the format http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c (Note - 856597).
    I hope I can achieve the requirement in point 2 without any issue.
    This is not possible.  WSDL URL will be different for every interface.  Because it is also specific to sender interface and sender interface namespace.  When you create you have to specify these variables too.
    Example:
    http://host:port/XISOAPAdapter/MessageServlet?channel=:BC_TEST:CC_SOAPCHANNEL&interface=SI_TEST&interfaceNamespace=http://test/TRI_DatabaseLookup
    When you create initially you input only first
    http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c
    and subsequent screen you will need to input sender service interface and interface namespace.
    Hope that helps.

Maybe you are looking for

  • KMS using wrong video output

    Hi all, I have a Zenbook Prime and used it in dual screen mode via its HDMI output yesterday with xrandr. I unplugged the cable, conditnued using it, stopped it. Now when I start it, as soon as initramfs finished loading, Linux uses the HDMI output t

  • F110 Transaction workflow

    Hi guru's, Our customer wants the payment proposal to be approved and after this approval (2 steps (Two level approval process is required)  the payment run to be carried out. I have checked the workflow framework WS00400012 and the standard sub-work

  • Cross Company - STO

    Hi All, I am facing a error in Cross Company - STO. After creating Purchase Order and releasing it on the vendor (which is a plant belonging to another Company Code), during PGI it is throwing an error, " Purchase Order 45......... does not contain i

  • Can,t Find My Drives

    When I boot up my computer, I cant see The Mac HD On my desktop. It is working sluggishly. This happened after a power outage. Does anyone know what I can do to see the drives on the desktop

  • IDOC Port defnition *** Urgent***

    Hello Gurus, Could you provide me steps on how to define port and partner profile for IDOCs... Any help would be highly appreciated.. and points will be rewarded generously.. Thanks and Regards, Pavan P.