Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9190

Re: Conditionally suppress tags in PI

$
0
0

Hi Latha,

 

You can store the vendor numbers for which you want to suppress the description in Value mapping or Fix value table like below:

Source/target agency names to be given as per project naming convention.

sample values V1 and V2

VendorNumber(source schema)     Suppress (target schema)

V1                                                true

V2                                                true

.........

 

Value mapping provides you flexibility to add/remove vendor numbers without changing the mapping.

 

Pass the vendor number to the value mapping or Fix value table. I have used Fixed-Value table for example.

 

this way your Description tag will be suppressed when Vendor V1 and V2 are passed from source.

If the description is mandatory, simply pass constant null instead of creatif.

 

For multiple receivers, you can do conditional receiver determination on vendor number in ID. Have multiple receivers and use Xpath and give vendor value to choose a receiver.

Simple example for conditional receiver determination is below:

http://wiki.sdn.sap.com/wiki/display/XI/Xpath+Condition+in+Receiver+Determination

 

Hope it answers your question.

Ambrish


Viewing all articles
Browse latest Browse all 9190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>