cancel
Showing results for 
Search instead for 
Did you mean: 

Dump while approving leave request

former_member236708
Participant
0 Kudos

Hi,

We are hitting with "500 SAP Internal Server error" when trying to approve leave and trace trace here.

We are using SAP standard program and no custom changes were made, and it happens to one user and not sure what was missing for the user from configuration ???

After go live we started getting following short dumps in the production system which we never got in our development system.

For some of the users it is working fine. Where as for some users following short dumps are coming. Is it some thing missing for the user to configure ?

Please suggest me.

Please help.

+===============================================================================================

Category               ABAP Programming Error                                                       Runtime Errors         ASSERTION_FAILED                                                             ABAP Program           CL_WDR_CLIENT_APPLICATION=====CP                                             Application Component  BC-WD-ABA-RUN                                                                Date and Time          02.07.2015 09:28:55 


"ASSERTION_FAILED"                                                                           
    "CL_WDR_CLIENT_APPLICATION=====CP" bzw. CL_WDR_CLIENT_APPLICATION=====CM010                  
    "IF_WDR_UPDATE_SERVER_PEER_DATA~UPDATE_VIEW_STATE"   


Universal resource ID "/sap/bc/webdynpro/SAP/hress_a_ptarq_leavreq_appl"     


Information on where terminated                                                                  
    The termination occurred in ABAP program "CL_WDR_CLIENT_APPLICATION=====CP",                 
    in "IF_WDR_UPDATE_SERVER_PEER_DATA~UPDATE_VIEW_STATE". The main program                     
    was "SAPMHTTP".                                                                              
   
    In the source code, the termination point is in line 30 of (Include)                         
    program "CL_WDR_CLIENT_APPLICATION=====CM010".  

Source Code Extract                                                                              
Line SourceCde                                                                                  
    1method if_wdr_update_server_peer_data~update_view_state.                                   
    2  data data_ref type ref to data.                                                          
    3  data update_value type string.                                                           
    4  data method_name type string.                                                            
    5  data typedescr type ref to cl_abap_datadescr.                                            
    6  field-symbols <data> type any.                                                           
    7                                                                                           
    8  if do_not_set_dirty = abap_true.                                                         
    9    " Prevents that the subsequent operation will force the view to be re-rendered.        
   10    " This is required if the view state up date brings the view in sync with the client.  
   11    " e.g. updating the scrollLeft, scrollTop of a ViewContainerUIElement                  
   12    cl_wdr_view_dirty_state=>lock( view_element->view ).                                   
   13  endif.                                                                                   
   14                                                                                           
   15  try.                                                                                     
   16      if is_external = abap_false.                                                         
   17        " Internal values will be converted first out and then back to internal for validati
   18        typedescr ?= cl_abap_typedescr=>describe_by_name( property_type ).                 
   19        data_ref = cl_wdr_data_container=>validate_internal_value( p_value = value  p_typede
   20        assign data_ref->* to <data>.                                                      
   21      else.                                                                                
   22                                                                                           
   23        create data data_ref type (property_type).                                         
   24        assign data_ref->* to <data>.                                                      
   25        cl_wdr_conversion_utils=>from_string( exporting in = value                         
   26                                              changing data = <data> ).                    
   27      endif.                                                                               
   28    catch cx_wdr_conversion_exception.                                                     
   29      " Invalid value                                                                      
>>>>>      assert 1 = 2.                                                                        
   31  endtry.                                                                                  
   32                                                                                           
   33  concatenate 'SET_' property_name into method_name.                                       
   34  call method view_element->(method_name)                                                  
   35    exporting                                                                              
   36      value = <data>.                                                                      
   37                                                                                           
   38* notify the recorder plugins of the view state change                                     
   39  call method cl_wdr_rec_plugin_manager=>on_update_view_state                              
   40    exporting                                                                              
   41      view_element  = view_element                                                         
   42      property_name = property_name                                                        
   43      property_type = property_type                                                        
   44      value         = value                                                                
   45      is_external   = is_external.                                                         
   46                                                                                           
   47  if do_not_set_dirty = abap_true.                                                         
   48    cl_wdr_view_dirty_state=>unlock( ).                                                    
   49  endif.  

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
former_member324070
Participant
0 Kudos

Hi Peter ,

My issue has been resolved with this note.

Thanks ..

Former Member
0 Kudos

Hi,

Close the thread as answered as your issue is resolved.

Thanks

KH

Answers (3)

Answers (3)

harsha_jalakam
Active Contributor
0 Kudos

Hi Mohan,

I suspect this is something related to data inconsistency for the time/date for which the manager is approving.And is the issue for all the users or only relevant only when approing leave of a particular employee.

Also please make sure you open it in IE  browser.

Regards,

Harsha

former_member236708
Participant
0 Kudos

HI,

Any help ???

Thanks

Former Member
0 Kudos

Hi,

Check if user who is getting dump has enough authorization to approve the leave request . You can check the same using SU53 t-code.

Thanks

KH

former_member236708
Participant
0 Kudos

Hi,

Thanks for your reply.

Authorization check was successful and no errors shown.

Thanks