on 04-24-2008 8:51 AM
Hi,
in my application, i have a view which shows a data in a form. This data is shown as disabled. When user clicks on button "edit" it's changed to enabled and user can change values. After changing he can save the data with "save".
Now i need a "concept" doing the database access.
My idea is to "lock" the database row when user is clicking on "edit" button (are there standard rfc doing that??), on "save" button, data is transfer to the system and updated via update command in abap code. after this i need a commit work, right?
i user clicks "cancel" button or close the window and leave the application, i need to unlock the row, right?
Hope you can help to me to get the standard logic to it.
Kind regards,
Christopher
Hi,
You can call an RFC function to lock your row.
then if the user saves the data, you call another RFC function to update data it will unlock your objects when you commit.
If the user chooses to cancel it's work, call another RFC function to unlock your objects.
You need 3 RFC functions.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.