The error is still there.
First I deleted the MAS90 directory.
I made a complete fresh MAS90 installation.
Registered the modules, created the same company and Users.
Thereafter I copied the data directories of the modules (with company code in its directory name) to the MAS90 directory.
However, when i access the Sales Order Module's Invoice Data Entry, the error is still there.
---------------------------------------
Error: 27 Program: S0WDBA Line: 10225
---------------------------------------
Error Information:
----------------------------------------------------------
Error: Error #27: Unexpected end or incorrect WEND, RETURN, or NEXT
Program: S0WDBA
Line: 10225
Channel: 0
Key: []
Last File Opened: M:\soa\SYOCTL.SOA
Last File Accessed: M:\soa\SYOCTL.SOA
Serial Number: 0401y001-0500011
-----------------------------------------------------------
I even deleted and replaced the file SY0CTL.SOA from the previous years' backup. The errors still there.
PLease advise.