on 02-19-2007 11:12 AM
hi all
Am doing an idoc to file scenario. In this from idoc i wanna map to a structure like this
<E1KNA1M>
structure1
</E1KNA1M>
<E1KNA1M>
structure 2
</E1KNA1M>
Is it possible to have a structure like his in xi. Like nodes with same name and different structure. PLz help
Hi,
Yes it can be possible .. provided if you have the node occurrences multiple >0 or 0.. unbound..
Only thing is you have to duplicate the node and map source to target with MM functions or as per your requirement..
I hope you got it or ..
please explain bit more with your example ..
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sumayya,
Can you please elaborate your requirement.
Bcz you can never create a Data type with same node names.
Regards
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if u want ur target have the same strucutre as of ur source then u can skip mapping. just use the source idoc alone. mapping can be skipped if no manuplations are done and source and target have the same data type.
so thru this way u have target and soruce share the same data type...or if u got some manuplation to be done use the same soruce structure in the target messaeg type also !!!
Message was edited by:
Prabhu S
Hi Sumaya,
Ok......then create a target struc like below:
<CONTROL_DATA>
structure1
</CONTROL_DATA>
<E1KNA1M>
structure2
</E1KNA1M>
do mapping...... generate this target output....... now create a J2EE adapter module by seeing the below link:
in this module, change the name of node CONTROL_DATA to E1KNA1M.... then in the reciever file adapter call this module.........then your requiered target file for MDM will be generated as the below structure:
<E1KNA1M>
structure1
</E1KNA1M>
<E1KNA1M>
structure 2
</E1KNA1M>
Thanks,
Rajeev Gupta
Hi Sumayya,
"Is it possible to have a structure like his in xi. Like nodes with same name and different structure"- you want a node having 2 Different structures in XI - this is not possible ......a node can have only one structure for it.......you can rename the other node.....and you can change the way of processing for it in your target system.
Thanks,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
><i>Is it possible to have a structure like his in xi. Like nodes with same name and different structure. PLz help</i>
This is not possible
if you try to create a Datatype of this sort you will get an Error,"Node already exists"
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes....u can have the same idoc struct for the target aswell....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.