on 09-02-2008 8:41 AM
hi,
friend my requriment is how i can update the main database table by web-dynpro application .
PLS GIVE ME SUTIABLE CODE FOR THIS REQURIMENT
use a BAPI call
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To update standard tables you should use relevant BAPI's to update the tables since we cann't use CALL TRANSACTION in Web Dynpro application.
If it is a custom table you can use standard Query Modify to modify the entries of table.
Thanks
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use normal ABAP query to update the main database. You need to use that query in appropriate place.
I have used the following code in my view init method.So that it update the database when the init method triggers.
Zfirst is database table
method WDDOINIT .
update zfirst set Designation = 'SENSAI' where id = 101.
endmethod.
This will solve your problem.
Regards,
Ramanan.
Edited by: Ramanan Panchabakesan on Sep 2, 2008 10:20 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.