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

Update

Former Member
0 Likes
978

Hi ,

Consider we have a Transaction XD01 , It is made of many Screens , We move many screen to complete customer creation , In each screen we write some data , No my doubt is

1. Where does our data go when we move from one screen to Other , Does it

is geeting stored any where ?

2. Finally we press Save , Now from where the data from First Screen , Till last

screen will be available , How does system know Which screen data to be

send to which table .

3 . Now suppose if last sceen data in not correct and trancsaction Fails , Where

does that data we gave from first screen till th last screen Go ? Will it vanish

Which Work process does these Things.......

Kidly clarify ......

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
945

hi,

When u enter the values in one screen ,the values will be stored in temporary structures and fianlly when u press on save button then only the values from temporary structures will move to the database tables.For each transaction there will be one program attached,this program only updates the data in database tables.Suppose if there is an error in last screen unless until u give correct values it won't update the tables,if u press cancel and come back then all the data given by u will be lost..

Regards,

Nagaraj

10 REPLIES 10
Read only

former_member404244
Active Contributor
0 Likes
946

hi,

When u enter the values in one screen ,the values will be stored in temporary structures and fianlly when u press on save button then only the values from temporary structures will move to the database tables.For each transaction there will be one program attached,this program only updates the data in database tables.Suppose if there is an error in last screen unless until u give correct values it won't update the tables,if u press cancel and come back then all the data given by u will be lost..

Regards,

Nagaraj

Read only

Former Member
0 Likes
945

Hi,

When you enter data on each screen, the field values will be stored on that screen field.

Finally when you update/Save then all the Screen fields will be updated into database.

Read the sap Doc on Update Bundling/ Logical unit of work(LUW) etc. to understand better.

Regards,

Anji

Read only

Former Member
0 Likes
945

HI,

When you enter data in various fields in the screen it will stored in the screen fileds and finally when you press save button the update function modules come into action and data is saved in database tables/ SAP LUW will also comes in to action

Regards

harsha

Read only

Former Member
0 Likes
945

So ,

What is work of Data Base LUW , SAP LUW ?

Read only

Former Member
0 Likes
945

Kumar,

SAP LUW happens at each time whenever a screen changes.

DB LUW happens only at time of database commit.

Ex: while Creating a sales order,

navigating between screens SAP LUW happens.

When the document is saved, an document will get created..this is DB LUW.

Check out these threads..

For SAP LUW check this

http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm

FOr Database LUW check this.

http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm

Pls. Mark if useful

Read only

Former Member
0 Likes
945

hi kumar

When u enter the values in one screen ,the values will be stored in temporary structures and fianlly when u press on save button then only the values from temporary structures will move to the database tables.For each transaction there will be one program attached,this program only updates the data in database tables.Suppose if there is an error in last screen unless until u give correct values it won't update the tables,if u press cancel and come back then all the data given by u will be lost..

the information given by nagaraj is exactly correct.if u want to see the tables wherere they are information is stored go to

sql trace-> activate trace->go to another session ->enter the tcode xd01or any thing else given->do the modifications->go to trace-->deactivate the trace->click on display trace.u can find all tables where the information is stored while doing modifications.

Read only

Former Member
0 Likes
945

hi,

XD01 is the tcode with collection of screens that's what called a transaction. When u provide some information to the screens or a screen, SAP LUW comes to into picture. I mean filling of screen information is taken care by this which stores these information temporarily in SAP Memory. Like wise..when all the screens are filled some information, finally, Database LUW comes into picture which ensures that either the transaction is performed in all or nothing manner...that is either committed or thrown away(rolled back).

regards,

shamim

Read only

Former Member
0 Likes
945

hI ,

If each screen stores in a teporoary place , Then why do we need binding of LUW till the final commit occurs in Multiple Screen Trasactions ?

Read only

Former Member
0 Likes
945

Hi ,

Say for ex i am Using FK01 , Till final screen i enterd data , Now i dont press Save , But i have to view the data from the temproary table which contains the data from each screen , How to view that ?

Read only

Former Member
0 Likes
945

Can i see the temproary table data before saving Transaction ?