ganesh_kapase
13th February 2006, 13:10
I have attached a custz report in to standard print session. I had compiled report script with Debugger option but control does not go to debug option.
Please help me to overcome the problem.
Thanks
george7a
13th February 2006, 13:40
Hi,
What happens when you run it? Does run normally? If yes then check if there is any hang processes in Baan using "Start Shell" in the option dialog. If there is a hang report there kill it, compile again then try it
I hope it helps,
-George
en@frrom
13th February 2006, 14:26
There are two options:
either you have compiling errors, or like George said: the report is currently active.
ganesh_kapase
16th February 2006, 10:02
Hi George
If I try to run the session it is working fine without hanging the processes. Session will not run in debug mode.
Hi En
I am getting compilation errors as attached in XLS. Also please check the attached script and guide me.
Regards
george7a
16th February 2006, 10:06
Hi,
I don't see any errors! Those are warnings.
It is not the session who hangs, sometimes it is the report. Check all running processes..
Good luck,
- George
en@frrom
16th February 2006, 10:56
Is the script you attached the CUSTOMIZED script? Is this the same report code as the original version? Also, is the customized script in the correct development layer (highest layer)?
ganesh_kapase
16th February 2006, 11:43
Hi
Actually script is standard I had made modifications and copied in to custz. VRC. Script is in correct VRC.
Is the script you attached the CUSTOMIZED script? Is this the same report code as the original version? Also, is the customized script in the correct development layer (highest layer)?
en@frrom
16th February 2006, 13:15
And are the changes you applied active on the report when you run it now? If you are not sure, try to add a message or so in for instance the header.1: before.layout: to test if the script is being compiled at all...
ganesh_kapase
16th February 2006, 14:18
Changes are not activated after run the report. I made changes in the Layout section.
rohan311
17th February 2006, 11:22
Hi,
I had this problem once. I was not able to debug the report even after it had compiled. The reason was that since there were too many layouts on the customised report, the runtime memory was less for executing the debugger.
Since most of the layouts were similar, I could overcome this by deleting a few layouts and debugging them.
Hope it helps!
Regards,
Rohan
en@frrom
17th February 2006, 11:49
Rohan, I don't know of a problem like you describe, would be interested to know more of it; I however don't fully understand what you mean. Could you give a bit more detail please (messages you got, errors etc)??
Anyway, what I understand from you if I understand well, is that your report did work, just the debugger wouldn't be activated. Ganesh however, says that his report does not even get compiled...
mark_h
17th February 2006, 15:35
Have you actually gone out to the object and made sure that it has been re-compiled? You might even go so far as to delete the object - before recompiling. I have seen cases where file permissions are not correct and the file does not get replaced, but the compile looks like it worked.
Also run explode6.1 (or your version) to make sure that the path that is returned is actually the path you are compiling to. I have seen extraneous files cause problems in this regard - in the path when they should not be in the path(and not in the database).
Last but not least - make sure the report is not in shared memory. If it is then you will need to start and stop shared memory. Really do not know anything about this since we do not appear to use it.
And yes I have seen the problem rohan described - but years ago. You could compile the report and run it, but if you put it in debug mode it would abort in the debug process. Can not remember what reports this happened in.
ganesh_kapase
18th February 2006, 12:26
Hi Mark
I have gone through the object and observed that object is not updating after compilation. I had removed the old object, recompiled the script and then tried to run the report. I got error message as mismatch of report object.
Also I am not aware of explode6.1 command, can u please explain me in brief. I am working on BaaN4c4. If u could refer the attached document you will realize that no.of functions are not used in the script.
Have you actually gone out to the object and made sure that it has been re-compiled? You might even go so far as to delete the object - before recompiling. I have seen cases where file permissions are not correct and the file does not get replaced, but the compile looks like it worked.
Also run explode6.1 (or your version) to make sure that the path that is returned is actually the path you are compiling to. I have seen extraneous files cause problems in this regard - in the path when they should not be in the path(and not in the database).
Last but not least - make sure the report is not in shared memory. If it is then you will need to start and stop shared memory. Really do not know anything about this since we do not appear to use it.
mark_h
18th February 2006, 23:04
Hi Mark
I have gone through the object and observed that object is not updating after compilation. I had removed the old object, recompiled the script and then tried to run the report. I got error message as mismatch of report object.
Also I am not aware of explode6.1 command, can u please explain me in brief. I am working on BaaN4c4. If u could refer the attached document you will realize that no.of functions are not used in the script.
Check this link out for syntax (http://www.baanboard.com/baanboard/showthread.php?t=15896&highlight=explode6.1) of the explode command. Not sure about versions, but I think yours would be 6.1. All it really does is display the path to the object for you current bshell.
I do not think I have ever seen a mismatch for report object. I would if that could be the RTDD. You might need to create RTDD. Maybe a screen shot of the actual error would help someone tell what the problem is.
ganesh_kapase
22nd February 2006, 09:00
Problem solved after deletion of unwanted piece of code from report script which is defined but never used.(book2.xls)
Now I can able to debud the code and also the changes made in Layout section is gets affected.
Thanks to all for your comments.
Regards,
Rita Kotecha
22nd February 2006, 12:45
Hi Ganesh,
Book2.xls is missing.
ganesh_kapase
23rd February 2006, 11:00
Hi
Please read as book1.xls instead of book2.xls
Book2.xls is missing.