Is UDF required for this?!! or Can we manage with Node Functions?!!!

HI Gurus,
I have a requirement like below desc, Is UDF required for this?!! or Can we manage with Node Functions?!!!
Source File: ( File )
a) PO_TYPE
b) Style1
c) Style2
Note: Style1 leads to Headernode and Style2 leads to ChildNode, Style1 and Style 2 are interconnected.
Target File: ( Idoc )
a) Header Node ( EHDRNDE)
b) Child NOde ( CHLDNDE)
And my question is.... I have to populate Header Node and Child Node in target side on certain conditions of the source file. they are;
I) Whenver a different style1 comes in file...I have to create a Headernode for that in target file. Style1 can contain number of Style2 nodes with the same node. like
Ex:
i) Style1 -
Style2a, Style2b, Style2c
ii) Style1 ....... Style2aa, Style2ab.
For this above requirement, I have to create corresponding target nodes for Header ( Style1 ) and as well as for Child ( Style2)
for ex1: it should be one Header node in target and 3 corresponding child nodes
for ex2 : It should be One Header Node and 2 child nodes
For this requirement...can we use node functions....if it is...could you please help me.
....Stallin
Edited by: stallin xavier on May 1, 2008 4:18 AM

Hi,
You can do it by using node function as well as UDF also.
1) If your sequence is sorted and always come in sorted order only e.g. 1st come only style1 node and child node and then come all nodes from style 2 then u can use node function.
2) for parent node use collpse context then remove context.
3) for child node 1st differntiat according to your condition and then use split by value(value change)
4) If occurance of style1 node and style2 node is not fixed then you don't have any option you have to write UDF.
I think this will help you.
Regards,
Rohit.
Reward points if helpful

Similar Messages

Maybe you are looking for

  • How to create editable tablecells for a single table row dynamically?

    Hi How to make the cell of a tablerow editable based on flag in backing list object bound to row? I can't decide the editable property while creating table columns. So i can't use setCellFactory() during creation. However setCellFactory() makes all c

  • Google Calendar doesn't show

    Please Help! I have inserted a Google Calendar(iframe html code) into one of my iweb pages but it doesn't show in Safari. I get an error in the Activity window that says "too many http redirects" if I refresh Safari a few times it works although it w

  • Output message

    How I can associeted the document type of goods recept WE with the message type MLGR thenk you in advance

  • Getting Started (copying cassette)

    I opened up Garage Band for the first time, trying to copy a tape to my iPOD. I don't know anything about recording, so I have been guessing. My playing around has left me wanting to get some guidance. Let me say what I have done so far, and let you

  • Adding a device

    Hello, I am having difficulty adding a device and tranferring music files to a new iPhone 5s. I have an Apple ID which has 3 devices associated with it:  a PC laptop, an iPod Touch, and an iPhone 5.  The laptop has about 3,000 CDs saved to it and has