‎2007 Sep 19 4:21 PM
Hi,
What are the possible cases in which the statement not accessible error could be thrown other than these two conditions
1) period missing condition and
2) the object not activated
‎2007 Sep 19 4:29 PM
‎2007 Sep 19 4:29 PM
‎2007 Sep 20 5:13 AM
Hi Rob,
Thank you but the stmt is within the include and that include is enclosed well within the form and endform and the period is proper it is activated but iam getting a statement not accessible .... can you help
‎2007 Sep 20 5:19 AM
if u have include, check where u r putting this statment (INCLUDE <include name>),,try changing its position...
‎2007 Sep 20 5:19 AM
Hi,
If the Include statement is after the variable is used, then you will get Statement not accessible error.
for eg.
<b>INCORRECT:</b>
v_qty = v_qty + 10.
INCLUDE ZDATA_DECLARATION_TOP.
In Include ZDATA_DECLARATION_TOP
Data : v_qty type i.
So it will give error.
<b>Correct:</b>
INCLUDE ZDATA_DECLARATION_TOP.
V_qty = v_qty + 10.
Best regards,
Prashant