Skip to Content
avatar image
Former Member

One file multple nodes

I doing a proxy to File structure.

File is FTP receiver and they are wanting it in nodes. Header and Materials. Header come once and Materials comes many times.

I created a structure with all ten fields in a node.

DT_XYZ

     XYZ

          Field 1

          Field 2

          .........

          Field 10

XYZ is made unbounded..

Here first three go to Header and all seven should go to materials. XYZ will happen many times. Second times onwards in xyz node first three fields will not come. only materials will come.. My target side is like this

DT_ABC

     Header (1)

     Materials (unbounded)

Is it possible with one node XYZ?

What structure I should maintan at Source so that fields under header will come once and fields under materials will come many times?  My target node Header should occur only once. My material node should come many times..

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 28, 2014 at 01:45 PM

    Hi Radhika,

    Why can't  you maintained the same target structure to source proxy?

    you can still map the source to  target but it would be good to maintain the same structure.

    For the same structure mapping is

    XYZ --> Map to material

    XYX --> Collapse context  --> map to Header

    similarly header field can be map  like header with respective source field.

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2014 at 08:41 AM

    He Radhika,

    Go ahead with Harish suggestion about to keep the same structure. Your case seems to be a classical header/item structure, check if this wiki can be helpful for you source file: File Content Conversion - Process Integration - SCN Wiki

    Regards.

    Add comment
    10|10000 characters needed characters exceeded