Error in sending file using FCC

Hi all,
i am doing the file content conversion scenario from saptechnicalcom
my message type is as follows:
MT_File_Cont_Conv
     Record
        Emp_Header
          Key
          Emp_Id
          Emp_Name
File is not picked up by the sender file adapter and in RWB communication channel monitoring i am getting the following error:
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'Emp_Header.keyFieldValue': no value found
anybody plz provide me some input to rectify this error
regards
sandeep sharma

>
sandeep sharma wrote:
> hi
> FCC parameters are as follows
>
> Document Name:                    MT_File_Cont_Conv
> Recordset Name:                      Record
> Recordset Structure:                   Emp_Header,1
> Recordset sequence:                    Ascending
> Recordset per message:                 1
> Key Field Name:                         Key
>
>
>
>
> Emp_Header.fieldFixedLengths                   1,6,10
> Emp_Header.endSeparator          'nl'
> Emp_Header.fieldNames          Key,Emp_Id,Emp_Name
> Emp_Header.keyFieldValue                      1
> Emp_Header.keyFieldInStructure                 ignore
make sure there is no white space before or after
Emp_Header.keyFieldValue and also the value 1
Even a single whitespace can cause an issue

Similar Messages

  • Sender File Adapter FCC to Hierarchial MT Coversion

    Hi,
       I have MT with structure as follows
    Header               1..1
        F1          string  1..1
        F2          string  1..1
        SUB              1 to unbounded
           S11       string  1..1
           S12       string  1..1
    Can you anybody help me out how to convert the a CSV file to Convert the structure mentioned above using sender File Adapter FCC.
    Regards,
    Daniel.LA

    Hi,
    There is no suc h direct way to get the data from csv fiel with conversion.
    Either you can use JAVA Mapping for it or use the adapter module to read csv files.
    How to process CSV data with XI file adapter
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    "JAVA MAPPING", an alternate way of reading a CSV file
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    There is one way that you could bypass IR (Integration Repository) for any type of files, see below link
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    Making CSV File Lookup Possible In SAP XI !!!
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    This will help you
    Thanks
    Swarup

  • How do i extract Delimited falt file-Sender File adapter FCC Parameters

    Hello,
    I'm trying to extract data from a flat file. The file is built as tab delimited. I cant find the option of tab delimited in the XI Sender File adapter FCC Parameters. How do i extract tab delimited file?
    Please Advice,
    Rajesh

    HI,
    You can use Fieldseperator as '0X09'...
    Look at this blog...........you can solve this problem...
    NAB the TAB (File Adapter)                              
    Thanks,
    Madhu
    Edited by: Madhu sudhan Reddy on Jul 28, 2008 9:02 AM

  • Not able to send file Using FTP in SSIS 2005

    I am using SSIS 2005
    I am trying to send file to ftp server using FTP task in SSIS but i am getting following error.
    Error Message-:An error occurred in the requested FTP operation.
    Detailed Description-:550 /FileName.txt: Access is denied.
    RemotefilePath is /
    I need a advice.
    Thanks in advance.

    I got this error recently from the FTP task in SSIS:
         Unable to send files using "FTP".
    I had everything correct, by the book.  I was trying to send a file, but I got the same error when trying to receive a file. 
    I already verified that I could send the file via command line FTP, so the FTP was not "secure FTP" (which wouldda required FileZilla or WinSCP or something similar) and my credentials were fine. 
    But I still got the above error.  Heck, I was beginning to thing that the FTP task in SQL Server 2008 was broken and just couldn't send files.
    Well, this issue is now resolved.  The problem was in the
    destination folder.  I was assuming that the root folder for my FTP account held the files. 
    So I entered the destination folder as this:   
    /data_in/
    But... the FTP task sees the root folder as one up from that. 
    So I had to use my account name in the path... meaning I had to change the destination folder to this:    
        /myaccountname/data_in/
        (where "myaccountname" was my login to the FTP site.)
    I hope this post helps someone else.
    Donna

  • Error in file to file using FCC

    hey guys
    i m doin File to file scenario using FCC and getting the followin error in message mapping when i load the payload from SXMB_MONI
    23:43:10 Start of test
        Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
      23:43:10 End of test
    the payload is of the form
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:DT_sender xmlns:ns="http://thoughtbyte.com">
    - <Recordset>
    - <Row>
      <Name><?xml version="1.0" encoding="utf-8" ?></Name>
      </Row>
    - <Row>
      <Name>- <ns:DT_sender xmlns:ns="http://thoughtbyte.com"></Name>
      </Row>
    - <Row>
      <Name>- <Recordset></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><?xml version="1.0" encoding="UTF-8"?></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><ns:MT_sender xmlns:ns="http://thoughtbyte.com"></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Recordset></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Row></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Name>ewqe</Name></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Age>das</Age></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name><Dept>fggfgf</Dept></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></Row></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></Recordset></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name>- <Row></Name>
      </Row>
    - <Row>
      <Name><Name></ns:MT_sender></Name></Name>
      </Row>
    - <Row>
      <Name></Row></Name>
      </Row>
    - <Row>
      <Name></Recordset></Name>
      </Row>
    - <Row>
      <Name></ns:DT_sender></Name>
      </Row>
      </Recordset>
      </ns:DT_sender>
    any idea where the error might be?
    thanx
    ahmad

    hey guys
    i m still getting the same error,even though i have changed the payload
      <?xml version="1.0" encoding="utf-8" ?>
    <ns:DT_sender xmlns:ns="http://thoughtbyte.com">
    <Recordset>
    <Row>
      <?xml version="1.0" encoding="UTF-8"?>
      </Row>
    <Row>
      <ns:MT_sender xmlns:ns="http://thoughtbyte.com">
      </Row>
    <Row>
      <Recordset>
      </Row>
    <Row>
      <Row>
      </Row>
    <Row>
      <Name>dsfdf</Name>
      </Row>
    <Row>
      <Age>ghhg</Age>
      </Row>
    <Row>
      <Dept>gfgfg</Dept>
      </Row>
    <Row>
      </Row>
      </Row>
    <Row>
      </Recordset>
      </Row>
    <Row>
      </ns:MT_sender>
      </Row>
      </Recordset>
      </ns:DT_sender>
    i didnt knew why i waz getting <name></name> so i manually deleted them and also deleted the "-" and the pasted this in the file to be picked,file is pickin up but not being delivered and the error is still the same
    00:27:23 Start of test
        Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8)
      00:27:23 End of test
      thanx
    ahmad

  • Error in Receiver File adapter - FCC

    Got error message as "File Adapter Receiver Channel CC_OB_REQ: Not initialized - cannot proceed: null"
    My requirement is to send IDOC to file which consists of 4 fields, My target message interface is
    MT_REQ
      FILE_STRUC
        FILE_OP
           AAA (Field1)
            BBB(Field2)
           CCC(Field3)
           DDD(Field4)
    Output file should contain the above 4 fields with fixed lengths 20,1,1,2
    So I declared FCC in File Adapter  as
    I tried many options
    RecordSet Structure: MT_REQ,FILE_STRUC,FILE_OP
    FILE_STRUC.fieldSeparator - 'nl'
    FILE_OP.fixedFieldLengths - 20,1,1,2
    FILE_OP.fieldSeparator - 'nl'
    FILE_OP.endSeparator - 'nl'.
    Please let me know where is the problem?
    Thanks in advance,
    Krishna

    Hi Ramakrishana,
    In FCC fixed length file format when your XML payload is goes to Adaptor engine, it should contain all fields in XML. Otherwise its throw error in FCC channel. Please check receiver payload at SXMB_MONI or message monitoring of Run time work bench. In that payload you will find that some of the fields is not generated in target payload.
    Field in receiver payload is not generated means from sender payload corresponding field is not coming. As per my past experience this generally happens in IDOC sender.
    solution:- In message mapping in every field from IDOC to file use mapWithDefault node function with null value. Due to this though if any field do not generates in IDOC, corresponding field will generate in File Payload and it will not throw error in FCC.
    Regards,
    Prashant

  • System error when send file with Sender File Adapter

    Hi all,
    I have configured a "File To ABAP Proxy" scenario. After configuring, i executed a "Test Configuration" in Integration Directory and it's all OK. But this file unable to reach into ABAP Proxy Target. In the Runtime WorkBench\Message Monitoring,  I get an error message in below:
    Engine: Adapter Engine     
    Status: *System Error     *
    Start: 15.08.2008 14:04:01     
    End: 15.08.2008 14:19:01           
    Sender Service: BS_XI_SERVER     
    Interface Servic: urn://FILE_TO_PROXY
    MI_EMPLOYEE_OB
    In this case, I don't know why my Sender File Adapter is error and why status is "System Error" and why it can't reach into Target System. Can it concern a role user?
    ( For more clearly: I configured the source file and the path correctly. And i used the xml file with the content and the document name correctly. In general, the Sender Adapter File don't convert the sender file and its content is same as the Payload in the "Test Configuration", i think it is all OK.)
    Could anyone please help me to resolve this problem, anyone can explain this error, how can i resolve this error?
    Thanks a lot in advance,
    Vinh Vo

    Hi Chirag,
    1.I source structure is very simple as below:
    <ns0:MT_MATERIAL xmlns:ns0="urn://FILE_TO_PROXY">
       <MATERIAL>
          <WERKS>1000</WERKS>
          <MATNR>MAT00001</MATNR>
          <MAKTX>Chemical Material</MAKTX>
       </MATERIAL>
    </ns0:MT_MATERIAL>
    2. the Communication Channel Monitoring in Runtim WorkBench\Adapter Engine is OK for my Sender File Communication Channel, it's in Blue Light.
    However, i don't know what's FCC?
    Thanks and best regards,
    Vinh Vo

  • Archive file with errors in sender file adapter not working! please help!

    Hi Experts,
       I have a file to RFC scenario. the input is a XML file. I have setup the flag in sender file adapter channel for archiving the input files with errors. But it is not working.
    For testing I have used an invalid xML file for example without the main XML tag. I have also tested with a MSWORD file saved with.xml extension. But in both the cases the files are not getting archived.
    My archive location permissions are fine and in fact normal archive operation is happening. That is, if I select the processing mode as "Archive" and gave the Archive directory then files are getting archived. The problem is only with the "Archive faulty source files" option.
    What am I missing? DO I need to do some more configurations?
    What are the prerequisites if any for this option?
    How to test this?
    Please help me! I will be greatfull to you all!
    Thanks & Regards
    Gopal

    and go thru this links
    Creating a Single Archive of the Version Files
    http://help.sap.com/saphelp_nw04/helpdata/en/79/1e7aecc315004fb4966d1548447675/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/31/8aed3ea86d3d67e10000000a114084/frameset.htm
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Error in sender file adapter: source directory does not exist

    Hi,
    The PI system is 7.11
    I've created sender file adapter with following details:
    Transport Protocol : File System
    Source directory: /interfaces/In
    I checked in AL11 that this path really exists and it does. (I can even see the .txt file that should be processed.)
    But still i get in Communication Channel Monitoring the following error:
    "Configured Source directory "/interfaces/In" does not exist.
    (i also tried to give the source directory as "interfaces/In" and as "//interfaces/In" but still the same error.
    Any suggestions as to what is wrong?
    kr
    Robert

    Actually, Need to use forward slash (/) to separate directory names in accordance with the Java specification.
    But wanted to try if that works..
    Also check directory name , path again as this is case sensitive...
    --Divyesh

  • File to SOAP,error in sender file adapter

    Hi,
    I am doing a scenario FILE to SOAP where In file adapter I am using Quality od service as Exactly once in order.I am getting the below error.It works fine when I use QOS=Exactly once.Not sure why,can you guys please help me.Can we really use QOS-EOIO for sender file adapter,where exacly do we use it.
    Thanks
      <?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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Edited by: guest xi on Apr 16, 2008 11:55 AM

    Hi,
    Thanks for your replies guys.I diid give the queue name ,I dont know what is causing the error.Now even QOS=EO which was working fine before is throwing an error.I am using the same file name for both
    <?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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Sender File adapter FCC

    Hi
    I have an excel file which I save as a csv extension. If I use FCC in Sender File Adapter, I need to add a module in my communication channel. Can anyone provide me with that?
    Is this module generally deployed on XI server beforehand or do I have to write a java code and deploy it myself?
    I have already had a look at this blog
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    Vaibhav

    You will have to create a module in this case.there is no standard module available for this fuctionality as of now.
    Ref: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81 to help create a module.

  • 'Source Directory doesn't exist' error in sender file adapter

    Hi All,
    I m getting the error 'Source Directory doesn't exist' in sender file adapter.
    The source file directory doesn't exist in XI Server. Its in a different system.
    gone through other sdn t hreads.
    the options seems to be
    1. either to mount the Source Directory on the XI Server.
    2. Install a FTP server and use FTP protocol.
    My doubt is that, could nt we give necessary access rights to the XIAFUSER whihc will access the Source Directory?
    Wont it be sufficient?

    Hi Aarthi,
    If you are using system other than XI, then you have to use FTP server
    else check you have proper authorization of read/write to the source directory...
    and check the name of it as well, as it is case sensetive and you have provided the proper details of server.
    check these blog as well...
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Sachin
    Edited by: Sachin Dhingra on Mar 24, 2009 12:16 PM

  • Sender File Adapter FCC Question

    Hello folks!!
    I am trying to configure a FCC for Sender file adapter and wanted to consider a Line feed Carriage return line which will look as below to be a empty tag in XML. After Line 4 there will be a blank line which identifies the start of next record.  I tried using Field.MissingLastFields , Field.endSeparator  etc.,  Perhaps I am not using the correct value. Any help appreciated.
    Line1
    Line2
    Line3
    Line4
    Line1
    The expected XML is as below:
    <Record>Line1</Record>
    <Record>Line2</Record>
    <Record>Line3</Record>
    <Record>Line4</Record>
    <Record></Record>
    <Record>Line1</Record>

    Hi Greg
    Thanks for your feedback. I tried and it didn't work. below is the FCC i have in sender adapter
    RecordSetName      =   RecordSet
    RecordSetStructure =    Dummy,*
    Dummy.fieldNames   =  Record
    Dummy.endSeparator = 'nl'
    Dummy.missingLastfields  = add
    Dummy.ignoreRecordsetName = true
    Dummy.fieldSeparator = 'nl'   and also I tried with Dummy.fieldFixedLengths = 255  .
    Still I don't get the empty tag for the blank line in the file, so my output is still same . Please note the blank line doesn't have a space so if I place the cursor and move to next in blank line it will go to next line ( Carriage return and line feed).
    Please suggest .

  • 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

  • Error in sending mail Using java application using SMTP.

    Hi,
    I have created a java application of self user registration which also sends email to the user.
    I have also added two JAR files ie mail.jar and activation.jar under the PORTAL_INF/lib.
    The code works well in other servers but its showing the error-
    java.lang.NoSuchMethodError: com.sun.activation.registries.MailcapFile.getMailcapList(Ljava/lang/String;)Ljava/util/Map;
    Thanks & Regards,
    Amarys.

    Hi Amarys,
    Please check if you have configure the mail server in SAP protal.
    Refer to below documents:
    [Send email, using SMTP on remote host|Send email, using SMTP on remote host]
    [Mailing throw webdynpro for java|Mailing throw webdynpro for java]
    Best Regards
    Arun Jaiswal

Maybe you are looking for

  • Mail attachment can't read

    Hello we have problem with mail after we got the new update Ios6 for Ipad3, Mail attachment can't read all info when receiving in xcl document dates show 0000.All IPad 3 don't work. Please any one have the same problem?Or any fix available.Thanks.Sac

  • Grayed out button

    I am filling out a form for a local governmental entity.  In order to submit it I need to add a button.  When I try to do this the option is grayed out and I cannot.  Is it possible?

  • Right clicking a SWF and icons in ContextMenu

    Is there any support for right clicking, other than the ContextMenu/ContextMenuItem functions to modify the default right click menu? Can I add right click support anywhere else in my SWF? Somehow I doubt it. In the ContextMenu/ContextMenuItem functi

  • Netware backupexec XP workstation

    Hi - I have been trying to enable backup of the internal drive of an XP (sp2) workstatsion to the central backup unit on our 2 server cluster. The backup software is Backupexec 9.1 and is on Server2 or the system. I have enabled the TSA software on t

  • Please help with username retrieval failed error

    Not sure if this is the appropriate forum for this We work in a managed environment. In the past week the domain has changed from Manitoba to ME. Yesterday I tried to connect to my local personal Oracle database 9iv2 with SQL*Plus and got an ORA-(TNS