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

check mandatory fields before saving

Former Member
0 Likes
789

Hello,

In my Z-program, how can I check all mandatory fields in a dynpro before saving?

Is there any function to do that?

Thanks!!!

1 ACCEPTED SOLUTION
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
610

Hi

Check whether those fields are defined as obligatory or not?

Regards,

Sreeram

3 REPLIES 3
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
611

Hi

Check whether those fields are defined as obligatory or not?

Regards,

Sreeram

Read only

Former Member
0 Likes
610

Hi alberto,

1. If the fields are mandatory (as set in the field attributes while designing the screen),

2. then we don't have to write any additional logic for the same.

The system will AUTOMATICALLY check for it, and issue appropriate message.

regards,

amit m.

Read only

Former Member
0 Likes
610

Hi,

In the attributes of the input field. check the flag "Required".

Then activate the program..

You will not be allowed to save unless you enter some value in the required field..

Thanks,

Naren