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

Add validations to z table update view

Former Member
0 Likes
745

Hi all,

i have a z table updated by a z transaction that uses an update view generated in se11. The view inserts and/or updates one field of several registers and i need to check if the sum of them is less than certain value.

Thanks in advance for any help.

1 ACCEPTED SOLUTION
Read only

marcin_cholewczuk
Active Contributor
0 Likes
708

Hi,

I guess you mean Maintenance view? If yes then use events (in maintenance generator go to Environment->Modification->Events). Here choose one of events and implement form.

Best regards

Marcin Cholewczuk

Hi all,

i have a z table updated by a z transaction that uses an update view generated in se11. The view inserts and/or updates one field of several registers and i need to check if the sum of them is less than certain value.

Thanks in advance for any help.

4 REPLIES 4
Read only

marcin_cholewczuk
Active Contributor
0 Likes
709

Hi,

I guess you mean Maintenance view? If yes then use events (in maintenance generator go to Environment->Modification->Events). Here choose one of events and implement form.

Best regards

Marcin Cholewczuk

Read only

Former Member
0 Likes
708

Thanks for the reply.

I tried with events and my own form but every time I change a field value the check is not executed.

Read only

0 Likes
708

Hi Ebaristo,

You would need to use table maintenance events "01" and "05" so that the check will be executed when you changes an existing entry as well as when you create a new entry.

There is good article in SDN on how to use events: at http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-876528725...

Regards,

Ramnivas

Read only

Former Member
0 Likes
708

Thanks to all for your replies but

I think I'll use a report since I need to sum more than one record in order to make the check.

Thank you again for your suggestions.