cancel
Showing results for 
Search instead for 
Did you mean: 

update the data base table by web-dynpro abap

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

TomVanDoo
Active Contributor
0 Kudos

use a BAPI call

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Pramanan
Active Participant
0 Kudos

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