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

Table Maintenance Generator Events

Former Member
0 Likes
392

Hello Everyone,

I have a requirement which is as follows:

My Ztable while being maintained in sm30 should always show the latest record only and all other records should be deleted.

This i have managed using an event.Further, I also need a feature where in if i change only one of the fields of the latest record and press save then that record should get saved as the new and latest record.

Eg: Suppose my ztable has 4 fields, viz, Plant, time, date, no._of_days and i have my latest entry as AE01 07:37:26 18.06.2010 2

and now i want a new entry where only the last field is changed to 3 then i should be able to do the same just by changing 2 to 3 and pressing save.

I didnt find an event that would help in this.Please suggest how to go about this.

Regards,

Puja

Hello Everyone,

I have a requirement which is as follows:

My Ztable while being maintained in sm30 should always show the latest record only and all other records should be deleted.

This i have managed using an event.Further, I also need a feature where in if i change only one of the fields of the latest record and press save then that record should get saved as the new and latest record.

Eg: Suppose my ztable has 4 fields, viz, Plant, time, date, no._of_days and i have my latest entry as AE01 07:37:26 18.06.2010 2

and now i want a new entry where only the last field is changed to 3 then i should be able to do the same just by changing 2 to 3 and pressing save.

I didnt find an event that would help in this.Please suggest how to go about this.

Regards,

Puja

1 REPLY 1
Read only

Former Member
0 Likes
364

HI Puja,

your first point when ever you are entering a new data in to table thats only get saved and rest of the records needs to be deleted is it?

For this there is one event when you create a entry i think its 25 or 26.

In this event delete the values from the table.

After this when the user do the save it will show only the record you have saved and the rest of the records will not be there.

Second point.

For this there is an event (change) in this you just incorporate the logic you needed.

just modify the table from the workarea.

Hope this might help you.

With Regards,

Sumodh.P