cancel
Showing results for 
Search instead for 
Did you mean: 

Lock Exceptions

Former Member
0 Kudos

Hello All,

We have around 14 transactions built using SAP Web Dynpro for Java technology.

All these transactions are made available to the end user using the SAP Enterprise Portal NW04s.

Our top Level navigation consists of a single role called as "Role”. The second level navigation has four sections/tabs called as "Sec-A", "Sec-B", "Sec-C" and "Sec-D". Each of this has detailed navigation associated with it. There are a minimum of four iviews in the detailed navigation section of each 2nd level navigation tab.

The entire web Dynpro application is calling a RFC in the init method of the component controller. The RFC has a single import parameter called as a webuser which we are getting from the user who is logged into the portal. This RFC upon successful execution returns the user information. The information is returned in the form of tables and there are around 23 tables that are being returned. Not all of them have data and each table will not have a data to an extent of 50k rows. On an average for different users the different tables will return a Max of 50 records.

Now I am being faced with a peculiar situation, we are getting a lock exception if the user navigates away from a running transaction and tries to access some other transaction. Basically by default the first section loads up and under the first section the first iview loads up. When it is loaded it is making a call to the R/3 system to fetch the details. Now for any reasons (portal being slow, network being slow, or some other issues) the first screen of the transaction is tasking a longer time to load up.

The end user being impatient tries to navigate to some other transaction and that is when we are getting the lock exception.

Does web dynpro/r3 provide any mechanism in which we can stop the rfc from being executed? Like the ways we have exclusive lock mechanism in the ODBC calls made from VB.

If there is no mechanism then we need to tell the end user (or educate the end user) not to navigate away from the running transaction no matter how long it takes?

Please advice

Thanks and Regards

Manoj Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I'm having the same problem, have you found a solution yet?

Regards,

Paulo.