cancel
Showing results for 
Search instead for 
Did you mean: 

mapping requirement

Former Member
0 Kudos

Hi, experts:

I have a requirement about creating FI document with XI.

The scenario is JAVA<=>XI<=>RFC

If one item is sent from JAVA system with SHKZG = 'S' to XI,

XI should copy it with SHKZG = 'H'.Then the 2 items are sent to RFC.

Which function should be used in mapping,thank you very much!

Regards

Ming

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you can use ifwithoutelse function to map your condition

if you need to create two nodes from one

remember to copy the target node twice (right click

on the target node and copy node)

this will create two nodes

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (2)

Answers (2)

Former Member
0 Kudos

YES,it works,thank you very much!

prabhu_s2
Active Contributor
0 Kudos

you do in two wyas...

1. as suggested by michael have the node duplicated by right cliking on the target node and duplicate subtree and have the mapping defined. only when SHKZG = 'S' u will have the fields mapped and for teh duplicated filed SHKZG set the constant H.

2. you can also have it done with java mapping. since u have javaproxy u will find it relatively easy to have a better control on the fields as if the target strucure is huge u need to map each and every node and this will take much time as expected to complete the mapping. but in java code u will able to have it done easily.