Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

DUMP in CX_WD_CONTEXT - Could find attribute exception

$
0
0

Hello Experts,

 

We got dump while processing Recording Working Times in ESS at Portal level

This dump occurred only for one user and working fine for other users.

Please let me know what will be the solution for this dump.

 

**********************************************************************************************************************************

(*****Class CL_WDR_CONTEXT_NODE_INFO****)

IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE

 

    1 method if_wd_context_node_info~get_attribute .

    2   data:

    3                  rtti        type ref to cl_abap_typedescr.

    4   field-symbols: <attr_info> type wdr_context_attribute_info.

    5

    6   if me->attributes is initial.

    7     me->map_node_info( ).

    8   endif.

    9

   10   read table me->attributes->* into attribute_info with table key name = name.

   11   if sy-subrc <> 0.

   12     if me->_all_attributes_read = abap_false.

   13       _get_all_attributes( ).

   14       read table me->attributes->* into attribute_info with table key name = name.

   15       if sy-subrc <> 0.

   16         raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_f

   17       endif.

   18     else.

>>>>>       raise exception type cx_wd_context exporting textid = cx_wd_context=>attribute_not_fou

   20     endif.

   21   endif.

   22

   23   if attribute_info-rtti is initial.

   24     data: attr_ref type ref to wdr_context_attribute_info.

   25     attr_ref = me->_get_attribute_rtti(

   26         attr_name  = name

   27            ).

   28     if attr_ref is not bound.

   29       raise exception type cx_wd_context exporting textid = cx_wd_context=>no_valid_attribut

**********************************************************************************************************************************

 

Thanks in Advance,

Swetha.C


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>