cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Content Conversion for a Complex Structure

raghav_uppal2
Explorer
0 Kudos

Dear All,

I have  a Proxy to File scenario. The Receiver expects a fixed length flat file

Structure:

Header  (Record Type A ...0--1 )                                  (Level 1)

(Header Fields)                                                           (Level 2)      

Item    (Record Type B ... 0--unbounded)                      (Level 1)

(Item Fields)                                                               (Level 2) 

            ItemDetails(Record Type C ... 0---unbounded)   (Level 2)

            (ItemDetails Fields)                                         (Level 3)           

Trailer   (Record Type D ...0--1)                                    (Level 1)     

(Trailer Fields)

Can you please guide how to convert this structure in Receiver File Adapter.

Best Regards,

Raghav

Accepted Solutions (0)

Answers (5)

Answers (5)

engswee
Active Contributor
0 Kudos

Hi Raghav

If you still have not resolved your issue, you can consider using the following approach that I wrote about recently.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Raghav

The structure you have provided has 4 levels and unfortunately we can perform FCC only up to 3 levels.

Hence change your structure like below

FCC in channel will be like this

Thanks,

Indrajit

Former Member
0 Kudos

Hi Raghav,

You can go through the following blog.

http://scn.sap.com/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-...

It might be helpful for you.

Regards,

Soumyadip

Former Member
0 Kudos
Former Member
0 Kudos

Hi Raghav,

By using Key field you can identify the header,item,trailer nodes.

in the name enter requirednode.Key field.

and

In value enter the value of key field.