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

Checking Objects

Former Member
0 Likes
299

Hi all,

I created a abap objects dialog program including a html viewer. Users are running the program and displaying web sites or BW-webreports in the viewer. Then, after some time without activity (I don't know the timeframe) nothing happens in the browser anymore. Is there a way to check if the browser/viewer is still working? What are the methods to call in order to get it to work without restarting the program? Any help is appreciated.

regards

Siggi

1 REPLY 1
Read only

Former Member
0 Likes
279

Hi

In debug mode Check html viewer object

and you can compare your values with the below.

Object/Class        {O:21*CLASS=CL_GUI_HTML_VIEWER}                                 
Interface                                                                                
No.         Attributes/Interfaces         T  LngthContents                           
  1         LIFETIME                      I     4          2                         
  2         PARENT                        r     8 {O:20*CLASS=CL_GUI_CUSTOM_CONT    
  3         M_RESULT                      I     4          0                         
  4         M_DP_LIFETIME                 C     1 T                                  
  5         M_HDP                         u   284                                    
  6         M_UIFLAG                      I     4          0                         
  7         M_BROWSER_STRING              C   255                                    
  8         M_HTTP_HTMLVIEWER             g     8                                                                                

regards

vijay