‎2007 Dec 05 12:10 PM
Hi all,
Even if I have changed a part of the code of a program and activated it,
it still does not see the new part and runs according to old part.
For example even I have changed the ;
unpack prctr to prctr2.to >>
if prctr cs sy-abcde.
"do nothing
else.
unpack prctr to prctr2.
wa-prctr = prctr2.
endif.However the program runs as if I have not add if else... It also does not fall into debug mode.
What is the problem?
Thanks.
‎2007 Dec 05 12:11 PM
does it happen in another session? did you restart SE38 in the another session?
‎2007 Dec 05 12:15 PM
Thanks.
Yes Eric cartman, it happened,
the old code segment is this:
Data: PRCTR like zpp_utlist-prctr.
prctr = wa-prctr.
unpack prctr to wa-prctr.
And what I have done is as follows:
if prctr cs sy-abcde.
else.
unpack prctr to prctr2.
wa-prctr = prctr2.
endif.However last change is not seen... It goes dump and shows me the error at the old code segment.
What is happening?
‎2007 Dec 05 12:34 PM
I think you only have to restart SE38 (or at least go back to start screen (where you enter program name)) than it should be OK (I assume this happens in the same server)
small remark:
if prctr cs sy-abcde.this means that the variable prctr <i>contains</i> contains the string 'ABC...XYZ' (which I believe is close to impossible). If you want to check that prctr contains only letters than you need to use CO (instead of CS):
IF prctr CO sy-abcde.
‎2007 Dec 05 12:13 PM
Hi Deniz,
Some times it happens like that if we change Attributes of that program.
Just copy the same code into other program and delete everything in the original program except report stmt and do activation part .aFterwards simply paste the code into original program.it may solve your problem.
Otherwise save the code, system-->Logoff.
Reward if useful
Regds
Sivaparvathi