|
ABAP Tutorials -
Dynamic Programming
|
|
Written by Varun Verma
|
|
Saturday, 16 August 2008 19:50 |
|
What is Dynamic Programming? With the increasing complexity of the applications, sometimes it becomes necessary to make certain decisions only at runtime. Some examples could be: - The name of the DB table (from which the data is to be selected) is known at runtime only
- For any kind of DB operation (select, insert, update or delete) the name of the table is known at runtime only
- If the DB table can change, so has to the structures / internal tables
- Function module / Method name to be called is known at runtime only
- Class to be instantiated is known at run time only
In all above (and many more such cases), dynamic coding is required so that your code is neat, clean, flexible and robust. How to achieve this will be discussed in detail in the further chapters.
|