‎2019 Feb 14 10:28 AM
Hi everyone,
I have designed custom screen in MPP which consists of candidate details when we fill the details and if we click on save button the data will save in database table.Here my requirement is when we fill only half of those details and try to click on exit it should display an error like "Data will be lost" .
Can any one help me how to do this.
‎2019 Feb 14 2:10 PM
Either you can make those fields as a mandatory or handle it in CHAIN...ENDCHAIN in the PBO.
‎2019 Feb 14 2:23 PM
Hi Praveena,
I think, You should use one global variable(gv_is_edit) of Boolean type. And set that variable value as true while editing or filling data and set false after saving data.
And check global variable(gv_is_edit) value on exit in PAI. If value is true then display one module screen or message, else exit.
Regards,
Rupesh