cancel
Showing results for 
Search instead for 
Did you mean: 

Global Variable in two Message Mapping in a SWCV.

Former Member
0 Kudos

Hi,

I'm using PI7.3 version. I'm in a situation where i've to use the same global vairable in two diferrent message mapping. Can we use a global variable in two different message mapping which are under the same namespace?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Can we use a global variable in two different message mapping which are under the same namespace?

no, you cannot do that,

but you can put the value from first mapping into dynamic configuration (custom namespace)

and get it in the second mapping (if they are used in the same flow) - there are many blogs on that from me so please just have a look

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal, Thanks for your reply. I googled few but couldn't get the exact blog. It would be very helpful if you can give me the link(s)?

Thanks,

raj

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you didn't search a lot did you ?

set and get with code samples :

http://wiki.sdn.sap.com/wiki/display/XI/Combining+three+different+aspects+of+PI+in+one+shot

just use a dummy namespace like : http://myname.com

Regards,

Michal Krawczyk