2011 Apr 14 1:01 AM
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.
2011 Apr 14 3:18 PM
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.
2011 Apr 14 3:18 PM
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
2011 Apr 14 8:10 PM
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.
2011 Apr 15 5:00 AM
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
2011 Apr 16 8:43 PM
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.