cancel
Showing results for 
Search instead for 
Did you mean: 

Powl - query locks - allow multiple session access

Former Member
0 Kudos

Hi,

When a POWL is opened and accessed by a user from portal, same POWL is accessed by same user from other terminal.

Then the query is getting locked.

We want to allow the multiple access of same POWL and same query.

Theres something mentioned - allow shadowing in sdn wiki. Not able to follow.

Can some one explain it clearly pls.

Warm Regards,

Ashhwin.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello ,

The KBA note 1625506 that is in the process to get released explain how to do that:

To resolve this, the only technical option we have right now is to allow the users to execute the same queries parallelly. i.e., the user would be able to view the same query even if it is locked. This can be achieved by switching on the "allowShadowing" property on the POWL.

However, the limitation of the "allowShadowing" property is that the caching of the query would not work. i.e. queries would be filled only when the user clicks on the query name. Shadowing mode just provides a snapshot and the caching is not supported in this scenario.

Allow Shadowing -> Option to allow same query to be opened in more than one session. POWL queries are personalized queries that are locked for a user in a particular session. Meaning, when the same user opens the same query in the second session, the query is displayed in a disabled mode from the second session onwards. This is the normal behavior of POWL.

Nevertheless, in cases where same 'User Ids' will be shared across business users, it is critical to have the same query opened in N number of sessions in an enabled state to allow the users to perform their business operation. This behavior can be switched on explicitly from the configuration and is referred to as 'Shadowing Mode' execution of POWL.

If the shadowing mode is not acceptable, you only have the option of educating the users to not use the 'Close' or 'Back' button in the browser and to wait for the results to be loaded before clicking again.

HOW TO CONFIG: Steps for configuring the Shadowing without cache support is as follows:

1. Start transaction SE80 and enter package GEN_PERSONAL_OBJECT_WORKLIST

2. Right click on node 'POWL_UI_COMP' or 'Component Configurations' ->create/change configuration

3. Web Dynpro Configuration Editor will start up

4. Enter 'POWL_UI_COMP' into the field component name and choose a name for your configuration

5. Hit the link 'create' the left function section

6. Click on tab 'explicit configuration'

7. Select the node 'CONF_DATA'

8. You have the following configuration possibility: allowShadowing

9. Optional: on the node 'TYPE_SPECIFIC' you can do POWL type specific configurations

10. On the left panel you need to hit the save button in the 'Changed Configuration' section.

11. Now you need to create the application configuration

12. Go back to SE80 and select the node Web Dynpro Applications

13. Right click -> create/change configuration

14. In Application Configuration editor enter the following Application = POWL Configuration = <your choice>

15. hit create in the functions section

16. In the section 'Configuration of Root Component' please enter the previously created component configuration (step 1-11)

17. Save your configuration

18. When you get back to the se80 and click the refresh button above the object tree, your configurations will appear.

19. You can test the configuration by right click and 'Test' or by adding to the URL Parameter - sap-wd-configId=<YOUR_CONFIGID>.

Thanks,

Melina