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
Similar Messages
-
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
VenkatHi,
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 -
Attachment of original message in file sender adapter content conversion
Hi,
does anybody know how I can configure a file sender communication channel (with content conversion) so that the original file is added to the XI SOAP message as attachment? Maybe this is just a parameter in "Advanced" tab. (The content conversion itself is not an issue.)
The result should be the "Main Document" (XML-message) and the "original document" as two attachments in the SOAP payload.
The reason for this is that the original file should be archived with the XML message as it was before the XML content conversion of the file sender adapter took place.
Thanks,
Philipporiginal file is added to the XI SOAP message as attachment?
The "Advanced" tab -> additional files added in file adapter should act as the attachment to soap receiver adapter if u select the "Keep Attachments" option in soap receiver communication channel.
What do u want to do in FCC is a bit unclear?
Regards,
Prateek -
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 PMHi
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) -
File sender adapter: Content conversion for very deep nested structure
Hi all
I have a file which looks like this
HDOCKET 9800000660980000061911062009AA123456bbWM100012349800000619
DDOCKET_TEST001 4012YAG1
WZOA00000000010000000001
WZOA00000000020000000002
WZOB00000000030000000003
IAAXX000001
IAAXX000002
C0000000000000000000100000000000000000001000000000000000000020000000000000000000300000000000000000004
T2
and my structure is
Header - 1
Detail - 0....Unbounded
Bag - 0.....Unbounded (sub node of detail)
Track - 0.....Unbounded (sub node of detail)
Customer - 0.....Unbounded (sub node of detail)
Trailer - 1
and in the file sender adapter i mentioned the following content conversion setting
HEADER,1,DETAIL,*,Bag,*,Track,*,Customer,*,TRAILER,*
But when i go and see in the monitoring i received the following conversion
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
<HEADER>
<ID>H</ID>
<INT>DD</INT>
<CAR>9899999660</CAR>
<CUS>9899999619</CUS>
<POST>11062009</POST>
<NUMBER>AA123456bbWM10001234</NUMBER>
<ACC>9899999619</ACC>
</HEADER>
<DETAIL>
<ID>D</ID>
<Bag>DOCKET_TEST001</Bag>
<S>4012</S>
<Code>YAG</Code>
<mat>1</mat>
<count/>
<Mixed />
</DETAIL>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
<TRAILER>
<ID>T</ID>
<Count>2</Count>
</TRAILER>
</ns:MT_REQ>
whereas i wanted it like:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
<HEADER>
<ID>H</ID>
<INT>DD</INT>
<CAR>9899999660</CAR>
<CUS>9899999619</CUS>
<POST>11062009</POST>
<NUMBER>AA123456bbWM10001234</NUMBER>
<ACC>9899999619</ACC>
</HEADER>
<DETAIL>
<ID>D</ID>
<Bag>DD_TEST001</Bag>
<S>4012</S>
<Code>egg</Code>
<mat>1</mat>
<count/>
<Mixed />
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
</DETAIL>
<DETAIL>
<ID>D</ID>
<Bag>DD_TEST002</Bag>
<S>4012</S>
<Code>egg</Code>
<mat>1</mat>
<count/>
<Mixed />
<Bag>
<ID>W</ID>
<Zone>zzzzzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
</DETAIL>
<TRAILER>
<ID>T</ID>
<Count>2</Count>
</TRAILER>
</ns:MT_REQ>
i.e. i need all Bag ,Track and Customer inside detail tag.
could anyone help me in this..i've already searched SDN and got some link as useful but none of them were totally related.
Regards
NainaNaina
Pls. check my forum link, i had the single level hierarchy XML file which I converted into nested structure & then into flat file.
File Conversion in Rec File Adapter with subnodes
This can give you an idea how to go ahead. Let me know in case you need any more info about this. -
File Sender Adapter: Content Conversion :Mandatory parameter 'xml.keyfieldN
i have a scenario where i had to pick a flat file and post it to RFC.
on the basis of keyfields i had to pick the values
<b>but i am getting mandatort field xml.keyfieldnamec: no value</b>
my flat file is of type :
E2EDL20 0200083662685
E2EDL24 02090000110786293200PCE
E2EDL24 02090000210786301895PCE
E2EDL20 0200083662685
E2EDL24 02090000110786293200PCE
E2EDL24 02090000210786301895PCE
My FCC parameters are :
RecordSet Structure :E2ED20,,E2E24,
RecordSet sequence :Ascending
Keyfield Name: KG
E2ED20.fieldNames KEY01,VBELN
E2ED20.keyFieldName KEY01
E2ED20.keyFieldValue 'E2EEDL20'
E2ED20.fieldFixedLengths 7,33
E2ED20.endSeparator 'nl'
E2ED20.processFieldNames fromConfiguration
E2E24.keyFieldName KEY02
E2E24.keyFieldValue 'E2EEDL24'
E2E24.fieldNames KEY02,POSNR,CHARG,LFIMG,MEINS
E2E24.fieldFixedLengths 7,29,10,4,3
E2E24.endSeparator 'nl'
E2E24.processFieldNames fromConfiguration
KEY01,KEY02 i had 2 field added in DataType to identify :E2EEDL20,E2EEDL24.
THxHi,
The FCC u have provided..
RecordSet Structure :E2ED20,,E2E24,
RecordSet sequence :Ascending
<b>>>Keyfield Name: KG</b>
E2ED20.fieldNames KEY01,VBELN
<b>>>E2ED20.keyFieldName KEY01</b>
E2ED20.keyFieldValue 'E2EEDL20'
E2ED20.fieldFixedLengths 7,33
E2ED20.endSeparator 'nl'
E2ED20.processFieldNames fromConfiguration
U have specified the keyfield two times....
either u can remove <b>>>E2ED20.keyFieldName KEY01</b> from fcc and change ut DT to have a field KG to hold the keyvalue or
u can remove <b>>>Keyfield Name: KG</b> so that the field specified by the <b>field.keyFieldName</b> is used to identify the keyfield...
Regards
Santhosh
Remember to set the thread to solved when you have received a solution -
File Synchronous with Content conversion
Hi
I am doing the scenario file-xi-rfc-file basically sysnchronous scenario..if i used the XML file as input its working fine ...but if used he CSV file as a input fle is licking up but i am not getting any response..
Any one have any idea
venkatHI SV
follow these links to get step by step
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=filetorfctofile&adv=false&sortby=cm_rnd_rankvalue
hope this will solve your problem
regards
sandeep
If helpful kindly reward points -
File Sender with CC Error handling
When using the file sender with content conversion we often receive
Parsing errors in the AFW monitoring due to bad messages.
Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
another Q: In higher SPs of XI there is the option to archive error messages,is it possible to raise an alert for the parsing problem even though the file was removed by the Comm. channel to the archive folder.
points will be rewarded.
Regards,
Nimrod.Ghi,
Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
yes it is possible thru CCMS
check the below links
Configuring scenario specific E-mail alerts in XI-CCMS: Part - 1,2,3
/people/aravindh.prasanna/blog
XI : Configuring CCMS Monitoring for XI- Part I
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
XI : GRMG Customizing for XI CCMS Heartbeat Monitoring Part II
/people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii
regards'
chandrakanth -
Problem with File content conversion and parameters
Hi experts,
What is the use of file content conversion that is available in file adapter? For what cases we can use it?
What do the different content conversion parameters mean?
Kindly help
Thanks
GopalHi,
We use the file content convertion to conver the flat file that is text file into XML,
File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
Check some links which will tell how the convertion is done.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if helpful -
Question about File Content Conversion and parent-child relationships...
Hello!
I have read probably every blog, article and SAP Help document on the topic, but I am stuck on this one. I am trying to convert a General Ledger flat file to an IDoc using the classic file --> IDoc scenario. The setup is done and working, but the IDocs are formatted incorrectly and I believe at least part of the reason is how I am converting the file content.
The root of my problem is that the flat file has a parent-child relationship between the document header and the document item and I want to maintain that since the IDoc type (FIDCCP01) has the same structure in the BKPF and BSEG segments.
Here is the flat (non-XML) file layout that is coming into the file adapter:
FileHeader
DocumentHeader
DocumentItem
DocumentHeader
DocumentItem
and so on (until the number of documents is complete
I would really like the content to be converted so that the line items stay under their parent document headers like this:
<FileHeader></FileHeader>
<DocumentHeader>
<ItemHeader>
</ItemHeader>
</DocumentHeader>
<DocumentHeader>
<ItemHeader>
</ItemHeader>
</DocumentHeader>
But I keep getting this, where it lists the document headers first (one after another), and then all of the line items after the document headers like this:
<FileHeader></FileHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<ItemHeader></ItemHeader>
Is is possible to maintain that parent-child relationship from the flat file and pass it over to the XML?
Thanks,
JohnHi,
Check some links on FCC.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if Helpful -
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,
NaamaHi 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 -
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 to IDOC with content conversion
Hi
I am trying to do a file content conversion scenario. This is a fixed length file which needs to be converted to idoc.
I have configured IR and ID (FCC parameters added). While testing the end-end scenario we are able to see that sender adapter has successfully read the message , but we are not able to see any message in SXMB_MONI.
Please helpFollowing is the file structure
"RecordType HeaderField2 HeaderField3"
"RecordType LineItem2 LineItem3"
"RecordType TrailerField2 TrailerField3"
Following are content conversion Parameters [KeyFieldName -> RecordType]
HeaderRow.beginSeparator -> '"'
HeaderRow.fieldFixedLengths -> 10,20,10 (for ex)
HeaderRow.fieldNames -> RecordType,HeaderField2,HeaderField3
HeaderRow.keyFieldValue -> 01 (COnstant)
HeaderRow1.endSeparator -> '"'
Similar for line item and trailer
Is there any way to check our input file against the content conversion parameters to make sure that they are correct
Thanks -
Sender JMS Content Conversion - How to process multiple records
Hi All,
I use a Sender JMS Channel with Content Conversion.
My message structure is like this
<root>
<rec> </rec>
<rec> </rec>
</root>
I have fixed length flat file with multiple records.
i have given the parameters FixedFieldLength, FieldNames and StructureTitle.
Which parameter i need to use specify the RecordDelimiter
Because my input file will have more than record
my input file -
xxxx
yyyy
if i dont specify any delimiter value, in the module parameter,then for each newline of the file, a new mesage is created.
<root>
<rec>xxxx</rec>
<root>
<root>
<rec>yyyy</rec>
<root>
But i want the output to be like this
<root>
<rec>xxxx<rec>
<rec>yyyy</rec>
</root>hi,
You can do your FCC for sender JMS by going through page 5 of this document.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710 -
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
ChrisDear 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
Maybe you are looking for
-
I have an activity log on my mac from Dec. 7th, at 12:48pm-12:49pm...no one was anywhere near the mac at the time, as we were all downstairs having tea with family. Is it possible for the log to happen without anyone accessing the computer? it was th
-
In JDBC 4.0 specification, the @Select annotation is used to obtain a result set with a SQL query. According to JDBC 4.0 specification, the result set is read-only by defaullt. If the result set is required to be modified, annotation element readOnly
-
Uh Oh, Students Grade Themselves a "C" - or Worse - On Personal Finance
As I have a child going off pretty soon to college, I was laughing at the truth of a brief article posted regarding how kids these days have not really prepared regarding personal finance and have a few misconceptions. Stats in the article are rathe
-
How should I format my external USB2.0 Drive
I just bought an external usb 2.0 western digital drive and would like to know what is the best way to format the drive so that I can read and write on both my mac book pro and my pc. My pc is running windows xp and my mbp is running leopard. For pro
-
okay so i had the old version of itunes and it worked well then i tryed to install the new version, itunes 10 but i didnt uninstall the version i had before installing the new one then i restarted my computer and my itunes was still the old version s