‎2009 Mar 30 6:27 PM
Hi,
I have a function pool with a top include which has data declaration as well a statement like
struct1-text_1 = ' value'(017).
This code was developed in 4.6c.
I get a warning for this statement in 4.6c saying "Statement is not accessible".
But the same statement in ECC 6 box gives me an error saying the same, i.e., " Statement is not accessible" which I need to resolve.
What can be done ?
thks
‎2009 Mar 30 7:33 PM
This is an awfully basic question.
It's not accessable because it can never be executed. It's neither in a FM nor a form.
Rob
‎2009 Mar 30 7:56 PM
Yes Rob, I completely agree that it is a basic question. But why this was just shown as a warning in 4.6 and error in ECC 6.0 was my concern. I do understand that i need to find a better location to place this statement. Sorry that I was not clear in my question.
thks
‎2009 Mar 30 7:56 PM
Warnings in lower releases often become error messages in later releases. As Rob says - this is terribly basic - what don't you understand about the error message?
Just delete the statement from the top include. It simply doesn't do anything.
‎2009 Mar 30 9:40 PM