Error in File to File scenario

Hi All,
im trying out the file to file scenario [binary file using file content conversion]from SDN Wiki:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&
On the runtime workbench, adapter engine is in red/error status due to error in the receiver comunication channel.
The sender communication channel is working fine. During testing, my file is being picked up and deleted(processing mode set to delete).
I am able to see the msgs in sxmb_moni and in Message Monitoring, the status is delivered.
However, the receiver channel does not show any error msgs at all.
Yday when i tested , i got the foll error msg:
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'EMP.Contacts.fieldFixedLengths' or 'EMP.Contacts.fieldSeparator' is missing
However tdy i dont see any new error msgs during testing (no changes made to the recvr channel).
Given that the sender communication channel is wrking, can i safely assume that file adapter is wrking fine. If not, how do i check the status of the file adapter [in RWB, i can see the file adapter  and various other adapters(with a grey diamond icon next to them). how do i interpret the status of the adapter?
Would really appreciate if anyone can advice on how to troubleshoot this?
Many thanx!
cheers
Prachi
I hv tried doing a full cpa cache refresh.

Hello Prachi ,
I thinks its because of receiver File Processing Parameters,as you are considering here File Content Conversion.
If your structure is like this
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Proveedor_100011 xmlns:ns1="http://sap.com/xi/webservices/buyordint">
<config>
<directory>c:/tmp</directory>
<filename>dynamicFile3.txt</filename>
</config>
<root>
<string>Header;423423</string>
<lines>
<value>LINE;</value>
</lines>
</root>
</ns1:Proveedor_100011>
Then your content conversion is -
RecordSet Structure: config,root
root.fieldSeparator = ;
root.endSeparator = 'nl'
config.fieldFixedLenghts = 0
config.fixedLenghtTooShortHandling = CUT
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
With Regards,
Raju.
Please give points if useful.....

Similar Messages

  • Error in Idoc-XI-File scenario

    dear all,
    i am doing one Idoc to Xi and then to a flat file scenario. i have created one BS of type 3rd party for receiver and ont BS of type Web as ABAP. Then I created one namespace and import the Idoc type there. I have not created any DT, MT, MI, MM. I have created one interface Mapping where both sender & receiver has same structure & I have selected there mapping type of ABAP-Class with one Z program name.
    Then, in ID, I created two CC channel one as receiver of File type & second sender as Idoc type.
    Now, the thing is tht I am not able to get the file at the receiver end. Can anybody help me tht where I am doing an error?
    Warm Rgards,
    N.Jain

    <i>Then, in ID, I created two CC channel one as receiver of File type & second sender as Idoc type. </i>
    >>
    you dont need a Sender IDoc channel to be configured.
    <i>Now, the thing is tht I am not able to get the file at the receiver end. Can anybody help me tht where I am doing an error?</i>
    >>>
    1. what does it say in SXMB_MONI ? Has the IDoc come into XI ?
    2. In communication channel monitoring what is the error for the recv. file adapter

  • Message has error status at outbound side File To Idoc Scenario

    hi ,
    In my File to Idoc scenario , when i go to sxmb_moni , i found that its showing red flag at Outbound Status Tab and showing message "Message has error status at outbound side".
    When i go to IDX5 and and select my idoc and click on Transaction Id it shows "Password logon no longer possible - too many faile" .
    Please suggest what may be the problem ?
    Regards,
    Rohit

    1. First check the RFC destination name used in receiver Idoc adapter communication channel.
    2. As i said earlier, in sm59 transaction in XI gui, u can check same rfc destination under type 3. There check the logon credentials and the username.
    3. Now goto the R3 system GUI and check in su01 that same user is locked or not. If locked unlock it.
    4. And if u change the password of that user, then do the similar change in XI -> sm59 -> rfc destination logon credential
    Regards,
    Prateek

  • Error in File to IDOC Scenario

    Hi,
    I have File to IDOC scenario.
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Despite of this error in sender channel I am receiving the message in XI.
    But in XI also it throws error :
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    Any help on this ?
    Thanks,
    Vikas

    Hello Vikas,
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Check your flat file structure whether the key field you have chosen is appropriate and also recheck the FCC details whether you have assigned the value for the key field i.e.  keyFieldValue.
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    regarding the above error refer this
    https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
    Regards,
    Prasanna

  • Error in message Mapping(file to file scenario)

    Hi friends,
    In file to file scenario i am getting error like this while activating standard change list in IR.
    Activation of the change list canceled Check result for Message Mapping MM_file2filejuly27 | URN:file2fileJuly27.com: 
    Starting compilation 
    Compilation complete
    Check result for Software Component Version praba.com | PRABA.COM | 2007 | 0: 
    The standard error type ExchangeLogData is not defined for the namespace URN:file2fileJuly27.com  
    Save the software component version definition again. The object is then saved automatically
    could you help me out how to correct this error?

    Prabha,
    You should  not delete any existing standard  Data types provided by SAP.  ExchangeLogData and  ExchangeDaultData are standard data types get created when you create new namespace.
    If you have already deleted then copy them from other Namespace to your namespace. Activate your default data type first and then your objects.
    Hope this will solve your problem.
    Nilesh

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <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="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Error while doing File to File Scenario

    All,
    I am trying a simple file to file scenario - where xi picks up the file from a location and maps the message and dumps it in another location.
    I am Getting the below error while doing the same .........
    Time Stamp Status Description
    2009-03-30 14:30:24 Success Channel Test_send_cc: Send binary file  "d:\input\input.xml". Size 203 with QoS EO
    2009-03-30 14:30:24 Success Application attempting to send an XI message asynchronously using connection AFW.
    2009-03-30 14:30:24 Success Trying to put the message into the send queue.
    2009-03-30 14:30:24 Success Message successfully put into the queue.
    2009-03-30 14:30:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2009-03-30 14:30:24 Error Attempt to delete file "d:\input\input.xml" after processing failed. Retry
    2009-03-30 14:30:24 Success The message was successfully retrieved from the send queue.
    2009-03-30 14:30:24 Success The message status set to DLNG.
    *+2009-03-30 14:30:24 Error Transmitting the message to endpoint http://filip:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.*
    2009-03-30 14:30:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Mar 30 14:35:24 GMT+05:30 2009.
    And i cant see the meesages using the SXMB_MONI trasaction
    please help me resolve ths issue
    Regards,
    Mahesh.
    Edited by: mahesh uma on May 3, 2008 2:12 PM

    Hi Uma,
    Go through this links::
    Hope these links are useful to you..
    Urgent: Message not transmitted from AFW to Integration server
    Error with huge file
    File to JDBC error
    Thanks,
    Satya Kumar..

  • Error in File-PI-Idoc scenario

    Dear All,
    While working on File-PI-Idoc scenario, I am getting the error as
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3>(See attachment HTMLError for details)</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have checked various other posts on the same error but still I am not able to resolve this.
    Please help me in resolving this error.
    reg,
    nj

    Nishu,
    Please check whether you have assigned the following roles to the particular user you are using for data communication.
    Roles:
    SAP_XI_IS_SERV_USER,
    SAP_XI_APPL_SERV_USER
    Regards,
    Sugata

  • Error in FILE 2 Proxy Scenario

    Hi All,
    I am doing File to Proxy Scenario i am getting following error
    Could any one provide the solution for this.
      *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Call Inbound Proxy*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
      <SAP:P1>ifmmessif</SAP:P1>
      <SAP:P2>MI_Emp_Sender</SAP:P2>
      <SAP:P3>Namespace</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_Emp_Sender, request message, namespace )</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Thanks in Advance
    Mahesh
      </SAP:Error>
    Edited by: Mahesh Reddy on Jul 10, 2008 12:47 PM

    Hi Mahesh,
    1) Use SPROXY transaction.
        Menu-> Proxy -> Activate All.
    2) check in the interface determination if u are using correct
    inbound interface.
    3) If this if fine....try deleting all proxy objects of the interface
    and create new.
    Regards,
    Praveen K

  • Error handling in File - XI - SOAP scenario without BPM

    Hello!
    We have a File -> XI -> SOAP scenario without BPM. The problem is that if the Web Service sends back an error XI tries to reprocess the same message again and again instead of taking the next one.
    We do not want set the retry interval to NULL because most error cases are temporary connection problems and then also those messages would not automatically be reprocessed any more.
    We also have to use BE instead of EO, otherwise the Web Service will not return a response. But we need the response to be sure that the processing was successful. The message volume in this scenario is quite high and we do not want to use BPM only for the error handling.
    I know that from SP19 some additional adapter modules are available for async - sync scenarios without BPM. I tried to configure it like described in File - RFC - File without a BPM - Possible from SP 19. but it did not solve the problem. Does anybody have any other ideas? Thanks.
    Regards, Tanja

    Hi Tanja,
    >>>The volume is 3000 messages/day on business days and 700 messages/day during weekends but the traffic will increase in the future
    I think, you should check that out. It is assumedly only 2 days work to build a scenario:
    IDoc -> BP
    BP <-> SOAP/HTTP
    BP -> IDoc (Acknowledgement)
    In the process you need a condition branch, where you decide success or not. You need 2 Interface Mappings for filling the ALEAUD.
    Just send 1000 IDocs to the Test-XI and look to performance monitoring at Runtime Workbench, to find out, how many message will be processed in one hour. Assumedly 3000 and more per day should be possible. The advantage would be to reduce number of systems (no file system) and messages (better monitoring) and using the standard (better maintenance).
    >>>So you are suggesting I should use HTTP adapter and then add the SOAP header manually in a mapping?
    Yes, build the SOAP envelop during the mapping. Most easy is to use XSL or, if your mapping is ready, an additionsal XSL. You can put the error into the Acknowledgement to see it in ERP transaction WE02.
    Filling of ALEAUD fields:
    E1ADHDR/MESTYP: original message type
    E1ADHDR/E1STATE/DOCNUM: original IDoc number
    E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
    E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
    I ve done such a scenario several times. That works without any problems.
    Regards,
    Udo

  • Error: 1:n multi-mapping using BPM for file to file scenario

    Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
    When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
    I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
    Here is my design and configuration.
    IR
    Data Type: DT_file_split -> for both input and output file
    Message Type: MT_file_split_sender, MT_file_split_receiver
    Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
    Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
    Interface mapping: OM_file_split
    u2022     Source = SI_file_split_out
    u2022     Target = SI_file_split_in
    u2022     Mapping Program = MM_file_split
    BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
    ID
    Import my Integration process
    2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
    2 Receiver determination:
    u2022     Source system to BPM using interface SI_File_Abs_source
    u2022     BPM to target system using interface SI_File_Abs_target
    1 Interface determination:
    u2022     from source system to BPM
    u2022     Sender interface: SI_File_Split_Out
    u2022     Receiver interface: SI_file_abs_source
    1 Sender Agreement
    u2022     Commu. Component: Source System
    u2022     Using interface: SI_File_Abs_source
    u2022     Sender Communication Channel: CC_File_Split_Sender
    1 Receiver Agreement
    u2022     Sender Communication Component: BPM
    u2022     Receiver Communication Component: Target System
    u2022     Receiver Interface: SI_File_Split_In
    u2022     Receiver Communication Channel: CC_File_Split
    Anyone know how to fix this?
    Thanks,
    Pavin

    Hi,
    Yes, thats the problem.
    You are creating file from test tab of  1..N mapping .
    In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
    Messages
          Message1
               MessageType
    When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
    So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
    <xml......>
    <Messages>
    <Message1>
    <MT_...>
    </MT_...>
    </Message1>
    </Messages>
    This should solve your problem.
    Regards,
    Sami.

  • Error in File-XI-JDBC Scenario

    Dear All,
    I am working on File-XI-JDBC scenario which is using stored procedure (SP_UPDATE). When I am processing the file it is giving me the following error in the message monitoring:
    Unable to execute statement for table or stored procedure. 'SP_UPDATE' (Structure 'Statement') due to java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'access' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)
    Please guide me what is this error all about and how this can be resolved.
    Warm Regards,
    N.Jain

    Dear All,
    Now, I am able to update the SQL Server database but only one record is coming at the target. Can anyone please guide me what is he error in my Data types o in my mappings. Following is the source Data Type:
    MT_TEST_FILE_T179T      1..1     DT_TEST_FILE_T179T
         ROOT                         1..unbounded
            PRODH                    1..unbounded     xsd:string
            VTEXT                      1..unbounded     xsd:string
            DATUM                     1..unbounded     xsd:string
    Following is the target Data Type:
    MT_TEST_JDBC_T179T      1..1     DT_TEST_JDBC_T179T
         STATEMENT                1..1
            SP_UPDATE             1..1
                action                    required     xsd:string
                TABLE                  1..1                     xsd:string     
                    PRODH             1..unbounded     xsd:string
                       type               optional            xsd:string
                    VTEXT               1..unbounded     xsd:string
                       type               optional            xsd:string
                    DATUM              1..unbounded     xsd:string
                       type               optional            xsd:string
    Following are the mappings done:
    EXECUTE-->@action
    storedprocedurename-->TABLE
    PRODH-->PRODH
    VTEXT-->VTEXT
    DATUM-->DATUM
    CHAR-->@type.
    With this stucture and mapping i am able to insert only one recored in the database even though there are multiple entries in the file.
    Please guide me in solving this error so that multiple records can be inserted.
    Warm Regards,
    N.Jain

  • Strange error in File-XI-JDBC scenario

    Dear All,
    I am working currently on File-XI-JDBC scenario and is facing with a stange problem.
    I have writtern one simple query which is downloading the data from R/3 and is sending to XI Server local folder. From that folder File is getting picked by XI and is posted into SQL database.
    Now, when I am generating the required file from R/3-DEV server then my scenario is getting executed successfully but if file is generated thru R/3-QAS Server then the scenario is giving the following error "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. 'MARA_UPDATE' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Error converting data type nvarchar to smalldatetime."
    Also, if I am copying the complete data from the error file and paste it into a new file and executing again then the scenario is executing correctly.
    I have checked the payload and didn't find anything there.
    Kindly help me in solving this error.
    Regards,
    N.J

    Hi Farooq,
    Thanx for your reply. But this scenario is running when we are sending the file from R/3-DEV Server and also if I am copying all the contents of the error file and pasting it into a new file and then processing the file then the scenario is getting executed and I am getting no error with the same data which I have processed earlier and has thrown error.
    Reg,

  • Regarding error in XI File to IDoc scenario

    Hi,
    when i was  doing file 2 idoc scenario i got this error "Unable to convert sender service to an ALE logical system". please resolve my issue as early as possible.

    Uday,
    Please go through these threads:
    Unable to convert the sender service to an ALE logical system
    How to convert Sender Party/Service  to a Logical System?
    Unable to convert the sender service to an ALE logical system
    BR,
    Alok
    Edited by: Alok Sharma on Jan 31, 2008 12:39 PM

  • Idocs with errors added status-56 in file to idoc scenario- how to rectify

    hi ,
    in file to idoc scenario when i m sending the file from ftp server to IS Retail,  file is successfully getting processed but the idoc is showing error ,when we see using WE05 tcode or BD87 , pl sugggest how to rectify it to make the status 53

    Hi,
    Have you configured the partner profile details? check these steps..
    1. In the receiver system you must configure the partner profile for your sender system in WE20.
    2. Add the IDoc message type to inbound parameters of the partner profile and configure the appropriate process code.
    2. Fill the Logical system name for your senderservice-->Adapter Specific identifiers in ID.
    <a href="/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi File-to-IDOC Scenario</a> By Venugopalarao
    <a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi Steps for Posting IDOC's</a> By Ravikumar Allampalam
    Regards
    San

Maybe you are looking for