on 06-09-2011 9:29 AM
I have a normal PI scenario.
SAP -> xi soap -> PI -> soap -> THIRD PARTY SYSTEM
Every request of the third party web service has the element "mandant". But this shouldn't be transparent for the calling SAP system. So I have the following message types:
<request_sap>
<a></a>
<b></b>
</request_sap>
<request_ext>
<a></a>
<b></b>
<mandant></mandant>
</request_ext>
Depending on the calling system (DEV, Q/A, PROD) I want assign a specific value to this "mandant" element. But I donu2019t sure which is the right way.
The easiest way is to use the graphical mapping tool. Because I have only 3 systems it would be quite simple. If sender = xx then mandant = yy. I can use a udf for that purpose too bur in general I have the feeling that this isn't a good way.
Second thought was value mapping but here I have two problems. I have no source value but I can use "sender" as sunstitute here. But I have no idea for my second problem. I read this Wiki here:
http://wiki.sdn.sap.com/wiki/display/XI/Value+mapping
But in my scenario I haven't a sender communication channel. So I can't assign Sender Agency and Sender Schema to this channel.
Or is there a better way to reach my goal?
Hi,
Use UDF to achive the same, it is good design.
Regards,
Raj
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 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.