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

Help needed on SET/GET parameters

Former Member
0 Likes
975

Hello All,

I have come accross a wierd issue in one of my development. .I am actually populating some variables using SET / GET parameters to reuse it at another place.

If i check it with my Id, sometimes the variables are filled and sometimes not filled. I am also clearing it at the correct place using FREE statement.

In case if I check with other Ids also same problem exists ( Variables are filled ), thereby some custom changes are refelected only sometimes as these changes are dependent on those variables. To say the process is not consistent.

Will the SET / GET parameter ID work on a particular Id ?

Has anyone come across this kind of issue ( memory clearance problem ) at any point of time ?

I Would like to get this issue fixed ASAP.

Can anyone help in fixing the above issue.

Thanks and Regards,

Karthik Ganti.

1 ACCEPTED SOLUTION
Read only

0 Likes
932

Hi Karthik,

Please refer to below link. This might help you.

http://scn.sap.com/thread/746893

                                   OR

Try to store data in INDX table and get form the same again.

Thanks,

Sridhar.S

Hi karthik,

Try to use submit statement instead of set/get parameter.

Regards Ashwin.kv

5 REPLIES 5
Read only

0 Likes
933

Hi Karthik,

Please refer to below link. This might help you.

http://scn.sap.com/thread/746893

                                   OR

Try to store data in INDX table and get form the same again.

Thanks,

Sridhar.S

Read only

praveenboss
Participant
0 Likes
932

Hi Kartik,

Please show me your code of both SET and GET Parameter Statement.

Thanks.

Read only

Former Member
0 Likes
932

Hi Karthik,

The SAP Memory is a user-specific memory area of the current application server, which is accessed by all main sessions of a user session at once.


It has has consequences for programs that one and the same user can run in parallel sessions:

Its depend on the rolled in and rolled out of programs.


It is clearly mentioned in help.sap

SAP MEMORY

I guessing this could be situation,

You opened one session (Old value of parameter loaded initially ) and in another session program which setting the parameter ( New value) . If the session which setting the new value for parameter finished first than other, than when other session completed will over write the value with initial value  

Thanks & Regards,

Arun

Read only

Former Member
0 Likes
932

Hi karthik,

Try to use submit statement instead of set/get parameter.

Regards Ashwin.kv

Read only

0 Likes
932

Hi All,

Thank you for your quick responses. I have debugged and seen that I have passed same Parameter ID at some places which is actually overwriting that value. Due to that I was facing issue.

I learned some new points above SET / GET parameters  from the above posts which is useful. Thanks once again...!!!!

Thanks and Regards,

Karthik Ganti.