11-08-2007 10:10 PM
11-10-2007 12:33 PM
What format is "FISCPER" stored in? Your comment at the start says "001.2007" but in your code you are concatenating Year & '001' which will result in "2007001"...? So perhaps the code should read
concatenate '001.' curr_year INTO Jan_Currentyear.
Jonathan
11-09-2007 7:05 AM
Where exactly its failing ? Have you checked that through debugging. Is the data present in the database table which the query is checking.
Just check the place at which the select query is failing. Also check whether Modify statement is failing.
Once you have found the Place at which the failure is occuring then we can check on the query which is causing the failure.
If all the Queries are passing successfully, then try using COMMIT WORK and WAIT statement after the endloop.
The data might not have been committed.
Regards,
Abhishek
11-10-2007 12:33 PM
What format is "FISCPER" stored in? Your comment at the start says "001.2007" but in your code you are concatenating Year & '001' which will result in "2007001"...? So perhaps the code should read
concatenate '001.' curr_year INTO Jan_Currentyear.
Jonathan