Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8507

Spool disappears in SP01 after exception raised or exiting application, but remains during LEAVE TO SCREEN '0'.

$
0
0

Hi Experts,

 

I'm using FMs SSF_OPEN and SSF_CLOSE to display multiple smartforms. After SSF_CLOSE the spool appears in SP01, when I exit the application (exit application and debugger) or raise an exception after FM SSF_CLOSE, the spool disappears from SP01.

 

But if after SSF_CLOSE, I put SET SCREEN '0'. LEAVE SCREEN - which supposedly should exit the program, the spool is not being deleted from SP01.

 

My question is, is there any way to commit the spool in SP01 even if I close the application or raise an exception? Should the code "COMMIT WORK", work for this requirement?

 

Thanks in advanced,

Jack.

 



Viewing all articles
Browse latest Browse all 8507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>