Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Displaying error message while clicking on exit button in MPP screen

0 Likes
807

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.

2 REPLIES 2
Read only

srikanthnalluri
Active Participant
0 Likes
726

Either you can make those fields as a mandatory or handle it in CHAIN...ENDCHAIN in the PBO.

Read only

former_member557605
Participant
0 Likes
726

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