Application Development 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: 

validating non key fields in table maintenance generator

former_member262988
Active Contributor
0 Kudos

Hi,

I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....

please suggest

Thanks,

Shailaja Ainala.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Write a code between chain and endchain. as follows

chain

for validation of field ,select the data from check table of particular fields based on entered value.

and check the sy-subrc value , if it give 4 then raise a error message.

endchain

0 Kudos

through event i want .......i have checked the fields are in chain and endchain only ....

Thanks,

Shailaja Ainala.

0 Kudos

Hi Shailaja,

Its property of error message, which makes it as non-editable.

You can display either status or info message after validation check.

And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.

Thanks,

Nisha Vengal.