Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Markus_Massfeld
Explorer
This blog will give a short instruction how to configure an OWL to auto-refresh.

When changes are made in the QA and the UI is saved and closed, the OWL is subsequently displayed again. However, the changes are not displayed in the OWL and first an update must be performed with the refresh button.

Changes to the OWL



  1. Open the OWL in the UI Designer.

  2. In the Controller Tab create a new Inport with the name AutoRefresh_Inport

  3. In the Properties Explorer perform the following steps:
    - Set the property Events -> OnFire to the default EventHandler
    - Enter the name AutoRefresh_LocalEvent in the field Navigation -> Local Event.

  4. Save and activate


 

Changes to the QA



  1. Open the QA in the UI Designer

  2. In the Controller tab create a new outport named AutoRefresh_Outport

  3. In the Properties Explorer perform the following steps:
    - Set the property Behavior -> Broadcast to True
    - Enter the name AutoRefresh_LocalEvent in the field Navigation -> Local Event.

  4. In the Controller tab edit the SaveHandler and add a new operation FireOutport below the existing operation WindowAction. Then set the OutPort AutoRefresh_OutPort for FireOutport.

  5. Save and activate


Hopefully this blog is useful to you to auto-refresh your OWL. The configuration only takes a few minutes and it works with similar settings in the OIF.

Please feel free to leave some feedback.
4 Comments
Labels in this area