List of CONTENT CONVERSION PARAMETERS
Hello Experts,
Can any one list out all the content conversion parameters. i.e like
<rowset structure>.fieldName
<roeset structure>.endSeparator...... etc.
along with their explination.
Thanks inadvance.
for Example:See this Str..........
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_FILE_SEND_RAJEND_FCC xmlns:ns0="http://file_2_file_rajender">
<Recordset>
<HEADER>
<keyfield>01</keyfield>
<ORDER_NO>10001</ORDER_NO>
<NAME>xyz</NAME>
</HEADER>
<ITEM_DETAILS>
<keyfield>02</keyfield>
<MAT_TYPE>abc</MAT_TYPE>
<MAT_NO>sss</MAT_NO>
<AMOUNT>1212</AMOUNT>
<DATE>yyyymmdd</DATE>
</ITEM_DETAILS>
</Recordset>
</ns0:MT_FILE_SEND_RAJEND_FCC>
This are the Fcc Parameters:
Document name: It defines the Sender Message type which we have to send
Document name space: It defines the unique name for entire object.
Recordset Name: It is the Root node of the Element..(Recordset)
Recordset Structure: It is defined root node of the structure.....(Header, Item_details)
Keyfield name: it determines the header data or item data....(01,02)
Recordset Sequence: ascending/descending
HEADER.fieldNames..........................keyfield,ORDER_NO,NAME
HEADER.fieldSeparator...................,
HEADER.keyFieldValue.................01
HEADER.endSeparator.................'/n'
HEADER.processFieldNames..............from Configuartion
ITEM_DETAILS.fieldNames............keyfield,MAT_TYPE,MAT_NO,AMOUNT,DATE
ITEM_DETAILS.fieldSeparator............,
ITEM_DETAILS.keyFieldValue.........02
ITEM_DETAILS.endSeparator..........'/n'
ITEM_DETAILS.processFieldNames............from Configuartion....
I hope this is much more for this scenario........
Similar Messages
-
Give me list of content conversion parameters in sap xi
Hello experts,
give me the list of file content conversion parameters (like <node>.fieldSeparator)
with their explination.
Thanks inadvance.
ArjunHi,
Did you checked help.sap....
Sender Side:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Receiver Side:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
also check these blogs
File Receiver with Content Conversion By Jeya Kumar
The specified item was not found. By Shabarish Vijayakumar
NAB the TAB (File Adapter) By Sukumarar
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1) By Venkat Donela
Content conversion in Sender file adapter-- 2 new useful parameters By Sukumar Natrajan
Thanks
SaNv... -
What are the content conversion parameters for this structure
Hi All,
The below file is the text file. what are the content conversion parameters are required and what is the structure to create in the IR to convert into xml.
Schedule D - District/Port List (by District Code) [Produced13APR11]
District | Port | Name
Code | Code |
01 | | PORTLAND, ME
| 0101 | PORTLAND, ME
| 0102 | BANGOR, ME
| 0103 | EASTPORT, ME
| 0104 | JACKMAN, ME
| 0105 | VANCEBORO, ME
| 0106 | HOULTON, ME
| 0107 | FORT FAIRFIELD, ME
| 0108 | VAN BUREN, ME
| 0109 | MADAWASKA, ME
| 0110 | FORT KENT, ME
| 0111 | BATH, ME
| 0112 | BAR HARBOR, ME
| 0115 | CALAIS, ME
| 0118 | LIMESTONE, ME
| 0121 | ROCKLAND, ME
| 0122 | JONESPORT, ME
| 0127 | BRIDGEWATER, ME
| 0131 | PORTSMOUTH, NH
| 0132 | BELFAST, ME
| 0152 | SEARSPORT, ME
| 0181 | LEBANON AIRPORT
| 0182 | MANCHESTER USER FEE AIRPORT, NH
02 | | ST. ALBANS, VT
| 0201 | ST. ALBANS, VT
| 0203 | RICHFORD, VT
| 0206 | BEECHER FALLS, VT
| 0207 | BURLINGTON, VT
| 0209 | DERBY LINE, VT
| 0211 | NORTON, VT
| 0212 | HIGHGATE SPRINGS/ALBURGsince in this case you dont seem to have a key value to figure out what your header is, it is better to go for a two level mapping. i.e first read all the data - each line as an xml tag. and in the first mapping group it as required and then use it for your original mapping.
Regards,
Ninu -
What r the content conversion parameters
Hi All
This link contains the text file.
http://www.census.gov/foreign-trade/d/dist.txt
what are the content conversion parameters are required to convert that text to xml.Make it simple recordset structure as below ...
Details
----------->District code
----------->Port code
-----------> Name
Recordset structure Details, *
Details.fieldSeparator :
Details.endSeparator 'nl'
Details.fieldNames : District code, Port code, Name -
What are the content conversion parameters
Hi All
This link contains the text file.
http://www.census.gov/foreign-trade/schedules/d/dist.txt
what are the content conversion parameters are required to convert that text to xml.<sen_dt>
<prefix>
<heads>
<dc>
<pc>
<name>
<main>
<dcno>
<pcno>
<name1>
<rec_dt>
<prefix>
<District_code> District code optional
<port_code> port code 1
<name> name
<main>
<District_code_no>
<port_code_no>
<name1>
content conversion
document name:<sen_dt>
document namespace:http::----
document offset:--
recordset name:input
recordset structure:heads,1,main,*
recordset sequence:Ascending
recordset per message:----
keyfield name:---
prefix.fieldfixedlengths:---
prefix.endSeparator:---
prefix.fieldNames;---
prefix.keyFieldvalue:--
prefix.keyFieldlnStructure:---
main.fieldFixedLengths:9,
main.fieldSeparator:|
main.endSeparator:'nl'
main.fieldNames:district code,port code,name
main.keyFieldValue:
main.keyFieldlnStructure: -
File Content Conversion Parameters in FIle Adapter
Hi
I am doing a scenario - XML file to Text file using File content conversion parameters in Receiver File Adapter Channel.
I given FCC Parameters like:
DATA.addHeaderLine - '0'
DATA.fieldSeparator - ,
DATA.endSeparator - 'nl'
But im getting error in Receiver File Adapter as - fieldSeparator not specified.
i would be greatful if any one help me.
Regards
RajeshHi Rajesh,
There are lot of blogs which explain File Content Conversion in different scenarios:-
/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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/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/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
I hope this helps.
Regards.
Praveen -
Content conversion parameters for fixed length file
Hi,
Hey i have a small doubt.My input is like this
99443 123213 232234 12312 127544 23423
Here i have four recorsetnames namely HEADER1,HEADER2,HEADER3,HEADER4,HEADER5,HEADER6 all the recordsets are of same size but the lengths of the fields in it vary so i specified the following parameters
HEADER1.fieldFixedLengths=1,3,1
HEADER1.fieldNames=value1,value2,value3
HEADER1.endseperator=" "
HEADER2.fieldFixedLengths=1,3,2
HEADER2.fieldNames=value1,value2,value3
HEADER2.endseperator=" "
MY OUPUT XML STRUCTURE SHOULD BE like this
<header1>
<value1>9<\value1>
<value2>944<\value2>
<value3>3<\value3>
<\header1>
<header2>
<value1>1<\value1>
<value2>232<\value2>
<value3>13<\value3>
<\header2>
Is the content conversion parameters i specified enough for that. I wanted to know how would it know the begin of the next recordset(ie the seperation between the two recordsets) .Please help me its vey urgent
Thanks in advance
SriandhAre header 1 fields always going to occur first , then header 2 and so on?
By default file adapters do not support Nested Strcutures and so if the sequence is going to be the same and all of these have an occurence of 1..1 then things will work.
But if there is going to be an occurnece of * then you will need to use KeyFields.
Regards
Bhavesh -
I am trying doing content conversion text file to text file with one communication channel emisor on the 'Content Conversion' parameters shown below:
Document Name: mt_DatosMaestros
Document Namespace:urn:Bais:DatosMaestros
Recordset Structure: mt_actividad_comprador,,mt_canal,,mt_clase_ruta_dist,,mt_clase_ruta_prevta,,mt_cuenta_clave,,mt_forma_pago,,mt_franquicia,,mt_int_comp,,mt_jefe_com,,mt_nivel_socioec,,mt_prog_lealtad,,mt_sector,,mt_subcanal,,mt_tamano_cte,,mt_tipo_venta,,mt_zona,,mt_categoria,,mt_empaque,,mt_familia,,mt_lanzamiento,,mt_lista_precios,,mt_marca,,mt_presentacion,,mt_propietario,,mt_retornabilidad,,mt_sabor,,mt_segmento,,mt_tamano,,mt_tipo_articulo,,mt_Listas_prec,,mt_promotor,,mt_exclusivo,,mt_estado,,mt_municipio,,mt_ciudad,,mt_tipoentrega,,mt_modoventa,,mt_tiempoent,,mt_Tipo_Visita,*
Recordset Sequence: Variable
Recordsets per Message: 1
Key Field Name: tipo
Key Field Type: Integer
The parameters I used are shown below:
mt_actividad_comprador.fieldSeparator ;
mt_actividad_comprador.fieldNames tipo,idioma,actividad,desccorta,descmedia,desclarga
ignoreRecordsetName true
mt_actividad_comprador.keyFieldValue 14
mt_actividad_comprador.keyFieldInStructure ignore
mt_canal.fieldSeparator ;
mt_canal.fieldNames tipo,idioma,canal,desccorta,descmedia,desclarga
mt_canal.keyFieldValue 15
mt_canal.keyFieldInStructure iggnore
mt_clase_ruta_dist.fieldSeparator ;
mt_clase_ruta_dist.fieldNames tipo,idioma,claserutadist,desccorta,descmedia,desclarga
Above i done but i dont know how send this datos to text file for each Recordset Structure according
to keyFieldValue and with one communication channel receptor
I do not want multi-channel receptors i need that the channel receptor write different text files according to keyFieldValue someone can help me?
ThanksRaj
the structure I mentioned above was an example actually I have not finished the emisor channel
this is the source file (LCRECVTAS03.csv):
D56,0000040382,181.154,CU,225.299,CU,-19.6
D56,0000040388,527.757,CU,628.123,CU,-16.0
D56,0000040396,347.057,CU,324.896,CU,6.8
D56,0000040398,159.600,CU,246.674,CU,-35.3
D56,0000040410,380.983,CU,489.303,CU,-22.1
D56,0000040414,78.380,CU,45.000,CU,74.2
D56,0000040416,177.274,CU,188.187,CU,-5.8
D56,0000040418,94.121,CU,180.041,CU,-47.7
D56,0000040423,89.467,CU,205.812,CU,-56.5
D56,0000040437,189.252,CU,238.311,CU,-20.6
D56,0000040442,100.029,CU,108.019,CU,-7.4
D56,0000040445,140.207,CU,154.544,CU,-9.3
D56,0000040447,120.543,CU,141.820,CU,-15.0
D56,0000040450,169.213,CU,191.566,CU,-11.7
D56,0000040458,128.838,CU,234.496,CU,-45.1
this is the text file (Clients.txt) on how you want it:
00403820022500181.D56
00403880062800528.D56
00403960032500347.D56
00403980024700160.D56
00404100048900381.D56
00404140004500078.D56
00404160018800177.D56
00404180018000094.D56
00404230020600089.D56
00404370023800189.D56
00404420010800100.D56
00404450015500140.D56
00404470014200121.D56
00404500019200169.D56
00404580023400129.D56
00404600012400097.D56
00404610020800225.D56
00404640032100088.D56
Thanks Raj !! -
Regarding content conversion parameters
Hi,
Can anyone send me a blog that completely explains in detail about each and every content conversion parameters?Need complete info about ALL those parameters
Thanks in AdvanceHi Rambabu,
Try to implement scenarios in these weblogs...it cover almost all type of scenarios
/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/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
Also go through this :
Converting File Content in the Sender Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
Converting File Content in the Receiver Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Maheshwari. -
File Adapter - Content conversion parameters at Receiver
Hi all,
I'm trying to translate a XML message to a text line file.
My XML message is this:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Proveedor_100011 xmlns:ns1="http://sap.com/xi/webservices/buyordint">
<config>
<directory>c:/tmp</directory>
<filename>dynamicFile3.txt</filename>
</config>
<root><string>Header;423423</string>
<lines>
<value>LINE;</value>
</lines>
</root>
</ns1:Proveedor_100011>
I only want to write to text file the "root" TAG content.
I try different "Content conversion parameters" in the integration builder (configuration)
For example:
RecordSet Structure: root
root.addHeaderLine 0
root.fieldSeparator ;
root.endSeparator ;
but the better result is all XML content.
Can someone tell me how to skip "Config" TAG and only write the "ROOT" one?
I'll apreciate any help.
Thanks in advance,
Diego.Hi Sravya,
I've tried again without better luck.
I change the root element of my message from
Proveedor_100011 to Proveedor100011. (removed underscore)
I created the next message as in your weblog:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/webservices/buyordint" targetNamespace="http://sap.com/xi/webservices/buyordint">
<xsd:element name="Proveedor100011" type="Proveedor100011" />
<xsd:complexType name="Proveedor100011">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
54650790d48f11dab96c001438eb3b44
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="root">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f20d48e11dab854d06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="head" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f21d48e11da8f1dd06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="rows" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f22d48e11da894ad06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f23d48e11dab889d06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="filenode">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f24d48e11daab91d06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="filename" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f25d48e11da8becd06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="filepath" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
45f01f26d48e11dac56cd06ec0a8004a
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<Proveedor100011>
<root>
<rows>
<value></value>
</rows>
</root>
<filenode>
<filename></filename>
<filepath></filepath>
</filenode>
</Proveedor100011>
I've tried to set "Recordset Structure" in file adapter configuration to "root,filenode" and to "Proveedor110001, filenode" but no output is writed
We are using XI version: SAPKB64015, which version did you use in your weblog?
Thanks and regards,
Diego. -
Sender content conversion parameters
what wld be the sender content conversion parameters for the following structure?
MessageType 1-1
Records 1-1
File 1-unbounded
thanksHi,
If you have not come across:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
would be of help.
Regards,
Manjusha. -
CONTENT CONVERSION PARAMETERS IN XI
Hello guyz,
im following a certain procedure in XI ,it said that i need to enter the content conversion parameters as follows:
document name :
document namespace and others
and the name: value
contact.record.fieldseparator ;
contact.record.endseparator nl
contact.record.fieldnames firstname,lastname
this is under integration directory, in business system in communication channel.
But i dont know where can I find it in that module.
Please help.
Thanks in advance
aVaDuDzHi,
file content conversion parameters change based on ur file data.
if its Fixed length then u have to use certain parameters and if its separated by some chatactor then u have u use certain parameters.
refer the below links to understand;
Converting File Content in a Sender Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
Converting File Content in the Receiver Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
Sender -
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Key value:
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.
NAB the TAB (File Adapter)
NAB the TAB (File Adapter)
Receiver FCC no need of Endseparator
File Adapter (Receiver) - Are we "really" sure about the concepts?
Receiver-
File Receiver with Content Conversion
chirag -
Problem with end seperator in file content conversion parameters
Hi All
I have a proxy to file scenario, and i am writing the file using file content conversion.
In my message type, there can be multiple object records in a single data record, as shown here:
<Data_Record>
<Field1>111</Field1>
<Field2>222</Field2>
<Object_Record>
<Field3>333</Field3>
<Field4>444</Field4>
</Object_Record>
</Data_Record>
Recordset Structure: Data_Record, Object_Record
Content conversion parameters:
Data_Record.fieldseperator: ,
Data_Record.end_seperator: 'nl'
Object_Record.fieldseperator: ,
Object_Record.end_seperator: 'nl'
My requirement is, every data record should be followed by new line character and every object record should be followed by new line character:
111,222(new line character)
333,444(new line character)
But, my current output is:
111,222,333,444(new line character)
The problem is, as the data record ends only after object record, i am getting new line character only after object record. (technically, the end tag of data record occurs only after the end tag of object record).
Now, how can i get a new line character after data record and after object record?
Thanks
ChandraHi Sekhar,
We know the input which you are trying to use(in XML ).
Can you please tell us the output which you are expecting here after using ContentConversion at receiver side.
Regards,
Prakash. -
Content conversion parameters necessary for fixed length file
Hi,
I new to xi.The scenario is that i have to handle a fixed length file where the records repeat after every 80 characters.Can anyone help me as to how thw identify the start of every record based on length
thanks and regards ,
srinadhHi,
Hey i have a small doubt.My input is like this
99443 123213 232234 12312 127544 23423
Here i have four recorsetnames namely HEADER1,HEADER2,HEADER3,HEADER4,HEADER5,HEADER6 all the recordsets are of same size but the lengths of the fields in it vary so i specified the following parameters
HEADER1.fieldFixedLengths=1,3,1
HEADER1.fieldNames=value1,value2,value3
HEADER1.endseperator=" "
HEADER2.fieldFixedLengths=1,3,2
HEADER2.fieldNames=value1,value2,value3
HEADER2.endseperator=" "
MY OUPUT XML STRUCTURE SHOULD BE like this
<header1>
<value1>9<\value1>
<value2>944<\value2>
<value3>3<\value3>
<\header1>
<header2>
<value1>1<\value1>
<value2>232<\value2>
<value3>13<\value3>
<\header2>
Is the content conversion parameters i specified enough for that. I wanted to know how would it know the begin of the next recordset(ie the seperation between the two recordsets) .Please help me its vey urgent
Thanks in advance
Sriandh -
Content Conversion Parameters in Communication Channel
Hi,
I have a requiremnet to develop:
Scenario is SAP to Legacy System
Based on Mapping Sheet, I have defined Data types for both SAP and Legacy system. The Data structure is
There is a root node IS with occurance 1-n. In this node there is another node MS with occurance 1-n. This MS contains another node MI with occurance 1-n. MI contains MA node with occurence 1-n.Similarly MA contains MT node with occurance 1-n.
IS -> MS -> MI -> MA -> MT all with occurance 1-n.
Can anyone please help me in defining Content Conversion Parameters and Variable Substitution in Receiver Communication Channel.
Regards,
Deepak RajIS -> MS -> MI -> MA -> MT all with occurance 1-n
Your requirement seems to match with that mentioned in this blog:
/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
The blog does not mention the use of FCC...instead uses functionalities in mapping to get flat file....
Regards,
Abhishek.
Maybe you are looking for
-
Problem with ipad 2 and push notifications
Hi, first of all excuse me for my english but i am italian. I have a problem with my ipad 2 16gb only wifi, i have activated the push notifications of several app (like twitbird or IM+) but when i close this app i don't receive the pop up notificatio
-
Wondering if anyone else has come across this issue....I must of hit an awful evil key because for the third time deep into an edit I traced back to my intro to find most of the audio pulled a Houdini on me and disappeared. I've been through a tough
-
IPad saved photos do not appear in iPhoto*
I have about 20 photos (screenshots) saved in my iPad photo album but when I open image capture or iPhoto they both say that there are no photos available for import. How do I transfer these images over? I also have photo sync on in my iPad settings
-
Help in strategy for Migrating to MPLS from PRN cloud Same provider
Dear, We are planning to migrate to MPLS from PRN using same provider, I have about 12 sites to migrate, new circuits have been provisioned and new routers are ready to be shipped to each site for installation. Now, I am facing a dilemma, briefly spe
-
Consuming Web Service with Flash 5
Is there any way of implementing this? If so, are there any documents/livedocs for flash 5....