Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

database update

Former Member
0 Kudos
82

Hi all,

I have the data in the internal table during runtime. I would like to know how I can get or update this data into the SAP database.

Please let meknow in detail.

Thanks.

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos
55

You can use Insert or Modify to upload data.

Check out if any BAPI is there for the same, then use it.

Regards,

Amit

Reward all helpful replies.

4 REPLIES 4

Former Member
0 Kudos
55

use modify itab in the loop so that that can update

amit_khare
Active Contributor
0 Kudos
56

You can use Insert or Modify to upload data.

Check out if any BAPI is there for the same, then use it.

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos
55

Hi Shekar,

create a lock object.

Set Lock to the table.

Update the DB table.

Release Lock.

Reward points if helpful.

Regards.

Srikanta Gope.

srikanta.gope@tcs.com

Former Member
0 Kudos
55

Hi shekar.

If u need to update standard database table then it would be suggested to update them thru their standard transactions using BDC though u can do it directly using INSERT and MODIFY.

If it is Z table then u can use..

INSERT INTO dbtable from TABLE itab or

MODIFY dbtable from TABLE itab.

Reward if useful...

Regards

Prax