Thursday, April 24, 2014

PDE-PPU007 Cannot destroy compiled state

Hello Friends,
                        I got a typical error  PDE-PPU007 Cannot destroy compiled state while using Oracle reports 6i.

On this error every thing works properly except prompting this message. So don't get panic the solution of this problem is very simple.
1. Identify the line of code where this error occurs using debug messages.
 i.e. message('error message'); in forms and  srw.message(1,'error message'); in reports.
use these messages between every lines of suspicious code (where you can expect this error).

2. Comment the line of code when detected.
3. Compile it using CTRL+SHIFT+K and save it.
4. Now uncomment the line code and  again Compile it using CTRL+SHIFT+K and save it.
5. Run it. It is solved now.  

1 comment: