cancel
Showing results for 
Search instead for 
Did you mean: 

Global Variable as an array

Former Member
0 Kudos

Hi All,

Culd you please tell me where I can declare a global variable as an array in PI 7.1.

In PI 7.O we used to store global variables in java sections and it was recognized across mapping in message mapping

In PI 7.1 I have declared a variable in init function in functions tab in message mapping but its not recognized in my mapping.

Could you please help me with this?

Where I have to declare a global variable so that I can use it anywhere in mapping?

Thanks in advance

Best Regards,

Harleen Kaur Chadha

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

Have you tried "Attributes and methods"?

Former Member
0 Kudos

Please refer to the below link about how to use global variables in PI 7.1.

/people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable

This link will help you understand how to use graphical valiable as a global variable.

Thanks,

Hetal

Former Member
0 Kudos

in PI 7.1, it is much easier.

In your message mapping, right click on any node and create variable, it can hold any values which can be used for other target node. It is equivalent to global variable in PI 7.0, but do not need java program for global container.

Regards

Liang