2006 Jun 27 9:08 AM
i made this
zmilion = '1000000'.
and get
statment is not accesible
2006 Jun 27 9:17 AM
Hi Liat,
No problem.
Give it like this.
Start-of-selection.
zmillion = '10000000'.
That problem will be solved.
Regards,
SP.
2006 Jun 27 9:09 AM
There should be a syntax problem with the statements before and after this.
Can you post the entire code?
Regards,
Ravi
2006 Jun 27 9:10 AM
check zmilion its type or field length.
for ur case u asumed it is char ield.
2006 Jun 27 9:11 AM
Hi liat,
1. just give
<b>START-OF-SELECTION.</b>
zmilion = '1000000'.
regards,
amit m.
2006 Jun 27 9:17 AM
Hi Liat,
No problem.
Give it like this.
Start-of-selection.
zmillion = '10000000'.
That problem will be solved.
Regards,
SP.
2006 Jun 27 9:20 AM
Hi liat,
It's because u might have declared it in wrong event, like Initialization, Start-of-selection, At selection-screen etc...
Could u please send the piece of code which contains this statement.
Regards,
Satya Priya
2006 Jun 27 9:22 AM
Hi Liat,
I think you have written the statement after an ENDFORM statement or an ENDMODULE statement. In that case, the system will not be able to access the statement. It should belong to some event block to be executable.
Regards,
Anand Mandalika.
2006 Jun 27 9:26 AM
Hi Liat,
Check what is the type zmilion is declared.
if its a character type then ur statement would work as u have given it in quotes.
Since its an error, ur type is not character. So try to declare it as either Decimal type or an integer and directly assign the value 1000000 to it without the quotes.
Regards,
Tushar
2006 Jun 27 9:45 AM
tell me first how u declared
zmilion..?
data: zmilion type ?...
ramesh.