cancel
Showing results for 
Search instead for 
Did you mean: 

Recordset structure in receiver communication channel

former_member182004
Contributor
0 Kudos

Hi gurus!

I have a problem with my receiver communication channel it says "Unknown structure 'Headers' found in document', probably configuration error in file adapter (XML parser error)'"

It's for sure that the problem is in the configuration of the adapter.

My scenario is from iDoc to File and i need to write only one header and many Lines, i made the data type like:

Headers

---Header

Lines

---Line

And the problem is in the configurarion of the recordset structure and the lines below.

If you know another way better to make the data type to acommplish what i've to do, just tell me I just made it that way because i thought it could work.

If something is not clear just let me know, what i more need is the config. of the receiver adapter.

Thanx in advance.

Juan

Accepted Solutions (0)

Answers (7)

Answers (7)

former_member182004
Contributor
0 Kudos

Hi Guru, thanx for your posts i tried what you told me but it didn't work neither.

You have to consider that i'm not using info in the nodes Headers and Lines, i'm just mapping to those nodes the header of the iDoc but the information and concatenation is going to Header and Line.

I've tested many variants of recordsets but they didn't work, if you have another option, it'll be welcome.

Former Member
0 Kudos

well if you have the option of changing the receiver message type then why not use the structure given in the below blog and use the FCC parameters as mentioned in it

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

Thanx

Aamir

former_member182004
Contributor
0 Kudos

Hi, thanx for your posts but my problem is in the receiver side, not in the sender.

Former Member
0 Kudos

Hi Juan

If i understand correctly .. you are doing FCC on your receiver communication channel...and the following is your Target Data type

Headers

---Header

Lines

---Line

and FCC parameters you created are as below

Recordset structure: Headers,Header,Lines,Line

Header.fieldSeparator \r\n

Header.endSeparator \r\n

Line.fieldSeparator \r\n

Line.endSeparator \r\n

If the above data is correct, then I would like you try out the FCC parameters in my previous post. Because in the FCC parameters, you used only substructures(Header and Line) and you did not mention the lists ( Headers and Lines). That's why i think it is errored out.

If my interpretation is wrong, please let me know where i went wrong, i will try to look at again.

Former Member
0 Kudos
former_member182004
Contributor
0 Kudos

I made it and it didn't work

former_member182004
Contributor
0 Kudos

Recordset structure: Headers,Header,Lines,Line

Header.fieldSeparator \r\n

Header.endSeparator \r\n

Line.fieldSeparator \r\n

Line.endSeparator \r\n

That's the structure if you think that it could be done another way just tell me,

Regards

Former Member
0 Kudos

change the following parameter

Recordset structure: Header,Line

Thanx

Aamir

Former Member
0 Kudos

Try the following

Recordset structure: Headers,Header,Lines,Line

<b>Headers</b>.fieldSeparator \r\n

Header.endSeparator \r\n

<b>Lines</b>.fieldSeparator \r\n

Line.endSeparator \r\n

former_member182004
Contributor
0 Kudos

I've checked it and everything is spelled correctly.

The occurence of the headers field is 1...1

After that Header is below

And at the same level of Headers is Lines, that is 1...unbounded

and below Line is 1...1

Any suggest of how to make the CC ?

Former Member
0 Kudos

can you give your FCC parameters?

Thanx

Aamir

Former Member
0 Kudos

make sure "Headers" has been spelled correctly in the receiver data type as well as in File content conversion parameters.

secondly what is the occurence of "Headers" in your structure?

Thanx

Aamir