Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Defining my own Global Variable?

Former Member
0 Likes
508

Hey Guys,

Hope someone can help me. I've been googling for a while and no luck.

I have a BADI that is called multiple times on my PI Sheet, and I want to add some validation.

However the values I save off are cleared out everytime the BADI is hit.

Is there a quick and easy way for me to define a global variable so that when the BADI is hit, I have the variable saved off? Rather then writing it out to a transparent table.

Thanks in Advanced!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
462

Hi Shabazz,

why dont u use MEMORY ID, import in the begining of BADI implementation and export at the end of BADI.

not sure if you can create own global variable.

Regards

Syed A

1 REPLY 1
Read only

Former Member
0 Likes
463

Hi Shabazz,

why dont u use MEMORY ID, import in the begining of BADI implementation and export at the end of BADI.

not sure if you can create own global variable.

Regards

Syed A