LUW stands for a Logical unit of work.
Let is take an example of a sales order.
One sales order will have its data stored in different tables
like VBAK, VBAP, VBPA, VBEP, VBUK and many other tables.
Assume that you have updated VBAK table in you code and commited
the work. and later the program goes for a dump beofre the data gets saved in
the other related tables.
Then those tables will not be filled.
This leads to a inconsistency of data.
Hence the commit should happen only when all the logically
relevant tables get updated.
This is called a LOGICAL UNIT of WORK.
Ths system commits the database changes only after the succeful
completion of the LUW, else its rollsback the changes.
0 comments:
Post a Comment