FCC: Problems with content conversion

Dear all,
I have a receiver FTP adapter with content conversion. In RWB I'm facing following error message:
Adapter Framework caught exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'FCOTUPI')', probably configuration error in file adapter (XML parser error)'
The field with value FCOTUPI could be found in POS recordset. I double check the length of columns but couldn't find
an error.
CC configuration:
Recordset structure: HEADER,POS,SUBPOS
HEADER.fieldFixedLengths = 8,4,8
POS.fieldFixedLengths = 8,20,15,3
SUBPOS.fieldFixedLengths = 5,5
HEADER.fixedLengthTooShortHandling = Cut
POS.fixedLengthTooShortHandling = Cut
SUBPOS.fixedLengthTooShortHandling = Cut
As you can see by the names, I am using as XML to convert a structure with subnodes. In documentation it said
that it is not allowed, but in some threads I found the information that structure could be processed.
Any ideas how to solve this problem?
Thanks
Chris

Dear Amit,
thanks for your answer. I already checked this blog, but hoped for other solutions.
My problem: I tried to map my hierarchical structure to a flat structure.
Source
Struc1 (0..unbounded)
-Item1.1
-Struc2 (0..unbounded)
--Item 2.1
--Struc3 (0..unbounded)
---Item3.1
Target:
Struc1 (0..unbounded)
-Item1.1
Struc2 (0..unbounded)
-Item 2.1
Struc3 (0..unbounded)
-Item3.1
But if e.g. the Struc2 appears two time it will be created two time in target structure before
the Struc3 is created. But ths Struc3 belongs to Struc2 and should be created in flat file under
Struc2 directly.
How can we created a flat structure like this
Struc1
Struc2
Struc3
Struc3
Struc2
Struc3
Thanks
Chris

Similar Messages

  • Problems with content conversion in File Receiver Adapter

    Hello, everybody.
        I have a RFC-to-File scenario with file content conversion. Everything is working well except that my file is generated with 2 blank lines at the top of it.
        The function module has 3 importing parameters (1 optional) and the file content comes from an internal table.
        Is it caused by the function module parameters? If yes, how can I avoid this, once I really need them? If not, does anyone have any idea?
        Thanks a lot,
        Marcos.

    Hi, Raj.
    Here they are the function module parameters:
    Importing parameters:
             ICARRIER     TYPE     CHAR1
             FPATH     TYPE     IPATH
             IFILE     LIKE     VBAK-BNAME
    Tables
             IYLASDS_RECPT     LIKE     YLASDS_RECPT
    The structure YLASDS_RECPT has only one field with a single line of the file. I am using this field as the <i>Recordset Name</i> inside file adpater parameters.
    There is no mapping between RFC and FTP messages.
    Thanks a lot,
    Marcos.

  • Dynamic file name in receiver - empty line problem with content conversion

    Hi,
    I do a variable substitution from a filename node in my xml structure. Because I don't want to have the the filename in my flatfile i supress the output with the conversion parameters:
    filename.fixedLengthTooShortHandling = Cut
    filename.fieldFixedLengths = 0
    It's working but: the adapter is puting an empty line at the end of the file. If I even put the filename node at the top of the xml struture it generates the empty line at the top of the flatfile.
    Anyone has an idea? is there an other way to set the filename or how can I supress this empty line( I have to) ?
    Regrads
    J.

    Jorg,
    Actually speaking we cannot get rid of this with XI. You have to write a OS script to remove this.
    Else
    you add one more parameter as .endSeparator as backspace ie., 0x08. It will definitely remove the line but I think it is putting a square box at the end of previous line. Please check by giving this and let us know the updates.
    Regards,
    ---Satish

  • Keynote conversion:  Powerpoint found a problem with content....

    Hi all,
    MS office is killing me and I'd appreciate any pointers and comments
    Here's the situation:
    1. Keynote file (multi-revised over the years) exported to powerpoint file XYZ in New-MBP
    2. New-MBP opens XYZ and gets "found a problem with content in..."
    3. Click on "repair", open up XYZ, and get bunch of blank pages
    4. Same XYZ file copied to Old-MBP(freshly installed, now my home media server, not many apps installed).
    5. Same version of Office 2011 installed in Old-MBP, opened the file just fine!
    (so the problem is not NewMBP Keynote)
    6. Created a test account in New-MBP
    7. Attempted to open XYZ with Powerpoint
    8. Same "found a problem with content in..."
    9. Click on "repair", open up XYZ, and get bunch of blank pages
    (so the problem is not user/privileges, but the NewMBP system-wide issue?)
    10. In New MBP, created a brand new Keynote file, did some light work
    11. Exported new keynote file to powerpoint file RRR
    12. In New-MBP, RRR opened under Powerpoint 2011 just fine!
    (so the problem might be the original multi-modified Keynote file?)
    (But its powerpoint file XYZ opened in Old-MBP just fine!)
    I've uninstalled and reinstalled Office 2011, with SP1, still cannot open XYZ properly.
    I've copied all Office 2011 files from Old-MBP to New MBP, still cannot open XYZ properly.
    I"ve googled the problem and tried anything I could find, still cannot open XYZ properly. (deleting presenter notes... etc)
    My current conclusion: some kind of software system conflicts in the New-MBP.
    Anyone with any ideas?
    Thanks a lot in advance.
    Will

    Hi Will,
    Met the same issues and spent hours to find the problem. And guess what ? I found it :-)
    For some reason, groups are not supported by Powerpoint converted files.
    This is why every slide that contains group is not converted.
    The workaround is to ungroup all the groups in your keynote file (alt+cmd+shift+G) and you'll see your slides being converted again.
    I'm not sure where the issue is coming from. I would tend to think it should be resolve by the Apple Keynote team.
    Not sure whether it has been escalated so far.
    There might be some other small issues. One or two slides were not properly converted although they were not containing group, but this should fix most of them.
    Have fun degrouping your slides

  • Creating a file with  content conversion

    Hi all,
    I have a scenario in XI which i create a file in it,
    I want to create the file with the content conversion option but with no field separator.
    I have an error message - "File adapter receiver channel is not initialized. Unable to proceed: null" if i don't use the fieldSeperator option.
    I don't want to use this option, I want the file to be created without separators.
    Thanks,
    Naama

    Hi Namma,
    Go through very imp blogs:
    File Content prameters for the Receiver Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    File Content prameters for the Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Refer
    File Receiver with Content Conversion
    File Receiver with Content Conversion
    Configuring the Receiver File/FTP Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
    File content conversion sites:
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    The specified item was not found. - FCC
    The specified item was not found. - FCC
    File Content Conversion for Unequal Number of Columns
    File Content Conversion for Unequal Number of Columns - FCC
    Content Conversion (Pattern/Random content in input file)
    Content Conversion (Pattern/Random content in input file) - FCC
    XI Configuration for MDM Integration - Sample Scenario - FCC - MDM
    Thanks,
    Satya Kumar

  • File Adapter with Content Conversion

    Hi -
    I am trying to convert a Flat file which has data as
    firstnamelastnamecompanyName
    Now i have created a message type which has a root name as Contact and its children are FirstName,LastName,Company.
    And in the configurator i have created a file adapter with the content conversion, but being very new to XI i have never used a file adapter with content conversion.  This is what i have in my Content Conversion Parameters.Please correct my code.
    Document Name      ::   MT_Contact
    Document Namespace ::   http://venkat
    Document Offset    :: <i>i did not enter anything here</i>
    Recordset Name     ::   RootNode(i gave this name just like that,,, Should it be something from the IR??
    Recordset NameSpace:: <i>i did not enter anything here</i>
    Recordset Structure::   Contact (this is the name in my IR
    Recordset Sequence ::  Ascending
    Recordsets per Message :: Contact,* (Can someone explain what should be given here)
    Then in the bottom in the name value pairs i have given
    Contact.fieldNames   =   FirstName,LastName,Company
    Contact.fieldSeparator = #
    When i am using the above configuration the error i am getting in RWB is Error: Conversion initialization failed: Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pairInvalid 'xml.recordsetsPerMessage' value 'Contact,*' found
    I am very new to XI and i am unable to understand what exactly each field means in the file adapter when the content coversion is used. Can someone take the pain of explaining them.
    Thank you
    Venkat

    Hi,
    Use the following to create an XML strucutre like this,
    <MT_CONTACT>
    <CONTACT>
    <FirstName> </FirstName>
    <LastName> </LastName>
    <CompanyName> </CompanyName>
    </CONTACT>
    <MT_CONTACT>
    DocumentName : MT_TEST
    DocumentNamespace : Yournamespace
    RecordserName : record
    RecordsetStructure : CONTACT,1
    In the table,
    ignoreRecordsetName  : true
    CONTACT.fieldNames : FirstName,LastName,CompanyName
    CONTACT.fieldSeparator : #
    Go through the links suggested by moorthy and also these blogs to understand content conversion better,
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    Regards,
    Bhavesh

  • How to verify receiver jms scenarios with content conversion

    Hi All,
    I m doing a Content Conversion at receiver JMS Side.
    The jms queue is installed in a Mainframe System. i heard that  messagesa will be showed only in hexadecimal mode in mainframe system.
    So how to verify my scenario?
    Is there any way i can check the content cnversion part?

    Hi,
    Hope these links will help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    fine tuning
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/412290ec-0201-0010-0790-dfd946efc5f4
    FCC @ receiver
    File Receiver with Content Conversion
    FCC @ sender
    Content Conversion (Pattern/Random content in input file)
    regards,
    Prashant

  • File sender with content conversion and ignoreRecordsetName

    Him,
    I have an scenario with a compressed file sender with content conversion.
    In my sender cc i have:
    1     AF_Modules/PayloadZipBean     Local Enterprise Bean     unzip
    2     AF_Modules/MessageTransformBean     Local Enterprise Bean     transform
    3     CallSapAdapter     Local Enterprise Bean     2
    In module configuration, I have also added:
    xml.ignoreRecordsetName  --> true
    But RecordsetName is not removed from XML
    Why?
    thanks, in advance
    Carme

    Hi,
    No need to enter anything in module configuration. Just specify following Name-Value pair in the table provided on the Content Conversion tab of your file adapter.
    Add a row with Name = ignoreRecordsetName and Value = true (Both case-sensitive)
    For details, see [this link|http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm].
    [some more here|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
    Regards,
    Riyaz

  • Problem with content: 7 - Bad sound Data

    When I do the following...
    Voice = new Sound();
    Voice.loadSound("test.mp3", true)
    I get the error...
    Problem with content: 7 - Bad sound Data
    AND
    Problem with content: 7 - The sound data format is not
    recognized.
    I am using the test.mp3 files that comes with Flash8.
    Thanks!
    Bob

    OK. This combo works!
    version flash Player 8
    action script 2.0
    Audio Stream: MP3, 128 kbps, Stereo best
    Audio event: MP3, 128 kbps, Stereo best
    Override sound settings (unchecked)
    But this combo does not!!
    version flash lite 2.0
    action script 2.0
    Audio Stream: MP3, 128 kbps, Stereo best
    Audio event: MP3, 128 kbps, Stereo best
    Override sound settings (unchecked)
    Still get the error on all Nokias except Nokia 90 which gets
    no error but just does not play the file

  • Problem with Content Barrier

    I just wanted to post my experience with IChat AV and problems with Content Barrier.
    After a long time with Support, I deleted Content Barrier from the startup folder and everything works fine now.
    I will give an update when I get IChat AV to work with Content Barrier installed.

    Patrick - I experienced the same problem with Content Barrier and Net Barrier too. But, I did an archive and install of Tiger (actually a reinstall) after my son's iMac was only 3 days old. Was not aware that CB was the cause of iChat not working until I tried to reinstall CB and found that to be the culprit.
    Do you also have Netbarrier? I found that was a problem too.
    I e-mailed Intego and all they could offer was did I upgrade to 10.1.7 and updated filters. I did the program update, but since I did not renew the subscription, I do not have the latest filters (last filter update was Feb 05).
    I have another e-mail to Intego saying this, but no response from them (but it was only last Friday).
    Any thoughts on an alternative content barrier program?
    Joe

  • Sender file adapter with content conversion  Simple XML

    Hi experts,
    I'm trying to parametrize my sender file adapter content conversion.
    I'm receiving a text file with one single line like:
    AA1;AA2; AA3;
    and I want to convert it to an XML like
    <MT_A1>
    <field1>AA1</field1>
    <field2>AA2</field2>
    <field3>AA3</field3>
    </MT_A1>
    Actually I know how to do somenthing like
    <MT_A1>
        <LINE>
              <field1>AA1</field1>
              <field2>AA2</field2>
              <field3>AA3</field3>
         <LINE>
    </MT_A1>
    What I want is remove the <LINE> tag from my XML.
    Regards
    Gonzalo
    Edited by: Gonzalo del Castillo on Nov 28, 2008 2:18 PM

    Hi
    Use this help document for receiver FCC
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Content Conversion (Pattern/Random content in input file)
    File conversion text to xml (Few Last Post)

  • Issue with content conversion in receuver communication channel

    Hi,
    I am trying to configure receiver communication channel with file adapter and content conversion.
    File structure is simple, as shown below:
    MT_EmployeeDetails
         Employee_rec
              Employee_rec_struct
                   EmpNo
                   EmpName
                   Address
    It should have generated file in the following format:
    1101     xxxx     xxxxx
    1102     xxxx     xxxxx
    1103     xxxx     xxxxx
    But it is generating flat file as shown below:
    1101     1102     1103     1104
    Basically it is populating only first field in the target field. But I could see that the xml file is properly getting
    generated in sxmb_moni.Also, when i tried to generate xml file without FCC, it is creating file properly.
    following are the parameters I am using:
    Employee_rec_struct.fielSeparator     '0x09'
    Employee_rec_struct.endSeparator     'nl'
    pls let me know whetehr i need to add any other parameters in FCC.

    Hi,
    Can u please provide with the exact structure of target... i know u have mentioned it already...
    But the hierarchy and occurence is nt clear..
    Like
    Mt
    ---Employee(1)
    Records(0..unbounded)
    Name(1)
    Age(1)
    So that others here,can easily get vt exactly u want and give the solution....
    If ur structure is like..
    MT_EmployeeDetails
    ---Employee_rec
    Employee_rec_struct(0..unbounded)
    EmpNo
    EmpName
    Address
    Then,
    Use,
    Employee_rec_struct.fieldSeparator '\t'
    end separator is optional... by default its new line characcter.. no need of giving....
    U should be giving the recordStructure as  Employee_rec_struct,*
    If still nt solved do post
    Babu

  • Problem with Content Server 4 keystore access on Ubuntu 8.04

    Hello,
    Setting up the Content Server I encounter this problem with the fulfillment server Status check-up:
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.Error: Problem reading key and certificate from keystore
         com.adobe.adept.fulfillment.security.ServerConfig.init(ServerConfig.java:201)
         com.adobe.adept.fulfillment.security.ServerConfig.getSigningURL(ServerConfig.java:48)
         com.adobe.adept.fulfillment.servlet.FulfillmentServerStatus.getServers(FulfillmentServerStatus.java:34)
         com.adobe.adept.common.servlet.Status.checkUp(Status.java:355)
         com.adobe.adept.common.servlet.Status.doGet(Status.java:421)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    I've created operator.p12 according to the instructions in the Quickstart guide
    and placed it in /etc where it is accessible by the server. I used OpenSSL 0.9.8k
    for this.
    I can use "openssl pkcs12 -in operator.p12 -out file.pem" to view the contents of
    the file.
    My Content Server fulfillment configuration is as follows:
    com.adobe.adept.init1=com.adobe.adept.shared.util.SharedInitialization
    com.adobe.adept.log.level=trace
    com.adobe.adept.log.file=/var/log/fulfillment.log
    com.adobe.adept.persist.sql.driverClass=com.mysql.jdbc.Driver
    com.adobe.adept.persist.sql.connection=jdbc:mysql://127.0.0.1:3306/adept
    com.adobe.adept.persist.sql.dialect=mysql
    com.adobe.adept.persist.sql.user=ereading
    com.adobe.adept.persist.sql.password=********
    com.adobe.adept.fulfillment.security.licensesignURL=https://eusigningservice.adobe.com/licensesign
    com.adobe.adept.fulfillment.security.keystore.user=operator
    com.adobe.adept.fulfillment.security.keystore.password=********
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    com.adobe.adept.serviceURL=http://******.dmz.******.org/fulfillment
    Any ideas?
    Best regards,
    Teemu

    for solve this, change  this
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    for this
    com.adobe.adept.fulfillment.security.pkcs12.file=/etc/operator.p12

  • Problem with type conversion and primary key during row fetch

    [Note, this error occurs in Oracle XE, APEX 2.1.0.00.39]
    I have been having a problem with Automatic Row Fetch:
    ORA-01460: unimplemented or unreasonable conversion requested
    So in an effort to resolve this, I created a PL/SQL process with the query below and was able to isolate the same error. The problem seems to come from one of the primary keys being a "number" type (APP_ID). The error occurs on the line:
    where u.app_id=:P5_APP_ID
    I have tried the following variations on this line in an effort to resolve this, but all generate the same error:
    1) where to_char(u.app_id) = :P5_APP_ID
    2) where u.app_id = to_number(:P5_APP_ID)
    3) where to_char(u.app_id) = to_char(:P5_APP_ID)
    I've also tried the laternate syntax "&__." and "#__#", but these don't function in the Source field and show up as syntax errors.
    Any suggestions are welcome.
    begin
    for r in (
    select app_name, apptype, appcreator, appurl
    from application_users u, application_info i
    where u.app_id=:P5_APP_ID
    and i.app_id=u.app_id
    and u.username=:P5_USERNAME)
    loop
    begin
    :P5_APP_NAME := r.app_name;
    :P5_APPURL := r.appurl;
    exception
    when others then
    raise_application_error(-20000,'In Loop Failure',true);
    end;
    end loop;
    exception
    when others then
    raise_application_error(-20000,'Out of Loop Failure',true);
    end;
    Thanks in advance,
    Barney

    I found a prior post referencing a similar issue and it was solved by using the "v(__)" syntax. This did resolve my issue, however, I have a quick follow-on which I'm hoping someone can answer quickly...
    Since the "v(__)" syntax won't work for the Automatic Row Fetch (at least to the best of my knowledge), I have to do a manual process. However, the manual query as shown above doesn't actually populate any of the form values through the bind variables. They all remain at their cached values from prior data entry on the form.
    Is using the bind variables for assignment incorrect, or is there something that must be done to get the updates to show up in the form (ordering of processes, etc.).
    My manual process is running in the Load: Before Header state so I would have expected it to update all of the fields.
    Thanks in advance,
    Barney

  • Proxy - ABAP mapping - file with content conversion

    Scenario goes from ECC (proxy) to XI then I do ABAP mapping.  I have tested the ABAP mapping with SXI_mapping_test transaction.  My ABAP mapping puts the payload back into XML and then the data goes to a file adapter where I also use content conversion.  If I do not do the content conversion the data comes out correct in XML.  When I change to content conversion I get 20 blank lines.  Is it possible to do content conversion from ABAP mapping?
    Any help would be greatly appreciated.
    Thanks
    Skip Ford

    Hi,
    Have you checked whether the blank lines you got in the XML files are from the blank nodes or elements which you created in ABAP mapping?
    If it is, then just create your elements or nodes whenever there are corresponding values in your ABAP mapping.
    e.g.
    If  l_sender_service is NOT initial.
      elementsender = odocument->create_simple_element(
                                   name = 'SenderService'
                                   value = l_sender_service
                                   parent = msgtype ).
    endif.
    Regards,
    Lim...

Maybe you are looking for

  • How do I get a clean start for catalog to start all over again?

    Running PSE5 on Win XP w/SP3 I have not been able to get any information about how to recover a catalog from files that have been copied as a backup, so it looks like I'm forced to start all over again.  There are about 17000 images in the C: drive. 

  • How to check the value of the structure component at run time

    Dear Friends, Kindly, through some idea for the below query: Step 1: I have a structure name as STRUCT with components COMP1, COMP2, COMP3,......, COMP99. At run time in this structure few components may have values and few may not have. Step 2: Now

  • VERY URGENT - Pl help me - Senthil

    Hi Team, I'm loading the delivery details nd qty from R/3 to BMW ODS using the business content 2LIS_12_VCITM . I using DELTA load every day event trigger by R/3 and we start extract the data from R/3. Now the Issue is there are mis match qty between

  • Having problems compiling

    I have jdk1.3.1 and just downloaded it to upgrade from jdk1.1.8. I also have the recent j2se program. I have bought a book from the year 2002 and have installed jdk1.3.1 from it. I was trying to compile an example from the book but It gave me an erro

  • Control file information

    dear. Oracle by default creates three control files, do these control files contain same information , what if we loose the control file control1.ctl, can we restore it from the other two. thanks and regards VIJAY