cancel
Showing results for 
Search instead for 
Did you mean: 

How to get last values entered by user , wher user login again?

Former Member
0 Kudos

Hi web dynpro gurus

I have a web dynpro ABAP screen which is having some fields like contract no. product no.

Suppose user login first time and given some values to field.

When user will login again the last time entered values must be available to user.

Please help me how can i get the last entered values by the user.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Using context change log you can record the user entries.

It retrieves the old value and the new value of the user entries.

Check the standard application DEMO_CONTEXT_CHANGES

for record user entries.

Check the below help link also.

http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/f95e42ff93c153e10000000a1550b0/content.htm

Thanks.

former_member515618
Active Participant
0 Kudos

Hi Viji,

Does the context change log holds the data even if user closes the application and calls it again?

Regards,

Sravan Varagani

Answers (1)

Answers (1)

former_member515618
Active Participant
0 Kudos

Hi Sandeep,

Once the application is closed all th date in the context nodes are all invalidated. So there is no way to retrieve the values entered in the previous log in.

One way is to store them in a custom table and retrieve them back when user accesses the application again. Every time he enters a new set of values over write the same.

I understand that this is a rudimentary approach but it works.

Regards,

Sravan Varagani