Query on Content conversion for Receiver SFTP Adapter
Hi Experts,
We have the receiver structre as follows:
<DT_Receiever>
<Header>
<field1>abc<\field1>
<field2>1234<\field2>
<\Header>
<Detail>
<field3>nhj<\field3>
<field4>bshsrt<\field4>
<\Detail>
<\DT_Receiever>
We should do content conversion for the above structure using SFTP adapter at the receiver end.
Kindly provide us some tips in achieving the same.
Thanks
Suganya.
Hi Suganya,
You can use message tranform bean for ur case.
U have to use "StructXML2Plain"
Please follow below link for ur reference If you face any problem please let me know....
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Thanks,
Enivass
Similar Messages
-
Problem with file content conversion in receiver file adapter
Hi All
I have a problem with file content conversion in receiver file adapter.
This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
These are the content conversion parameters:
Header_Record.fieldSeparator = ,
Header_Record.endSeparator = 'nl'
Claim_Record.fieldSeparator = ,
Claim_Record.endSeparator = 'nl'
Check_Rec.fieldSeparator = ,
Check_Rec.endSeparator = 'nl'
In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
But, Adapter status is RED with the following error message:
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
In communication channel monitoring, i get the following error message:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
What is going wrong here? Can anyone please tell me?
Thanks
ChandraPosted in Incorrect forum.
Posted again in Process Integration forum -
Hierarchy on file content conversion for receiver?
Y'all,
I'm stuck in this problem and I haven't find a solution to solved it... so, all your clues and reply's are really appreciate...
The basic problem is a File content conversion for a receiver C.C. that is not working and it's raising some errors in the RWB, I have gone thru some blogs but I still having a lot of doubts...
I want to produce a flat TXT file that will have a line for every node or subnode, it doesn't matter if it's not represented as hierarchical structure like this one... but the records must be produced or written in the same order...
Man_Del_Header as main node with Man_Header, Delete_Detail and Trailer as subnodes...
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_DISTRIBUTOR_DELETE xmlns:ns1="http://xxx.com/xi/POSout">
<Man_Del_Header>
<MD_Header>|HM|1|</MD_Header>
<MD_StoreNumber>051</MD_StoreNumber>
<MD_filler1>|2|0000|3|</MD_filler1>
<MD_EffDate>09/17/07</MD_EffDate>
<MD_filler2>|4|005|5|dsdvnd|7|</MD_filler2>
<MD_BatchNumber>500</MD_BatchNumber>
<MD_fiiller3>|8|</MD_fiiller3>
<MD_BatchDescr>DELETE PREV CST BTCH</MD_BatchDescr>
<MD_filler4>|10|D|</MD_filler4>
<MD_linef>1</MD_linef>
<Man_Header>
<Man_Header>|HM|1|</Man_Header>
<Man_StoreNumber>051</Man_StoreNumber>
<Man_filler1>|2|0000|3|</Man_filler1>
<Man_EffDate>09/17/07</Man_EffDate>
<Man_filler2>|4|005|5|dsdvnd|7|</Man_filler2>
<Man_BatchNumber>500</Man_BatchNumber>
<Man_filler3>|8|</Man_filler3>
<Man_BatchDescription>Delete Distributor</Man_BatchDescription>
<Man_filler4>|</Man_filler4>
<Man_linef>Constant</Man_linef>
</Man_Header>
<Delete_Detail>
<Delete_Detail>|D|901|170|</Delete_Detail>
<Delete_DistribNumber>0000005010</Delete_DistribNumber>
<filler9>|</filler9>
<delete_linef>1</delete_linef>
</Delete_Detail>
<Delete_Detail>
<Delete_Detail>|D|901|170|</Delete_Detail>
<Delete_DistribNumber>0000005011</Delete_DistribNumber>
<filler9>|</filler9>
<delete_linef>1</delete_linef>
</Delete_Detail>
<Trailer>
<Trailer>|T|1|</Trailer>
<TotalRecCnt>00005</TotalRecCnt>
<filler1>|2|</filler1>
<NoOfHeaders>00002</NoOfHeaders>
<filler2>|3|</filler2>
<NoOfAdds>00000</NoOfAdds>
<filler3>|4|</filler3>
<NoOfChanges>00000</NoOfChanges>
<filler4>|5|</filler4>
<NoOfDeletes>00002</NoOfDeletes>
<filler5>|13|</filler5>
<NoOfSubstitution>00000</NoOfSubstitution>
<filler6>|</filler6>
<linef>1</linef>
</Trailer>
</Man_Del_Header>
<Man_Del_Header>
<MD_Header>|HM|1|</MD_Header>
<MD_StoreNumber>061</MD_StoreNumber>
<MD_filler1>|2|0000|3|</MD_filler1>
<MD_EffDate>09/17/07</MD_EffDate>
<MD_filler2>|4|005|5|dsdvnd|7|</MD_filler2>
<MD_BatchNumber>500</MD_BatchNumber>
<MD_fiiller3>|8|</MD_fiiller3>
<MD_BatchDescr>DELETE PREV CST BTCH</MD_BatchDescr>
<MD_filler4>|10|D|</MD_filler4>
<MD_linef>1</MD_linef>
<Man_Header>
<Man_Header>|HM|1|</Man_Header>
<Man_StoreNumber>061</Man_StoreNumber>
<Man_filler1>|2|0000|3|</Man_filler1>
<Man_EffDate>09/17/07</Man_EffDate>
<Man_filler2>|4|005|5|dsdvnd|7|</Man_filler2>
<Man_BatchNumber>500</Man_BatchNumber>
<Man_filler3>|8|</Man_filler3>
<Man_BatchDescription>Delete Distributor</Man_BatchDescription>
<Man_filler4>|</Man_filler4>
<Man_linef>Constant</Man_linef>
</Man_Header>
<Delete_Detail>
<Delete_Detail>|D|901|170|</Delete_Detail>
<Delete_DistribNumber>0000005012</Delete_DistribNumber>
<filler9>|</filler9>
<delete_linef>1</delete_linef>
</Delete_Detail>
<Delete_Detail>
<Delete_Detail>|D|901|170|</Delete_Detail>
<Delete_DistribNumber>0000005013</Delete_DistribNumber>
<filler9>|</filler9>
<delete_linef>1</delete_linef>
</Delete_Detail>
<Delete_Detail>
<Delete_Detail>|D|901|170|</Delete_Detail>
<Delete_DistribNumber>0000005014</Delete_DistribNumber>
<filler9>|</filler9>
<delete_linef>1</delete_linef>
</Delete_Detail>
<Trailer>
<Trailer>|T|1|</Trailer>
<TotalRecCnt>00006</TotalRecCnt>
<filler1>|2|</filler1>
<NoOfHeaders>00002</NoOfHeaders>
<filler2>|3|</filler2>
<NoOfAdds>00000</NoOfAdds>
<filler3>|4|</filler3>
<NoOfChanges>00000</NoOfChanges>
<filler4>|5|</filler4>
<NoOfDeletes>00003</NoOfDeletes>
<filler5>|13|</filler5>
<NoOfSubstitution>00000</NoOfSubstitution>
<filler6>|</filler6>
<linef>1</linef>
</Trailer>
</Man_Del_Header>
</ns1:MT_DISTRIBUTOR_DELETE>
|HM|1|051|2|0000|3|09/17/07|4|005|5|dsdvnd|7|500|8|DELETE PREV CST BTCH|10|D|1
|HM|1|051|2|0000|3|09/17/07|4|005|5|dsdvnd|7|500|8|Delete Distributor|Constant
|D|901|170|0000005010|1
|D|901|170|0000005011|1
|T|1|00005|2|00002|3|00000|4|00000|5|00002|13|00000|1
|HM|1|061|2|0000|3|09/17/07|4|005|5|dsdvnd|7|500|8|DELETE PREV CST BTCH|10|D|1
|HM|1|061|2|0000|3|09/17/07|4|005|5|dsdvnd|7|500|8|Delete Distributor|Constant
|D|901|170|0000005012|1
|D|901|170|0000005013|1
|D|901|170|0000005014|1
|T|1|00006|2|00002|3|00000|4|00000|5|00003|13|00000|1
So as you can see, i wanna produce a flat file that will have line or record for each node, it doesn't matter that it has a hierarchy or a deeper level, it should be a simple flat file...
The thing is that i have been trying to setup the receiver comm. channel and it's raising some errors like Could not process due to error:
<i>java.lang.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 'XXXX')', probably configuration error in file adapter (XML parser error)'</i>
I have checked this blog:
/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
Unfortunately i don't know if there's another way to achieve this...Jerry,
it easy if you go with multi mapping concept and without BPM if you are above >XI3.0 SP14.and use Append mode in the receiver file adapter.
just create the target structure like root under that Man_Del_Header,Man_Header,Detail,Trailer at the same level but got be careful with occurences.
<b>Source:</b>
I think from your structure you have
Man_Del_Header (1-unb)
Man_Header (1-1)
detail (0-unb ) may be (1-unb)
trailer (1-1)
create <b>target DT</b> like:
ROOT
..Man_Del_Header (1-1)
..Man_Header (1-1)
..detail (0-unb ) may be (1-unb)
..trailer (1-1)
all are at same level under ROOT.
create MT,MI,MM,IM.
in MM just map correspoding fields and if you have any unbounded onces map the nodes too. and map Man_Del_Header in the source to MT_XYZ (important)
and in the MM go to MESSAGES tab and change the occurences of the target Message to 0-unbounded same way in the interface mapping 0-unbounded.
here it create anothe extra node in the mapping something like Message1,this is ok.
and in ID just create all other objects like as usual except creating Interface determination ,in that select the extended radio button.
in reciever File CC use FCC ,would be very simple in the recordsetstrcture give
your four nodes Man_Del_Header,Man_Header,Detail,Trailer.
and use either fixed or field seperator.use append mode in recv File CC otherwise it will generate files as many occurences your source "Man_Del_Header" has ,cos we are mapping it to the MT--xyz .
thats it you are ready to go...
if any error post back here again.
you can make use of this thread
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible (here there are two target DT ,but you just create one DT,remaining are similar)
good luck.
Babu -
REG: File content conversion in Receiver file adapter
HI Gurus,
I have the scenario like proxy to file with content conversion
my message type for the source like this
MT_SOURCE
-----||
|---ROW
------------||
|---LINE
target strucuture also same
MT_TARGET
-----||
|---ROW
------------||
|---LINE
i am using the following FCC parameters in receiver file adapter
LINE.fieldSeparator = ' '
LINE.fixedLineWidth = 90
LINE.lineSeparator = 'nl'
LINE.fieldFixedLengths = 200
LINE.endSeparator = 'nl'
the output file show the data differently in note pad when compare to word
word output
dgepvs 023456987
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
kgdd0016155710 SS Smw Ne 01
notepad out put
dgepvs 023456987 kgdd0016155710 SS Smw Ne 01 kgdd0016155710 SS Smw Ne 01 kgdd0016155710 SS Smw Ne 01 kgdd0016155710 SS Smw Ne 01 kgdd0016155710 SS Smw Ne 01
word output is the correct output wat i am expect but same out put i want in note pad can any help me out for this how can i resolve this
Thanks in advanceThere is nothing wrong in your content conversion parameters. This is pure editors interpretation for the next line character.
I would do in java program to fix this issue using '\r\n' You might want to try and see how that helps for notepad editor. -
File content conversion for receiver file structure(fixed length)
Hi Experts,
I am tryinng reciver file FCC for the following strcuture. it seems I have done some wrong configuration,and failing at conversion level. so experts please help me to get the correct content conversion parameters.
note : ( * Nothing can be altered at repository side * ) and the fields are fixed in length so the file needs to be fixed lentgh format.
Tree--Occ--
TYPE
SBLSALDATA--1..1--
SBLSALDATA
SALDATA----
1..1
Headrec----
1..1
XXX----
1..1
XXX----
1..1
XXX----
1..1
TotalDatarec----
1..Unbounded
YYY----
1..1
YYY----
1..1
YYY----
1..1
YYY----
1..1
LASTREC----
1..1
ZZZ----
1..1
ZZZ----
1..1
Thanks in advance.I have done in the same procedure as in above link. its not working either.
My receiver structure looks like below.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:TaxData xmlns:ns1="urn:XXXXXXXX">
<EmpTaxDat>
<Header>
<A/>
<B/>
<c/>
</Header>
<Detail>
<D/>
<e/>
<f/>
</Detail>
<Trail>
<g/>
<h/>
<i/>
</Trail>
</EmpTaxDat>
</ns1:TaxData>
Edited by: Harish.k on Jan 2, 2010 2:15 PM -
File Content Conversion in Receiver File Adapter
Hi Experts,
I got a requirement like "I have to read the below XML and convert into text file with '|' seperator".
Below is the XML structure.<Header> is 1..1 cardinality and <Item> is 0..n cardinality and <Response> is 0..1 cardinality.
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:Response xmlns:ns1="urn:test.com">
<Header>
<Header1>abc</Header1>
<Header2>def</Header2>
<Header3>ghi</Header3>
<Item>
<Item1>Item1Val1</Item1>
<Item2>Item1Val2</Item2>
</Item>
<Item>
<Item1>Item2Val1</Item1>
<Item2>Item2Val2</Item2>
</Item>
</Header>
<Response>
<Message>Some Values are Missing</Message>
<Status>E</Status>
</Response>
</ns1:Response>
I want to generate the file in the way that for every item one row should be generated and in every row the header(1..1) should get repeated.
And I don't want the response node in the file. I want to ignore it.The file structure should look like below:
abc | def | ghi | Item1Val1 | Item1Val2 |
abc | def | ghi | Item2Val1 | Item2Val2 |
Please let me know how the header should be repeated in every row. I need this very urgent.
Your help will be greatly appreciated.
Thanks,
SwapnikaHi Swapnika,
you have change your receiver message type as per your requirement.
for example
<Record>
</Header>
<item1>
<item2>
</Record>
in the mapping use OneAsMany node function to replicate the nodes.
http://****************/Tutorials/XI/NodeFunctions/Page5.htm
https://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
Explain node functions - Process Integration - SCN Wiki
Then use FCC.
how do you want to convert
like this abc | def | ghi | Item1Val1 | Item1Val2 |
or like below
abc | Item1Val1 | Item1Val2 |
abc Item1Val1 | Item1Val2 |
abc | Item1Val1 | Item1Val2 |
Regards,
Muni. -
Links/Documentation Content Conversion for SenderJMS/MQ adapter?
I spent hours to find SAP documentation for this, but I could not find. I look for the counterpart of StrictXml2PlainBean to transform plain text into xml, if it comes in via a sender JMS/MQ adapter.
Please provide me some links. Thanks you.Use MessageTransformBean
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Regards,
Prateek -
Regd file content conversion in receiver FTP adapter
Hi All,
I m trying to do FCC at receiver, i have to convert Idocxml in to a flat file.
Input structure is smthing like this:
MT_source
<Header>
<ZXw>test1<ZXw>
<ZYe>test2<ZYe>
<ZZR>test2<ZZR>
</Header>
<ZJDU>
<ZXd>xyz<ZXd>
<ZYE>wer<ZYE>
<ZZw>wer<ZZw>
</ZJDU>
I have to get the output as:
test1test2test2xyzwerwer..etc i mean to say i have not feildseparator and i have to revome all the tages in in put file and paste the only values in the output.Its like getting all the things in the same line.
it tried giving like . header.feildSeperater ""
ZJDU.feildseperater ""
I am very new to this,searched .. bt didnt get what to write when there is no feild seperator and i have to paste complete file in text format.
thanks
Anika> it tried giving like . header.feildSeperater ""
> ZJDU.feildseperater ""
>
I could see spelling mistate in the above line..... fieldSeparator
if the above setting didn't work. did u try with the running scripts after the adapter has finished it's job. You can replace the fieldSepartor with "" empty string. -
File content conversion for Receiver File
Hi,
I am using SAP PI 7.1
i am facing an error in the receiver file when using FCC.
my file structure is as below:
MT_file 1.....1
Itab_out 0.....1
item 0.....unbounded
STR 0....1
so in the receiver File C.C, i am giving the following FCC parameters:
item.fieldSeparator 'nl'
item.fieldFixedLengths 255
item.fieldNames STR
But i am getting the following error in Receiver CC
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '*.fieldSeparator' is missing *
pls let me know what could be the problemHello,
Define your FCC parameters as shown below.
Recordset Structure Itab_out,item
item.endSeparator 'nl'
item.fieldFixedLengths 255
Itab_out.fieldSeparator 'nl'
Note: You can either use field separator or fixed length both can't be used at same time.
Regards,
Sarvesh -
Content Conversion in Receiver File Adapter
Hi Guys,
I have a XML structure as shown below
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_REC xmlns:ns0="http://test.com">
- <TAG>
<NAME>XYZ</NAME>
</TAG>
- <RECORD>
<RECORD_DATA>line1</RECORD_DATA>
</RECORD>
- <RECORD>
<RECORD_DATA>line2</RECORD_DATA>
</RECORD>
- <RECORD>
<RECORD_DATA>line3</RECORD_DATA>
</RECORD>
</ns0:MT_REC>
<TAG> and <RECORD> are at the same level
I want to convert this to a flat file containing
line1
line2
line3
but i am getting the output file with below data
XYZ
line1
line2
line3
I Don't want XYZ in the output file
Could anyone tell me how to acheive this?
Thanks
KumarHi Kumar,
Using unix script to change or create filename is a burden like you have to maintain these scripts till your production system and it's a overhead to transport all these scripts with your scenario.
You can easily disable this node in final output which you don't require and at the same time use this node to create your filename, by using two additional parameters in the FCC:
Name.fieldFixedLengths = 0
Name.fixedLengthTooShortHandling = Cut.
This will remove the node from your final output.
Regards,
Shridhar.
Reward Points if this suggestion is helpful.
Message was edited by:
Shridhar -
Content Conversion in Receiver
Hi,
This is my target structure which i need to convert to text file. (File Content Conversion)
<b>Header1 1-1(Occurence)</b>
|_
Field1 1-1 (Occurence)
Field2 1-1 (Occurence)
<b>Header2 1-1(Occurence)</b>
|_
Field3 1-1 (Occurence)
Field4 1-1 (Occurence)
<b>Header3 1-1(Occurence)</b>
|_
Field5 1-1(Occurence)
<b>Header4 1-Unbounded(Occurence)</b>
|_
<i><b>SubHeader1 1-1 (Occurence)</b></i>
|_
Field6 1-1(Occurence)
<i><b>SubHeader2 1-1 (Occurence)</b></i>
|_
Field7 1-1(Occurence)
<i><b>Subheader3 1-Unbounded(Occurence)</b></i>
|_
Field8 1-1(Occurence)
Field9 1-1(Occurence)
<i><b>Subheader4 1-1</b></i>
|_
Field10 1-1 (Occurence)
<b>Header5 1-1 (Occurence)</b>
|_
Field11 1-1 (Occurence)
The target structure must be converted to a text fiel in the following format:
Header1
Header2
Header3
Subheader1
SubHeader2
SubHeader3(Repeats)
Subheader4
Subheader1
Subheader2
Subheader3(Repeats)
Subheader4
Header5
I have to make use of File Content Conversion. Please guide me as I am new to XI.
Thank you very much.
BestRegards,
PritsFor File Content Conversion in receiver file adapter, please refer to the following link,
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
I believe the file adapter support for two level of structure, in your case,
header1
subline1
subline2
should be OK. But need you to have some trial.
--Wenning -
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 -
Receiver SFTP adapter giving spaces between characters in the Output file
Hi PI Experts,
My Scenario is: Paymul (EDI file ) ECC -> PI -> SFTP server.
Source Sender File adapter able to pickup this Paymul D96A file and able to send messages to target SFTP server using SFTP receiver adapter.
But, Generated Output file having single space between each character. I am not using any content conversion modules in Receiver SFTP adapter.
Also not having any mappings to transform the messages. it is just pass through interface.
I have attached example Output file. I have changed the .Dat file to .txt just to attach here.
Could any one try to help me on this. Please let me know incase need any more details.
Thanks,
Govindu.Hi Govindu,
Please see if the below Endcoding settings wont resolve your issue.
File Type - Text
File Encoding - ISO-8859-1
Regards,
Jannus Botha -
Content Conversion for Sending Communication Channel using File Protocol
I have a file as follows:
CUSC,CRCA,OBAL,DATE
10197,0111,15250094.05,20071008
10758,0111,8131440.17,20071008
12939,0111,8212006.53,20071008
13129,0111,6953749.77,20071008
13331,0111,8607294.15,20071008
13579,0111,11972774.95,20071008
13676,0111,6636698.47,20071008
What is the content conversion that I can proceed with so that I can go with the mapping. I have to use File Adapter?
Please HelpHi,
Check below links for Content conversion.
/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 -
File Content Conversion in Sender File Adapter
Hi,
I am implementing a scenario, where I need to do Content conversion in My file Adapter.My input file is as follows
BGN00S-A200711281003ET4
REF38381012
DTP007D820071128
N1P5P5MicrosoftFI58-0612397
INSY18030XNAN
REFZZZZ666666666
DTP336D819970331
NM1ILIL1AdamsMarkE34666666666
PERIPIPHP770555-5555
N31470 Georgia Club Drive
N4StathamGA30666
DMGD819571022MM7
HD030HLTAE1D
My data type is as below.
<header>
<BGN>
<A></A>
<B></B>
<C></C>
<D></D>
</BGN>
<REF>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REF>
<DTP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DTP>
</header>
<Content>
<N1>
<A></A>
<B></B>
<C></C>
<D></D>
</N1>
<REFAR>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REFAR>
<DMP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DMP>
</Content>
My issue is, How do I set my parameter in Sender Comm channel for content conversion especially at record structure.
I have provided the value as Header,1,Content,*
But its not working.
If I do provide like
BGN_REC,,REF_REC,,DTP_REC,,N1_REC,,INS_REC,,NM1_REC,,PER_REC,,N3_REC,,N4_REC,,DMG_REC,,HD_REC,* then ,I am not getting above XML format. Please suggest or How can I modify my Data type which competes to configure in Channel
Thanks
ManmadhaHi All,
I am sorry for the Jumbled Content. I dont know what happened.
I should get the XML output as below.
header>
<BGN>
<A></A>
<B></B>
<C></C>
<D></D>
</BGN>
<REF>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REF>
<DTP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DTP>
</header>
<Content>
<N1>
<A></A>
<B></B>
<C></C>
<D></D>
</N1>
<REFAR>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REFAR>
<DMP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DMP>
</Content>
Maybe you are looking for
-
Setting up Airport Time Capsule
We will soon set up a Time Capsule and new iMac. Is there a preference to whether the iMac should be hardwired through the LAN Input, or connected wirelessly? Thanks. Edward
-
I'm new to Oracle. I have the following 3 table join which works in SQL Server. How should I rewrite this to work on Oracle? SELECT * FROM VP_A a INNER JOIN VP_E e ON a.PERSONNUM = e.PERSONNUM JOIN VP_H h ON e.PERSONNUM = h.PERSONNUM;
-
Troubleshooting packages with PCM after migration
In my lab i've migrated to cm 2012 and installed PCM, however the majority of my packages have a readiness state of "the directory name is invalid" The source files are .exe's. SCCM 2012 RC with PCM SP1 from the PCMTrace.log Microsoft.ConfigurationMa
-
Oracle Webcenter Interaction and ADF
Hi, Could someone please confirm if Oracle Ensemble is required for ADF to be used in Oracle Webcenter Interaction? I have looked a documentation how Oracle Ensemble can be used to integrate ADF and Webcenter Interaction. I would like to know what ar
-
Mail Rule: Can we run one periodically?
Is there a way to set up a rule that is manually invoked instead of automatic? I have 10 rules to manage my lists and forward messages to folders. They're always active. However, I would like to create a rule to handle one particular list's messages