I am developing the table control in module pool.User needs to use table control to enter the data in it manually and store it in the database.
the table control has following fields for example :
SR NO NAME PLACE CITY
1 AAA BBB CCC
2 DDD EEE FFF
3 GGG MMM PPP
The requirement is the serial no. column in the table control should be filled automatically by default like 1,2,3 and so on.....and the user wants just to fill the remaining details like name,place and city without modifying the serial no.
The user should not be allowed to modify the serial no. and also when user presses insert button, the new row inserted should have the appropriate serial.no filled automatically.
please help me with the required code and where to write it in my module pool.
please request you all to provide me solutions on this.
Thanks in advance for ur help...