Skip to Content
0
Aug 09, 2016 at 08:52 PM

Creating Multiple Entries using Table Maintenance Generator

2420 Views

Hello Gurus,

I have requirement to create custom table and TMG for the table. In the table there is a key field that should populate automatically, I have written a logic in event 05 as this is new entry and it is working fine. And the logic is, get the entries based on key fields which entered by user and get the highest value record. If record exists then add the 1 to highest value of key field and populate, if record didnt exist then pass 1 to the key field.

My logic is working if user enters only one entry. While testing I came to know that user may enter more than one new entries and click on enter in this situation my logic is failing.

I have searched that, We need to modify TOTAL and EXTRACT internal tables but am not able to modify. Please suggest me how to do.

Thanks and Regards,

Muralikrishna Peravali.