Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi All, can anyone help me where to troubleshoot this error recevived from abap dump. the dump is not occurring now,however i would like to know the cause of this dump which has occurred for 2 days. Below is the details. of the dump. OBJECTS_OBJREF_NOT_ASSIGNED_NO The current ABAP program "/1BCWDY/83CUC67WYIJ2SDCR4473==CP" had to be terminated because it has come across a statement that unfortunately cannot be executed. An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "GET_ABSENCE" "(METHOD)", nor was it propagated by a RAISING clause. The reason for the exception is: You attempted to use a 'NULL' object reference (points to 'nothing') access a component. An object reference must point to an object (an instance of a class) before it can be used to access components. Either the reference was never set or it was set to 'NULL' using the CLEAR statement. Termination occurred in a Web Dynpro application Web Dynpro Component Z_MSS_ABSENCE Web Dynpro Controller CHOOSE DATA: lt_archive TYPE STANDARD TABLE OF zabsence_archive, wa_archive LIKE LINE OF lt_archive. DATA: lr_table_node2 TYPE REF TO if_wd_context_node. DATA lo_nd_type TYPE REF TO if_wd_context_node. DATA lo_el_type TYPE REF TO if_wd_context_element. DATA ls_type TYPE wd_this->element_type. DATA lv_sickness_or_absence LIKE ls_type-sickness_or_absence. navigate from <CONTEXT> to <TYPE> via lead selection lo_nd_type = wd_context->get_child_node( name = wd_this->wdctx_type ). get element via lead selection lo_el_type = lo_nd_type->get_element( ). get single attribute lo_el_type->get_attribute( EXPORTING name = `SICKNESS_OR_ABSENCE` IMPORTING value = lv_sickness_or_absence ). get employee number from the row selected. DATA lo_nd_employee_info_list TYPE REF TO if_wd_context_node. DATA lo_el_employee_info_list TYPE REF TO if_wd_context_element. DATA ls_employee_info_list TYPE wd_this->element_employee_info_list. DATA lv_pernr LIKE ls_employee_info_list-pernr. navigate from <CONTEXT> to <CHOOSE_EMPS> via lead selection lo_nd_employee_info_list = wd_context->get_child_node( name = wd_this->wdctx_employee_info get element via lead selection lo_el_employee_info_list = lo_nd_employee_info_list->get_element( ). get single attribute >>>>>>>lo_el_employee_info_list->get_attribute( EXPORTING name = `PERNR` IMPORTING value = lv_pernr ). *make sure it displays the correct absences. IF lv_sickness_or_absence = 'S'. SELECT pernr begda endda awart umskd umsch docsy docnr beguz enduz FROM pa2001 INTO (wa_archive-pernr, wa_archive-begda, wa_archive-endda, wa_archive-awart, wa_archive-umskd, wa_archive-umsch, wa_archive-docsy, wa_archive-docnr, wa_archive-first_start_time, | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | _.____.__ |