on 05-09-2014 2:47 AM
I have to map from Idoc to file. The Idoc is a Z Idoc and has two segments with values. I am not clear as to how many times the segments come. The functional guys said it may come more than oonce. Inorder to make sure that it will work in any case, I gave the File structure unbounded. I am quite confused about target structure which I should design
MesssageType
Node1
Field A
Field B
Node 2
Field C
Field D
I can also create it like this
MesssageType
Node1
Field A
Field B
Node 2
Field C
Field D
Node1 pertains to one segent in Idoc that doesnot repeat. Node2 stands for the segmenst In Idoc that repeats.
So should I create Node2 as a child node of Node 1 or should I create both nodes at same level?
Hi,
MesssageType
Node1
Field A
Field B
Node 2
Field C
Field D create like this, mapping is easy.
reg,
avinash M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
You can create Node1 and Node2 at the same level.
No need to make node 2 as child of Node 1.
But please maintain their occurance properly,
for node 1 it should be 0..1 and for Node 2 keep it 0..unbounded.
Regards
Rajeshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
Creating two different segments with their corresponding occurrences (i.e; 1st segment 0 to 1and 2nd segment 0 to unbound) is better option...
Regards,
Anusha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
MesssageType
Node1 Occurance 0 t0 1
Field A
Field B
Node 2 Ocurance 0 to unbounded
Field C
Field D
please try like this.
Regards
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.