Skip to Content
-1
Jun 29, 2020 at 02:52 PM

Standard toolbar cancel button disable not working

181 Views

Dear Experts,

I'm trying to edit an old z-program. The program starts with standard selection screen and then based on the selection criteria data is fetched and written using write statement. But the program uses a custom status on where the results are being written (no z-screen, just write statement). Now I need to either disable the cancel, back button in the standard toolbar or capture the back/cancel commands when user clicks any of them.

I tried to use the exclude function like set pf-status 'ZABC' excluding 'CANCEL'. But I still can access the cancel button. Not sure what else is missing here.

Please guide.

Thanks