cancel
Showing results for 
Search instead for 
Did you mean: 

Reciever file adapter configuration for Deep structure

Former Member
0 Kudos

Hi Experts,

I have a idoc to file scenario in which i used a data type for file in below format:

DT_Test

-->Recordset(0.unbounded)

-


>E21DPU1(0.unbounded)

-


>field1

-


>field2

-


>E21DPU5(0.unbounded)

-


>filed 3

-


>filed 4

-


>E21DP03(0.unbounded)

-


>filed 5

-


>filed 6

Here DT_test is datatype name,Recordset is a structure name which contain E21DPU1, E21DPU5,E21DPO3 stucture inside it.Now,E21DPU5 and E21DPO3 structures are under E21DPU1.

I am confused in creating content conversion parameters i.e what we have to mention in Recordset Stucture .

I used E21DPU1,,E21DPU5,,E21DP03,* .should it work for deep structure.

Thanks

Deepak

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

file adapter does not handle 2 level deep structures

the easiest way to do it now is to go for abap or java mapping

and create a line for each of the output lines and handle this in the file adapter

so like <line> </line>

<line>E21DPU1(0.unbounded) with fields </line>

<line>E21DPU5(0.unbounded) with fields </line>

<line> etc. </line>

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Do you have any step by step solution of Abap or java mapping for such cases.I only know graphical mapping.

Thanks

Deepak

Former Member
0 Kudos

Hi,

You can do this with normal graphical mapping.

Start it you will be able to do it... may be if its a bit complex handle it with UDF. Build the target structure using the message mapping as mentioned by Micheal and the simple XI FCC adapter will do the rest

Reagrds

Sunil.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi deepak,

It can be achieved using an intermediate mapping.

Follow the below bolg

/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure

With Regards

Sudha.