cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Receiver content conversion

Former Member
0 Kudos

Hi All,

I have idoc to flat file, where my reciever is flatfile.

I have a strucutre like below

Header-1.1

Item..1..unbounded.

footer..1..1,

As i am using PI 7.0 , my requirement is to repeat the item segment multiple times.

I am using fixedlengths, to achieve this i have followed like below.

RecordsetStrcture: Header,Item,Footer

Header.fieldFixedLengths:

Header.endSeparator:'nl'

same as for Item,footer..if i am using the above one i could not able to achieve to generate the item segment multiple times.if i give the item,*..it is throwing exception.

Can any one tell...how to achieve the requirement to generate teh item field multiple times.?

Regards,

Sekhar

can you any one tell me ..how do i mention item segment is occuring multiple times in the reciever content conversion.If only one segment is comming then the scenario is working but if the item segment is comming with multiple times, it is throwing error.

Can any one let me know how do we achieve this.

Regards,

Chandu.

Accepted Solutions (0)

Answers (2)

Answers (2)

jyothi_anagani
Active Contributor
0 Kudos

Hi Chandu,

Then Do like this


RecordsetStrcture: Header,1,Item,*,Footer,1

Header.fieldFixedLengths:
Header.endSeparator:'nl'
Item.fieldFixedLengths:
Item.endSeparator:'nl'
Footer.fieldFixedLengths:
Footer.endSeparator:'nl'

For more help Refer This link

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm

Thanks.

Former Member
0 Kudos

No use i have tried this...If i Put ..Header,1it is treating 1 is a segment..and expecting..Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing

Can any one provide the solution.

Regards,

Chandu.

jyothi_anagani
Active Contributor
0 Kudos

Hi Chandu,

See this Thread

Here see the reply given by Arpit Seth . It is the same problem .

This is the exact solution to your Problem.

I think this is very helpful to you.

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

Thanks.

jyothi_anagani
Active Contributor
0 Kudos

Hi Chandu,

Is this Structrure like this


  <Header>
          <Item>
                 <footer></footer>
          </Item>
   </Header>

or How...

Explain the hierarchy..

Thanks..

Former Member
0 Kudos

No the structure is..

Header..1.1

Item..1..unbounded

Footer..1.1

All are in same level..problem is only..how to generate ...multiple segmetns of Item.I have tried by giving the Item,*..but no use.

Regards,

Sekhar.

Former Member
0 Kudos

Receiver content conversion does not expect occurrences

hence Recordset structure should look like

Header,Item, Footer

jyothi_anagani
Active Contributor
0 Kudos

Yes.

Please ignore my Previous reply. I forgot.

Thank You Mugdha.