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.