cancel
Showing results for 
Search instead for 
Did you mean: 

Content Conversion Doubt

Former Member
0 Kudos

Hi Experts

I need to do content conversion in the sender file adapter for the following Data type

Dt_Details

-


> X

-


>Y (Subelement of X)

-


>Z (Subelement of Y)

-


> A

-


>B

-


>C

My doubt is that is it possible to to do content conversion for a structure that has a three level hireachy as given

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>>My doubt is that is it possible to to do content conversion for a structure that has a three level hireachy as given

Not possible using the standard FCC.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi shankar

Is there any other way to do this

Former Member
0 Kudos

You can use adapter modules to achieve this.

Or use the FCC converted XML structure and play with your mapping logic.

You can use recorset Structure name and try create the 3 level hierarchy in your XML

ie

MessageType Name

--Recordset Name

-


Record

-


Field1

-


Field2

-


FieldN

Regards,

Jai Shankar

Message was edited by:

Jai Shankar

former_member192892
Active Contributor
0 Kudos

Ya, I guess Jai is right,

You can use java code in your mapping and use functions like String split() to split by your delimiter...

I think this should be better that custom module development...

Thanks

Varun

Former Member
0 Kudos

Shanker

Can u explain it in detail.. Is there any BLOG for this

Former Member
0 Kudos

Hi

If the the fieldseperator and end seperator parameter is '. How can i give it in the FCC.

Ex. if the incoming data is like

'IBNRNDA:84580505257068:247780507126723:24878508:0377DX6148900656328HI'IBR18+ASDE05:P:895F:58W:GASMI'

AND IT SHOULD BE SPILLED AT THE ' AS

IBNRNDA:84580505257068:247780507126723:24878508:0377DX6148900656328+HI

AND

IBR18ASDE05:P:895F:58W:GASMI

IN THE xml what should i do...?

Thanks in advance

santhosh_kumarv
Active Contributor
0 Kudos

Hi saravanan

Try using

nameA.fieldseparator = '0x2c'

nameA.beginseparator = '0x2c'

nameA.endseparator = '0x2c'

Regards

Santhosh

*If found useful reward points*

Answers (0)