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

Global Variables Scope

Former Member
0 Likes
442

Hello All,

I have couple of questions about global variables scope.

1) Where and how I define and use global variable thats will valid by all users ?

2) Where and how I define and use global variable thats will be valid for user session ?

3) Where and how I define and use global variable thats will be valid for user action (for example for User Exit process) ?

Thanks In Advanced

Eli

Hello All,

I have couple of questions about global variables scope.

1) Where and how I define and use global variable thats will valid by all users ?

2) Where and how I define and use global variable thats will be valid for user session ?

3) Where and how I define and use global variable thats will be valid for user action (for example for User Exit process) ?

Thanks In Advanced

Eli

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
366

1. You need to store them in the Table or SAP MEMORY and you can get back that stored data for other user.

2. You can use them via ABAP MEMORY using IMPORT / EXPORT. These variables will be valid in the Session.

Regards,

Naimesh Patel

Read only

0 Likes
366

Dear Naimesh,

I'm not sure that I understand your answer.

can you please supply an example code for each of my questions ?

Thanks In Advance

Eli