Updating a Database Table from an Internal Table

In case you have an internal table, and wish to use it in order to update a database table, use the following statements:

UPDATE dbtab FROM TABLE itab

Or

INSERT dbtab FROM TABLE itab

Where dbtab is the name of the database table, itab is the name of the internal table
Note: A common mistake would be to omit the word TABLE from the above statement. Doing this will yield the following error:
“You cannot use an internal table as a work area”.

Read more...

Message Classes

Messages are text which you use in your programs in order to communicate with your users. For example, you wish to state that some process completed successfully, or, you wish to declare an error.

Message classes are containers of messages. Each message has a number and a value. Parameters can also be added to message classes, just as could be achieved by string formatting in languages such as Java or C.

You can create and edit message classes by using transaction SE91.

To read more about Messages and Message classes, click here.

Read more...

About This Blog

This blog contains tips, tricks, tutorial, and some of my personal experiences with the SAP ABAP language.

FEEDJIT Live Traffic Feed

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP