FCC conversion for receiver
Hi All,
i am doing FCC conversion in FTP receiver adapter. i need to produce text file converting below structure in given format with field seperating by comma.
Messages
.......Message1
............MT_Employee
..................NODE1
........................Field1
........................Field2
........................Field3
........................Field4
..................NODE2
........................FieldA
........................FieldB
........................FieldC
........................FieldD
..................NODE3
........................FieldX
........................FieldY
........................FieldZ
........................FieldP
File flat structure required is.
Field1,Field2,Field3,Field4
FieldA,FieldB,FieldC,FieldD
FieldX,FieldY,FieldZ,FieldP
i am doing as below but get gets error in RWB in channel monitoring saying 'ns0Messages' unknown structure found in document.
NODE1.fieldseperator = ,
NODE2.fieldseperator = ,
NODE3.fieldseperator = ,
PLease suggest.
Regards
Swapnil
Hi Satish,
Below is my target structure
Messages
.......Message1
............MT_Employee
..................EMPLOYEE_00
........................RECORD_TYPE
........................TRANSACTION_ID
........................EMP_NO
........................NEW_EMP
..................PERDET_10
........................EMP_NO
........................SURNAME
........................FORENAME
........................TITLE
..................PAYGROUP
........................PAYID
........................EFFECTIVE_DATE
........................PAY_ELEMENT
........................FIXED_TEMP
Payload after message mapping.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ZHRMD_A07>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>400</MANDT>
<DOCNUM>0000000000496217</DOCNUM>
<DOCREL>700</DOCREL>
<STATUS>30</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
<IDOCTYP>ZHRMD_A07</IDOCTYP>
<MESTYP>ZHRMD_NGA_DELTA</MESTYP>
<STDMES>ZHRMD_</STDMES>
<SNDPOR>SAPERT</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>ERTCLNT400</SNDPRN>
<RCVPOR>XI3PORT</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>XITCLNT400</RCVPRN>
<CREDAT>20100309</CREDAT>
<CRETIM>102756</CRETIM>
<SERIAL>20100308110924</SERIAL>
</EDI_DC40>
<E1PLOGI SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00100276</OBJID>
<OPERA>U</OPERA>
<Z1EMPDATA SEGMENT="1">
<BUILD>RIVERSID</BUILD>
<STRAS>Riverside House</STRAS>
<STRS2>2A Southwark Bridge Road</STRS2>
<ORT01>London</ORT01>
<PSTLZ>SE1 9HA</PSTLZ>
<ORGTX>Human Resources</ORGTX>
<ATX>OPS</ATX>
<LTEXT>Professional Development</LTEXT>
<MGR_PERNR>00100015</MGR_PERNR>
<MGR_NACHN>Campbell</MGR_NACHN>
<MGR_RUFNM>Janet</MGR_RUFNM>
<PLSTX>Head of Professional Development</PLSTX>
<LMSROLE>M</LMSROLE>
<MGR_LOGON>JANET.CAMPBELL</MGR_LOGON>
<ZZFTE> 0.70000</ZZFTE>
<EMP_STATUS>CURRENT</EMP_STATUS>
<EHRO_ENABLED>Y</EHRO_ENABLED>
<COLLEAGUE_OR_NOT>Y</COLLEAGUE_OR_NOT>
<MASSN>Z4</MASSN>
<VORNA>Janet</VORNA>
<ANRED>2</ANRED>
<GBDAT>19621119</GBDAT>
<ABKRS>Z5</ABKRS>
<BEGDA>20080401</BEGDA>
<MASSG>10</MASSG>
<BEGDA_60>20080401</BEGDA_60>
<BEGDA_70>00000000</BEGDA_70>
<TEILK>X</TEILK>
</Z1EMPDATA>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00100276</OBJID>
<INFTY>0000</INFTY>
<BEGDA>20080401</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0000 SEGMENT="1">
<PERNR>00100276</PERNR>
<INFTY>0000</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080401</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20100308</AEDTM>
<UNAME>SBHALERAO</UNAME>
<MASSN>Z4</MASSN>
<MASSG>10</MASSG>
<STAT2>3</STAT2>
</E1P0000>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00100276</OBJID>
<INFTY>0001</INFTY>
<BEGDA>20080401</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0001 SEGMENT="1">
<PERNR>00100276</PERNR>
<INFTY>0001</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080401</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20100308</AEDTM>
<UNAME>SBHALERAO</UNAME>
<BUKRS>1000</BUKRS>
<WERKS>OF01</WERKS>
<PERSG>1</PERSG>
<PERSK>01</PERSK>
<VDSK1>OF01</VDSK1>
<BTRTL>0002</BTRTL>
<ABKRS>Z5</ABKRS>
<ANSVH>Z9</ANSVH>
<KOSTL>0000003030</KOSTL>
<ORGEH>00000200</ORGEH>
<PLANS>00002151</PLANS>
<STELL>00000000</STELL>
<SNAME>ADDISON KEELEY</SNAME>
<ENAME>Keeley Addison</ENAME>
<OTYPE>S</OTYPE>
<SBMOD>OF01</SBMOD>
<KOKRS>OFCO</KOKRS>
</E1P0001>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00100276</OBJID>
<INFTY>0002</INFTY>
<BEGDA>19721024</BEGDA>
<ENDDA>99991231</ENDDA>
<LONG_INFTY>X</LONG_INFTY>
<E1P0002 SEGMENT="1">
<PERNR>00100276</PERNR>
<INFTY>0002</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>19721024</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20100308</AEDTM>
<UNAME>SBHALERAO</UNAME>
<NACHN>Addison</NACHN>
<NAME2>Lawlor</NAME2>
<VORNA>Keeley</VORNA>
<RUFNM>Keeley</RUFNM>
<KNZNM>00</KNZNM>
<ANRED>2</ANRED>
<GESCH>2</GESCH>
<GBDAT>19721024</GBDAT>
<SPRSL>E</SPRSL>
<FAMST>C</FAMST>
<FAMDT>00000000</FAMDT>
<ANZKD>0</ANZKD>
<PERMO>08</PERMO>
<PERID>NY830453B</PERID>
<GBPAS>00000000</GBPAS>
<GBJHR>1972</GBJHR>
<GBMON>10</GBMON>
<GBTAG>24</GBTAG>
<NCHMC>ADDISON</NCHMC>
<VNAMC>KEELEY</VNAMC>
<SPRSL_ISO>EN</SPRSL_ISO>
<NACHN_40>Addison</NACHN_40>
<NAME2_40>Lawlor</NAME2_40>
<VORNA_40>Keeley</VORNA_40>
<RUFNM_40>Keeley</RUFNM_40>
<E1Q0002 SEGMENT="1">
<PERNR>00100276</PERNR>
<INFTY>0002</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>19721024</BEGDA>
<SEQNR>000</SEQNR>
</E1Q0002>
</E1P0002>
</E1PITYP>
</E1PLOGI>
</IDOC>
</ZHRMD_A07>
</ns0:Message1>
</ns0:Messages>
FCC parameters as requested.
Processing parameters:
File construct mode: Add time stamp
write mode: directly
empty message handling: write empty file.
max occurency: 1
file type: text
file encoding: is blank
FCC parameters
Recordset structure: EMPLOYEE_00,PERDET_10,PAYGROUP
EMPLOYEE_00.fieldSeparator:,
PERDET_10.fieldSeparator:,
PAYGROUP.fieldSeparator:,
varaible substitution: not used
adapter specifc message attributes: not used.
i have given error message in above reply.
please suggest
Swapnil
Similar Messages
-
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 -
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 -
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 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 -
Receiver FCC Structure For Header and Trailer
Hi Guys ,
I need to go for receiver FCC for header and trailer in PI .How the FCC in communication channel needs to be configured if I am taking a separate node for header and trailer in mapping .Output of the file should be as the file attached.
Thanks.
Regards.Hi,
If you are using File communication channel as a reciver you can go with FCC.
Use record set structure as : Header,detail,trailer.
https://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Otherwise if you are going for SFTP to create the file ... follow the Indrajit suggestion..
Still facing any issue.. Please let us know..
Thanks,
Sreenivas... -
Customer Conversion-"Incorrect Code combination id for Receivable account"
Hello experts!!
I have created the customer conversion program the customers.
All customers are getting loaded into the base table properly as expected . But for few customer it is throwing the below error:
"Incorrect Code combination id for Receivable account"
I have checked all the setups related things upto my knowledge everything is perfect.
Could anyone help me out what would be the cause and how can i fix this error.
Waiting for your valueable reply..
Thanks,
Thiru.As per the message, identify one of the failed records and retrieve the code combination used. From there you can validate that a) the id exists for the LE on the gl code combinations table and b) that it passes whatever cross validation rules are enabled for the organization.
-
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 in receiver
Hi,
My receiver Message type structure is
Heading1
subheading 1
FieldValue1
FieldValue 2
Fieldvalue3
I want to create file content conversion in receiver side.
plz help me to create what could be my recordset structure, name, value.
my scenario is Idoc to file.Ruban:
Your FCC goes like this
subheading1.fieldSeparator = ',' /* if comma is the separator you want, if u need any other replace it*/
subheading1.endSeparator = 'nl'
Did you check my previous post in your other thread, I posted similar example there. -
Idoc 2 file - file content conversion in receiver
Hi,
My scenario is idoc to file.
if i want to use file content conversion at receiver side,
so i need to create record set according to sender side data type or receiver data type?
plz give some inputs reg. this.
ThanksHi,
There is problem while refreshing in sap xi also.
when i pass new parameter like 7 in my recordset structure,
it is immediately reflecting in CC monitoring.
error it is showing that '7'.
but if i remove that in record set structure
(after activating that in ID)
even though
if i stop and start my CC manually also,
still it is showing that error in CC monitoring
like '7'
basic concept of this file content conversion is
I have to keep at least field separator (ie 'nl' )for outer most node element ie Customer_copy and record set stru. as Customer_copy
is it right?
I tried my own way...still it is giving that error.
what could my fieldSeparator, endSeparator, for ur last case plz tell me?
Edited by: ruban R on Apr 22, 2008 3:01 AM -
File Content Conversion for Unequal Number of Columns
Hi,
Iam following this thread FCC for Unequal Number of Columns.
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
when iam doing ,iam getting an error
Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'TOTALSET.fieldFixedLengths' or 'TOTALSET.fieldSeparator' is missing Consistency check: no. of arguments in 'TOTALSET.fieldFixedLength' does not match 'TOTALSET.fieldNames' (0 <> 1)
My conversion parameters are
Recordset Structure : TOTALSET,*
TOTALSET.fieldNames : ITEMSET
ignoreRecordsetName : true
TOTALSET.fieldSeparator : 'nl'
My file structure is as below
01,021000021,G4886704,080919,0742,001,,,2
02,G4886704,021000021,1,080918,0742,,2
03,000000135073477,,010,105303839,,,015,489113155,,,045,489039455,,,072,73700
Please help in resoving the error.
Thanks in Advance
SrinivasHi Srivinas,
your file structure is as below
01,021000021,G4886704,080919,0742,001,,,2
02,G4886704,021000021,1,080918,0742,,2
03,000000135073477,,010,105303839,,,015,489113155,,,045,489039455,,,072,73700
So it's easy, you have to use KEYFIELD option, coz you have something like that :
Line 1 : keyfield = 01 following by a limited number of columns (e.g 30 fields for Structure1)
Line 2 : keyfield = 02 following by a limited number of columns (e.g 14 fields for Structure2)
Line 3 : keyfield = 03 following by a limited number of columns (e.g 23 fields for Structure3)
Thanks to the Keyfield, you define a field which is present in each line that you can used to distinguished the different structures of lines. In your case, it seems that the keyfield is the first column (01, 02, 03).
Try to use that:
Recorset = TOTALSET (and don't use option "ignoreRecordsetName : true")
Recordset structure =Structure1,1,Structure2,(star),Structure3,(start) (the difficulty will be to find the good use of "*" and "1", but after some tests you will find the good one).
Note: replace (start) by the character " * "
Key field value = keyfield
Key field type = String (case sensitive)
Structure1.fieldNames = keyfield,field2, field3 etc.. of Structure1
Structure2.fieldNames = keyfield,field2, field3 etc.. of Structure2
Structure3.fieldNames = keyfield,field2, field3 etc.. of Structure3
and then you will have a XML like that:
TOTALSET
Structure1 and all its fieldN
Structure2 and all its fieldN
Structure2 and all its fieldN
Structure3 and all its fieldN
Structure3 and all its fieldN
TOTALSET
Structure1 and all its fieldN because I used Structure1,1
Structure3 and all its fieldN
Regards.
Mickael
Edited by: Mickael Huchet on Apr 20, 2009 5:18 PM
Edited by: Mickael Huchet on Apr 20, 2009 5:19 PM -
Poulate the header levels fields in Content Conversion in receiver FAdapter
Hi All,
I have req in that there is table stucture , this table strcture I want to populate the header level and item level also at receiver side. I am using Content Conversion at receiver side.
the data is like this
at header level
Country City Name Age
India bom kk 19
Sweden Stock GG 20
for this type file How can I create the datatype and In wht way I will use content conversion for this.wht paramters I have to give in in Content Conversion.......
RegardsHI Sudip,
the field labels I want in excel file at top or header of every coloum are)
Country City Name Age
below these fields only the value of these fields will come like this
India bom kk 19
Sweden Stock GG 20
for this u mean to say I have to declare only header
Create Data Type with sub-element ITEMS(just an example)
Then Country,Name,Age or whatever field you want to add in header of output file.
Once data type is ready now time to configure Receiver CC:
Use following Content Conversion Parameters:
Recordset Structure: ITEMS
ITEMS.addHeaderLine: 1
ITEMS.fieldSeparator: (space)
ITEMS.endSeparator: 'nl'
and my data will come like this in file
Country City Name Age
India Banglore jjjjj 24
England london kkkk 88
Can u plz cofirm for this...........
Regards -
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 -
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 -
Automatically removed from group conversation for being idle?
Where I work, we have a group/team conversation for people to ask questions, make comments, share information, etc.
In the past few weeks I have noticed that I have been being removed from this group conversation. Find the message "You have been removed from this conversation."
I usually start this conversation but leave permission open for everyone so anyone can add people as they come in for later shifts. I know it's possible to right click on a person's name and remove them from the conversion.
When this started happening, I researched how to stop it from happening and found that if I changed the permissions to me alone, I am not removed from the conversation.
My questions are: does Lync automatically remove a person from a conversation if they are idle for a certain amount of time? If so, what is the time frame? Does just that person have to be idle or the entire conversation?
Essentially, I'm trying to find out if some person is actively removing me or if it's some automatic setting within Lync.Yes there is a timeout, it's per person but mostly the entire conversation though due to "sending or receiving and instant message. You can't easily turn it off, but you can change the value a bit. See set-csclientpolicy setting
ConferenceIMIdleTimeout.
http://technet.microsoft.com/en-us/library/gg398300.aspx
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
Maybe you are looking for
-
For some reason, my weather widget (the slide down screen) is set to Cupertino, California. Problem: I'm in Washington, D.C and there isn't a real reason for it to be in California.... I updated my phone, so it is the most up to date. My locations se
-
HT2534 Removal of Payment Method
I am trying to remove my credit card from the iTunes store but when I go to payment method the "None" payment button is not appearing and it won't show up. How am I suppose to remove my credit card?
-
Parse xml containing ? symbol in fields
Hi! my problem is that I try to parse xml files with jdom 6 and some fields may contain question marks, if this happens my java program fails. I solved the problem of parsing odd characters (like inverted question mark, spanish symbols...) but it is
-
Post manual/unplanned depreciation in previous period
Dear Experts, I really appreciate for your advices on the following issue. I have posted depreciation up to period 9, 2010. However, there's an unplanned depreciation journal that was missed to be posted on period 8, 2010. Therefore, I tried to creat
-
Hello, Can I deploy XI java Proxy inside JBoss application server Appreciate you response. Thanks