Skip to Content
Former Member
Sep 06, 2007 at 05:07 AM

Updating database table for 'CHANGE' and 'ADD' buttons.



I am working on module pool program. Here i am using table control.Below is my requirement:

1) I have designed a selection - screen with 'CHANGE' and 'DISPLAY' buttons and in screen 100 i have 'ADD' and 'SAVE' buttons.

2) when i click on 'CHANGE' , it will move to screen 200 here i need to change quantity field for that particular record which is in table control.once i change the field value and click on 'SAVE' a message should be populated that "RECORD IS SAVED' and this record should be updated in database table with new quantity field value and it should return back to my selection screen.

3) When i click on 'ADD' , it should display already existing records in disable mode and a new line should be added inorder to enter new records. Once i enter the data and click on SAVE, this new record should be saved in the database table along with existing records.

Kindly suggest me a sample code for this as am new to table control in module pool programming.