cancel
Showing results for 
Search instead for 
Did you mean: 

FCC: Problems with content conversion

former_member296836
Participant
0 Kudos

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

Chris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Did u chk this:

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Thanks

Amit

former_member296836
Participant
0 Kudos

Dear 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

Former Member
0 Kudos

You can use FCC when you have two levels I guess it's not posible beacause you have 3 levels nodes.

check [File Content Conversion.|http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm]

former_member296836
Participant
0 Kudos

I solved it with two mappings that I call sequentiell in operation mapping

Answers (0)