Hi all,
I have 2 queries. I have an IDOC to file scenario where the IDOC structure looks as shown below. At the target side there are 4 nodes.
IDOC
+EDIDC40
+E1LTO
+E1LO
+Z1
+ZE1
+ZE2
Q 1) The 3 rd node of the target structure should repeat itself as many number of times as the fields are under the segment ZE2 (30 fields). And each value of the field under ZE2 must be sent to "Value" element of the 3rd node everytime it is repeated. i.e.; 30 repeation of node 3 with "Value" containing the data from each field of ZE2.
Q 2) Also in the first node of the target one element "N" should have total count of the no. of fields under the segment ZE2. As the idoc structure may chnage in future i want to keep the count as dynamic rather than a constant.
Can anyone please help? I am a newbie in PI.
Thanks.