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

Error Message while saving in Partner function validation

former_member1716
Active Contributor
0 Likes
521

Hello Experts,

I did an enhancement for partner functions validations, Here whenever i enter a wrong partner function and save, it should throw an error message and stay in the same page for entering the correct value.

i coded like this,

   MESSAGE E001(Zxxx) DISPLAY LIKE 'I'.

Here i get a pop up for entering a wrong value but the page becomes inactive(Non-editable). can you please help me in meeting my requirement by both throwing an error and staying in the same page in active mode(Editable).

1 ACCEPTED SOLUTION
Read only

former_member219762
Contributor
0 Likes
483

Hi,

Display like won't change the programme flow.So error message disable if that message raised in not Conditional module.So check where standard validations taking place or conditional module of your filed  and put your validation in that module by implicit enhancement.

or change code as   MESSAGE I001(Zxxx) DISPLAY LIKE 'E'.

Regards,

Sreenivasa.

2 REPLIES 2
Read only

former_member219762
Contributor
0 Likes
484

Hi,

Display like won't change the programme flow.So error message disable if that message raised in not Conditional module.So check where standard validations taking place or conditional module of your filed  and put your validation in that module by implicit enhancement.

or change code as   MESSAGE I001(Zxxx) DISPLAY LIKE 'E'.

Regards,

Sreenivasa.

Read only

former_member1716
Active Contributor
0 Likes
483

I have code as below and it is working fine as per my requirement.

   MESSAGE S001(ZXXX) DISPLAY LIKE 'E'.

Thanks sreeni for your response

Thanks,

Satish