Application Development and Automation 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: 
Read only

LUW

Former Member
0 Likes
725

Hi experts what is LUW, DBLUW and SAPLUW can any one spot light on this..

Regards

Balu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
692

Hi,

LUW are twp types.

1.SAP LUW----COMMIT AT THE END OF TRANSACTION

2.DB LUW------COMMIT AFTER EVERY SCREEN

Database LUW and SAP LUW

In the case of the database, an LUW is a sequence of data operations that cannot be divided up . The operations are either carried out in full or not at all. Database LUWs are modules which go to make up the database procedures for consistent data processing. An R/3 transaction can include several database LUWs (see example above), each of which can be terminated with a database COMMIT, which is generated automatically.

By way of contrast, an LUW for the R/3 System is a business process, which cannot be divided up. The process is either executed in full or not at all. The SAP LUW of an R/3 transaction usually has to contain several database LUWs. Under normal circumstances, it contains a dialog transaction (which maps a business process), and the command for writing the data to the database (update).

In each database LUW, data is written to the database to special update tables (and not to the application tables). Once the dialog area has been completed, all of the data in a database LUW is copied to the application tables: the update request is then performed

Check these links.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4c2a79e11d1950f0000e82de14a/frameset.htm

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4b9a79e11d1950f0000e82de14a/frameset.htm

Regards,

Priyanka.

5 REPLIES 5
Read only

Former Member
Read only

Former Member
0 Likes
693

Hi,

LUW are twp types.

1.SAP LUW----COMMIT AT THE END OF TRANSACTION

2.DB LUW------COMMIT AFTER EVERY SCREEN

Database LUW and SAP LUW

In the case of the database, an LUW is a sequence of data operations that cannot be divided up . The operations are either carried out in full or not at all. Database LUWs are modules which go to make up the database procedures for consistent data processing. An R/3 transaction can include several database LUWs (see example above), each of which can be terminated with a database COMMIT, which is generated automatically.

By way of contrast, an LUW for the R/3 System is a business process, which cannot be divided up. The process is either executed in full or not at all. The SAP LUW of an R/3 transaction usually has to contain several database LUWs. Under normal circumstances, it contains a dialog transaction (which maps a business process), and the command for writing the data to the database (update).

In each database LUW, data is written to the database to special update tables (and not to the application tables). Once the dialog area has been completed, all of the data in a database LUW is copied to the application tables: the update request is then performed

Check these links.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4c2a79e11d1950f0000e82de14a/frameset.htm

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm

http://help.sap.com/saphelp_erp2005vp/helpdata/en/41/7af4b9a79e11d1950f0000e82de14a/frameset.htm

Regards,

Priyanka.

Read only

p291102
Active Contributor
0 Likes
692

Hi,

In my knowledge LUW IS nothing but LOGICAL UNIT OF WORK.

thanks,

Shankar

Read only

Former Member
0 Likes
692

<b>LUW</b>

Period of time between two consistent states on the database.

<b>SAPLUW</b>

Indivisible business process, which is performed either completely or not at all.

Related sequence of programming units which when executed can be distributed across several work processes (several database LUWs) as with, for example, dialog steps or remote function calls. However, database changes are made within one single database LUW. SAP LUWs are carried out by grouping techniques in which update function modules or subroutines, among other things, are registered in various work processes and executed by one single work process. An SAP LUW is completed by the open SQL statement COMMIT WORK. Changes within an SAP LUW can be undone with the open SQL statement ROLLBACK WORK.

An SAP LUW usually has the same function as a dialog transaction (which maps a business process) and maps database changes made in dialog transactions to an update. A dialog transaction can, however, also include several SAP LUWs.

<b>DBLUW</b>

see this link

http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm

Reward points if helpful.

Regards,

U. Uma