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: 

Why we use update FM to update database table ?

Former Member
0 Kudos

What is the exact use of update FM in SAP ABAP ?

We can update the DB table by other methods too than what is the exact use of UPDATE fm?

5 REPLIES 5

Former Member
0 Kudos

Why we use update FM to update database table ?

kjyothiraditya
Participant

Hi ,

We dont use Update FM to update database table. We can use lock objects on the table and modify the table values in case of custom objects or we use BAPI to update standard tables. However sometimes, we may need to change data of standard documents which we may need to modify. In such cases, we use update FM where it gets triggered after database commits and we use the document number generated to modify subsequent documents' data.

horst_keller
Product and Topic Expert
Product and Topic Expert

Thats more a how than a why Question. And the Why is very hard to hard to explain without going back 1980. A pros and cons discussion on the Update task would be useful. I personally think there are more negatives than positives for using the update task.

Jelena
Active Contributor

Sorry but pretty much every sentence in this comment is inaccurate in general.