cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC -> XML Mapping

Former Member
0 Kudos

Hi all,

My scenario is to create for each RecordSet from IDOC two RecordSet in Text file (same value are differente).

I tryed to use what is available in Mapping tool but I did not find how!

Thanks

Fouad

Accepted Solutions (1)

Accepted Solutions (1)

former_member206604
Active Contributor
0 Kudos

Hi,

You can have the target strucutre in such a way that there are two target records in the same structure. You can also try using useOneAsMany function.

Thanks,

Prakash

Message was edited by: Prakash Arunachalam

Former Member
0 Kudos

Thanks for you answer,

For useOneAsMany doesn't mach to my case because the recordSet number is static and I need to add a static value to a specific field,

The first solution, my outbound document containt lot of field, to replicat this structure it s not optimal.

Any idea!

Thanks,

PS: A good Article: /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool

Fouad,

former_member206604
Active Contributor
0 Kudos

Hi,

You can try with changing occurance of the RecordSet of the target structure. Then by using XSLT mapping as second mapping you can replicate the same message twice and I guess this would be simplest and easiest soultion.

Thanks,

Prakash

Former Member
0 Kudos

XSLT mapping needs java program?

thanks,

Fouad,

former_member206604
Active Contributor
0 Kudos

Hi,

No there is no need to Java program its generally simple and easly transformation language.

http://www.w3schools.com/xsl/default.asp

Thanks,

Prakash

Former Member
0 Kudos

I ve no pb with xslt but is there any simple to show how to use it in xi?

thanks lot,

Fouad,

former_member206604
Active Contributor
0 Kudos

Hi,

You just need to save the XSLT mapping in a .XSL file and ZIP it. You need to import it under Imported Archive and then ue is in your Interface mapping by selecting XSL as mapping type.

Check this blog for details

/people/community.user/blog/2006/09/07/email-reporting

Thanks,

Prakash

Former Member
0 Kudos

Thank you,

Answers (1)

Answers (1)

Former Member
0 Kudos

Interesting Blog.. thanks for info Prakash

--GS