Error in Receiver FCC: Unknown structure ... found in document

Hi Experts,
I have a problem with the Receiver File Adapter. I want to use Content Conversion to generate a plain file.
Input to receiver file adapter:
<?xml version="1.0" encoding="utf-8" ?>
<PlainFile>
  <filename>filename.txt</filename>
  <line>Line 1</line>
  <line>Line 2</line>
</PlainFile>
Wanted result: a file filename.txt with this content:
Line 1
Line 2
FCC settings:
RecordSet Structure: line, filename
line.fieldSeparator:'nl'
filename.fieldFixedLengths:0
filename.fixedLengthTooShortHandling:Cut
Problem is: the adapter throws error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'PlainFile' found in document'"
If I use:
RecordSet Structure: PlainFile, line, filename
and add:
PlainFile.fieldSeparator:'nl'
... the lines are printed, but also the unwanted filename. The XML input results from an 1:n mapping, therefore I want to set different filenames by variable substitution from the payload.
Many thanks for your help,
Ralf

Since you want to the filename to be sent in the payload, check out the below Variable Substitution Method. This information is available in help.sap.com.
Advanced Tab Page
Variable Substitution (Target Directory/File Name Scheme)
If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
&#9679;      Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
The variables can refer to attributes of the message header or elements of the message payload.
&#9675;       If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
Note
If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
&#9675;       If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
namea,nameb,... corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
The description begins at the root of the document and ends at the respective element.
Example
To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (“Example Value”) is set as the value for a specified variable.
<?xml version="1.0" encoding="UTF-8" ?>
<root>
  <dummy>
     <e1>
        <e2>Data_1</e2>
        <f/>
        <g attr="abc">text</g>
        <e2>Data_2</e2>
     </e1>
  </dummy>
  <e1>
     <e2>illegal/value</e2>
     <f/>
     <g attr="abc">text</g>
     <e2 attr="fghij">Example Value</e2>
  </e1>
</root>

Similar Messages

  • Error: No public or protected classes found to document.

    Hello,
    I am currently going spare trying to get javadoc to document the code I have written. I have checked the Java code given the information on the website and the comments are correct and complete for all methods. The command line I am using is:
    c:\j2sdk1.4.1_01\bin\javadoc.exe -d docs/ Population.javaAnd the makefile (bat file) is in the directory with the population.java file. The command line works with other files in the same directory, programmed and commented to the same standard. The error I get is:
    C:\Documents and Settings\ril\MYDOCU~1\PROGRA~1\JCreator\ILCSFrame>c:\j2sdk1.4.1_01\bin\javadoc.exe -d docs/ Population.java
    Loading source file ILCSFrame.java...
    Constructing Javadoc information...
    Standard Doclet version 1.4.1
    Generating docs/\constant-values.html...
    javadoc: No public or protected classes found to document.
    1 errorI have tried checking the documentation with the doccheck doclet with the following command line:
    c:\j2sdk1.4.1_01\bin\javadoc.exe -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath C:\j2sdk1.4.1_01\utils\doccheck1.2b1\lib Population.javaBut it throws the following error:
    C:\Documents and Settings\ril\MYDOCU~1\PROGRA~1\JCreator\ILCSFrame>c:\j2sdk1.4.1
    _01\bin\javadoc.exe -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath
    C:\j2sdk1.4.1_01\utils\doccheck1.2b1\lib\doccheck.jar Population.java
    Loading source file Population.java...
    Constructing Javadoc information...
    javadoc: In doclet class com.sun.tools.doclets.doccheck.DocCheck,  method start
    has thrown an exception java.lang.reflect.InvocationTargetException
    java.lang.NoSuchMethodError: com.sun.tools.doclets.HtmlWriter.<init>(Ljava/lang/
    String;Ljava/lang/String;)V
            at com.sun.tools.doclets.doccheck.HtmlWriterExt.<init>(HtmlWriterExt.jav
    a:16)
            at com.sun.tools.doclets.doccheck.DocCheck.makeWriter(DocCheck.java:1407
            at com.sun.tools.doclets.doccheck.DocCheck.printStatisticsPage(DocCheck.
    java:456)
            at com.sun.tools.doclets.doccheck.DocCheck.printErrorPages(DocCheck.java
    :433)
            at com.sun.tools.doclets.doccheck.DocCheck.startGeneration(DocCheck.java
    :364)
            at com.sun.tools.doclets.doccheck.DocCheck.start(DocCheck.java:337)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
            at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:92)
            at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:301)
            at com.sun.tools.javadoc.Start.begin(Start.java:120)
            at com.sun.tools.javadoc.Main.execute(Main.java:41)
            at com.sun.tools.javadoc.Main.main(Main.java:31)
    1 errorIf I try running doccheck (without doclet) on the whole directory (containing 6 java files), it will only pick up 3 of them (one including the SwingWorker java file). Any help greatly appreciated.

    "No public or protected classes found to document" means
    that the class Population.java is not in the current directory.
    Without trying to insult your programming ability, these things
    come to mind:
    - Omit the slash at the end of "-d docs/" This causes the
    message "Generating docs/\constant-values.html.
    I'm not sure why the bat file uses a forward slash on
    a Windows system.
    - Make sure you cd to the directory containing the bat file before
    running it.
    - Java is case-sensitive (I notice you spelled the filename
    both uppercase and lowercase.) Make sure the file name,
    the class name in the class, and the class name in the bat
    file have the same case.
    As far as doccheck not running, we have not yet released the
    version that runs on 1.4.x. Please write to "doccheck-feedback"
    with "@sun.com" for more info. (I've broken up the email address
    so text crawlers won't get it.)
    -Doug Kramer
    Javadoc team

  • Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'

    I have other problem.
    The receiver channel communication gives the next error:
    Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_dbglgtr_FileName' found in document', probably configuration error in file adapter (XML parser error)'.
    I haven't empty node and any condition.
    Thank you.

    Hi,
    Same problem solved here: (infact many threads with the same problem and solution)
    Error in Receiver FCC: Unknown structure ... found in document
    Re: Receiver File content conversion - NO Output
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Apr 14, 2009 7:42 PM

  • RFC 2 FLAT "Conversion configuration error: Unknown structure" MessageTrans

    Hello all,
    I want to use MessageTransformBean to map an RFC Call to a FlatFile in Receiver Adapter. As it is not FTP I can't use FCC.
    Everytime I start the processing I get the error:
    com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Z_FUNCTION' found in document', probably configuration error in file adapter (XML parser error)''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Z_FUNCTION' found in document', probably configuration error in file adapter (XML parser error)'
    I implemented everything according to [this|http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm] guide (complex conversion for receiver cc).
    I also tried to map the RFC to another XML structure, but the error was the same?
    Any ideas?
    Best regards,
    David

    You can probably find answers in these threads:
    Error in Receiver FCC: Unknown structure ... found in document
    Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'
    Error in reciever file content conversion
    Regards,
    Ravi

  • ** File Content Conversion Error in Receiver CC - How to solve this?

    Hi friends,
    My target structure looks like below.
    EmployeeJobDetails                                        --> Message Type
       JobCode                                                      --> Node
            EmployeeNumber            xsd:string
            Domain                           xsd:string
       JobTrack                                                     --> Node
             Department                    xsd: string
             Position                         xsd: string
    I use the FCC parameters in the receiver CC as below:
    Recordset Structure:    JobCode,JobTrack
    JobCode.fieldSeparator = |
    JobCode.endSeparator = 'nl'
    JobTrack.fieldSeparator = |
    JobTrack.endSepartor = 'nl'.
    Because, we want the output like below
    1099|Raja
    Accts|JuniorAccountant
    1100|Ram
    HR|Recruiter
    like this.
    In this scenario Source is XML and target is txt file.
    I am using XSLT Mapping. The FCC works fine, if my source input file contains some records. But, when we send empty source XML file as below
    <?xml version="1.0" encoding="UTF-8"?>
    <EMPLOYEE_DATA/>
    Mapping works fine. Message is processed successfully in SXMB_MONI. The payload in response also comes with Message Type name like below
    <EmployeeJobDetails    namespace >
    </EmployeeJobDetails>
    While convert this, the system throws below error.
    Error Message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'
    Friend, how to convert this when source XML is empty.
    But, if we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the same empty XML file FCC is working  fine and  we  get the target text file 0 KB. (Amazing !!)
    But, in the first case, how to solve the issue?
    Kind Regards,
    Jegathees P.

    Hi friends,
    If we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the <b>same empty XML file</b> FCC is working fine and<b> we get the target text file 0 KB</b>. (Amazing !!)
    But, if we give parameters like JobCode,JobTrack then send pass the same empty file, we face the problem 'File Content Conversion' Error.
    Searching solution for this problem ...

  • Reg: Error at Receiver determination

    hi friends
    i have designed a scenario for JDBC to RFC and while testing that scenario at configuration part i found the error that  "receiver determination is not found"  i also tested with file to file scenario and found the same error . can anyone suggest how to overcome this error and what might be the error.
    with regards
    sharmista

    Hi Dadapure sharmishta,
    Have you provided any conditions in the receiver determination? In that case make it sure that the condition is getting satisfied. Also check if all the objects are activated. Check the sxi_cache for cache related issues.
    Thanks and Regards,
    Sanjeev.

  • Conversion configuration error Unknown structure Header found in document

    Hi,
    we are having the following target structure according to that we need to generate a file.
    Output file sample format:
    ACODESXXXX0001581012011-03-2209.12.42WARRANTY CAUSE CODES FILE
    ACODESXXXX000158102CCCORROSION INSPECTION
    ACODESXXXX00015810255CAVITY, PINHOLE
    ACODESXXXX00015810256BAD MACHINING
    BCODESXXXX0001581012011-03-2209.12.42WARRANTY COMPLAINTS CODES FILE
    BCODESXXXX000158102NCNO CUSTOMER COMPLAINT
    BCODESXXXX000158102XPCONSIDERATION
    BCODESXXXX00015810299OTHER
    BCODESXXXX000158199000000131
    CCODESXXXX0001581012011-03-2209.12.42WARRANTY CIRCUMSTANCE CODES FILE
    CCODESXXXX000158102 BLANK
    CCODESXXXX000158102AAT ENGINE START
    CCODESXXXX000158102BWHEN WARMING-UP
    Target  Record Structure:
    DT_Codes
              Record
                        ACodes      
                               Header
                               Details
                               Trailer
                         Bcodes
                               Header
                               Details
                               Trailer
                         Ccodes
                               Header
                               Details
                               Trailer
                         TWRNTY
                               Header
                               Details
                               Trailer
    In receiver file adapter we have given following content conversion parameters
    Content conversion Parameters :
    Recordset Structure*: A_Code.Header,A_Code.Detail,A_Code.Trailer,B_Code.Header,B_Code.Detail,B_Code.Trailer,C_Code.Header,C_Code.Detail,C_Code.Trailer,
    Name                                                                                value
    A_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    A_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,3
    A_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    B_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    B_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,10
    B_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    C_Code.Header.filedFixedLengths               4,5,7,8,2,3,4
    C_Code.Detail.filedFixedLengths               4,5,2,8,9,3,2,7,8,9,10
    C_Code.Trailer.filedFixedLengths                  4,5,2,2,3,3,4
    Now we are getting error "Conversion configuration error Unknown structure Header found in document"
    Please suggest solution for the error.
    thank you,
    Praveen.

    your content conversion parameters seem to be wrong.
    Do refer;
    /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

  • 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

  • 'Conversion configuration error: Unknown structure

    Hi, my scenario is very simple, Proxy->PI->File and there is no mapping.
    There is a report that sends all the data to PI with the proxy and that works OK, but when the file adapter must generate the file I get the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'n:WU_MT_BP' found in document', probably configuration error in file adapter (XML parser error)'
    The XML can't be wrong because the MT of the proxy service interface is the same that the MT of the file interface.
    In the file content conversion I specified all the structures, with fieldFixedLenghts parameter and endSeparator = 'nl'... I checked those parameters too and they look OK too...

    >>Unknown structure 'n:WU_MT_BP
    This looks clearly like a content conversion issue.
    In file content conversion for recordset structure,have you specified WU_MT_BP?
    Is this tag required or it shouldn't be coming in payload in first place.
    It is possible that the occurrence of this tag is optional and you may be specified/not-specified content conversion parameters for it.
    Thanks
    Aamir

  • FCC ERROR in Receiver CC

    Hi Experts
    i am facing the following error in the Receiver File Adapter . I am using the FCC for both the Sender and also teh Receiver.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing .
    please help me out
    thanx in advance.

    Hi,
    Error says you haven't mentioned field separater in the FCC parameters.
    use .fielsSeparator  , or what ever your field separator that you have to mention here
    Regards
    Ramesh

  • When trying to download the latest version of iTunes, I receive the following error "Apple Application Support was not found", any suggestions?

    When trying to download the latest version of iTunes, I receive the following error "Apple Application Support was not found", any suggestions?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    The section Install missing components has advice on breaking down the iTunes installer into the individual .msi files which might prove useful if one component, such as Apple Application Support, won't install normally.
    tt2

  • I wanted a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser.  Unknown Error. (123)"

    I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12  file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser.  Unknown Error. (123)"

    Change browsers. See what happens.
    Be well...

  • Why am I receiving an unknown error message when try to upgrade OS 10.8 to Yosemite?  It also says "There was an error in the App Store. Please try again later (4)."

    Why am I receiving an "unknown error message" when I attempt to upgrade my X OS from 10.8 to Yosemite?  It says "There was an error in the App Store. Please try again later (4)."  This happens only when I check for updates/upgrades for my software and then try to upgrade Yosemite in the App Store. Thanks for any help!

    Hi.
    I'm having the same problem. Could you tell me how you resolved it.
    Thanks
    Aliquatpat.

  • TS3219 Is anyone receiving a "unknown error" message when updating/getting new apps?

    Before and after installing the new update I started receiving an "unknown error" message when trying to update apps. I changed my password thinking that was it but I am still getting the error message.

    Try signing out of your account, restart the iPad and then sign in again and see if that works for you.
    Settings>Store>Apple ID - tap your ID and sign out.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Sign in again -Settings>Store>Apple ID - sign in.
    If that doesn't work either, reset your iPad and see if that helps.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on it. HELP!! What's going on? This happened after I downloaded Chrome and then

    I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on a link. HELP!! What's going on? This happened after I downloaded Chrome and then decided to delete it. 

    I have Lion and I just came across this link and it took care of the problem.
    Jose Antonio Solis
    Re: Lion: Delete google chrome completely include user profile?
    Try deleting:
    ~Library/Application Support/Google
    and
    ~Library/Caches/Google/Chrome

Maybe you are looking for

  • How to limit entry of Ship to party in a sales order

    Dear Gurus, My current project requires the following Scenario: My  client's requirement is that for <b>a single sold to party</b>, there need to be <b>more number of ship to parties</b>.   We were able to achieve the same by <b>assigning </b> the li

  • Stuck in HashMap + equals() behaviour

    I am studying the SCJP 6, and got stuck in one example from the book. package map583; import java.util.*; public class Dog {     public Dog(String n) {         name = n;     public String name;     public boolean equals(Object o) {         if(o insta

  • Trying to Link from CSH to Second (Custom) Window within same .CHM file

    We are using RH8 on Windows XP Pro 2002, SP3, outputting CHM. Background Our single help source has 2 custom window definitions--one for context sensitive topics (tall and narrow, opens on right, no TOC, always on top) and the second for the main hel

  • Acknoledgement PI to PI not working

    Hello, an external partner sends a message to our PI 7.0 system. He sends via XI-Adapter (and Internet), and requests an acknoledgement. The normal message is routed via plain HTTP from our PI to another target system (I dont know if this is importan

  • Is it possible to un Webdynpro java without SAP EP?

    Hi, I have a unique requirement. My customer is new to SAP EP / Java Webdynpro. He requires Webdynpro components to run without SAP EP. In other words, he wants create an ALIAS for Webdynpro component URL which is displayed when we run the component