‎2008 Jul 02 9:58 AM
Hello!
my program says:
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'BACK'.
LEAVE PROGRAM.
..etc..
save_ok is not accessible. What's a problem? I defined everywhere and in dynpro too.
Thanks
‎2008 Jul 02 10:10 AM
Hi,
if u r not getting value into save_okcode even if u hav declared it.
check whether u declared ok_code in
SCREEN
ELEMENT LIST .
‎2008 Jul 02 10:00 AM
hi Andrei,
I am not sure what you mean by 'everywhere', but save_ok should be defined as global parameter.
hope this helps
ec
‎2008 Jul 02 10:03 AM
In ***TOP Module I have:
data: ok_code like sy-ucomm,
save_ok like ok_code.
And in dynpro I have it too
‎2008 Jul 02 10:11 AM
in the top declare...
data: save_ok like sy-ucomm.
try if it works....
other wise make use of sy-ucomm in place of ok_code.That is always advisable...
Reward points if useful...
‎2008 Jul 02 10:03 AM
‎2008 Jul 02 10:10 AM
Hi,
if u r not getting value into save_okcode even if u hav declared it.
check whether u declared ok_code in
SCREEN
ELEMENT LIST .
‎2008 Jul 02 10:14 AM