04-14-2010 2:32 PM
Hi Guys,
I know that you can retrieve the value of variable between the programs without passing it as parameters, by assigning
the program/field name of calling program variable to field symbol 1
Is there any way to do the same thing among the methods of a same class?
I have a class which has 2 methods: MethodA & MethodB
MethodA calls MethodB. I want to access a value of a field in MethodB which is declared in MethodA.
Please let me know if it is doable?
Thanks,
04-14-2010 2:39 PM
Hi,
If you dont want to change your signature of method B(sending the field as export parameter).It is not possible to access the value from method A(it is Local to that method).
You can access that value from get Parameter Id concept.
Regards,
Raghava Channooru.
04-15-2010 7:42 AM
what are you describing is nothing els than a "DIRTY READ".
You might rather go the other two proposed ways, cause if you do dirty reads you gotta live all the consequences.