Q-What is LUW ? What is the use of it ? What is SAP LUW?
A-A “LUW” (logical unit of work) is the span of time during which any database updates must be performed Either they are all performed ( committed ) , or they are all thrown away ( rolled back ).
It can be 5 sec or 3 sec .
Database LUW and SAP LUW -
1- SAP LUW > Database LUW .
2- DB LUW is small it do small changes ,but to bundle all changes we use SAP LUW .
3- Suppose in Module pool screen three screen involves and my requirement is to update all the tables when data is consistent in all three screen ,otherwise roll back all the changes done to the table .
So To achieve this we use SAP LUW .
We can achive this using CALL FUNCTION… IN UPDATE TASK statement .
No comments:
Post a Comment