cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Dump, Once click on UI Element Binding in SRM Webdynpro componnent

Former Member
0 Kudos

Hi Team,

I am getting below dump, once click on UI Element value Binding in SRM Webdynpro Standard component called

"/SAPSRM/WDC_DODC_PO_I_BD" View Name V_PO_DODC_I_BD

Note: Even i have checked value binding for all the UI elements in this view, if i click on any UI element binding, getting same dump.

Dump:
   
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.

  Error analysis
    A RAISE statement in the program "CL_ABAP_TYPEDESCR=============CP"
     exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.

    Short description of exception condition:


    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called


    Code:
  Line  SourceCde

   53       read table admin_tab from admin_tab_line into admin_tab_line.
   54       if sy-subrc = 0.
   55         p_descr_ref ?= admin_tab_line-ref->get( ).
   56         if p_descr_ref is bound.
   57           return.
   58         endif.
   59         delete table admin_tab from admin_tab_line.
   60       endif.
   61 *     create new descr object
   62       case admin_tab_line-kind.
   63         when kind_elem.
   64           raise event create_elemdescr
   65             exporting xtype = admin_tab_line-xtype.
   66         when kind_ref.
   67           raise event create_refdescr
   68             exporting xtype = admin_tab_line-xtype.
   69         when kind_struct.
   70           raise event create_structdescr
   71             exporting xtype = admin_tab_line-xtype.
   72         when kind_table.
   73           raise event create_tabledescr
   74             exporting xtype = admin_tab_line-xtype.
   75         when kind_class.
   76           raise event create_classdescr
   77             exporting xtype = admin_tab_line-xtype.
   78         when kind_intf.
   79           raise event create_intfdescr
     80             exporting xtype = admin_tab_line-xtype.
   81         when others.
   82 *         all others are erros
>>>>>           raise type_not_found.
   84       endcase.
   85   endcase.
   86
   87   create object admin_tab_line-ref exporting oref = returning_ref.
   88   insert admin_tab_line into table admin_tab.
   89   p_descr_ref = returning_ref.
   90   clear returning_ref.
   91
   92 endmethod.

Pls help me on this.

Thanks

Sandeep.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thx

mani_sekar
Explorer
0 Kudos

Hi Sandeep,

You cant abe to use raise alone, you want to use the join command i.e., raise exception type_not_found.

FYR code::

try.

raise EXCEPTION TYPE CX_DEMO_CONSTRUCTOR

exporting MY_TEXT = SY-REPID.

catch CX_DEMO_CONSTRUCTOR into OREF.

TEXT = OREF->GET_TEXT( ).

write / TEXT.

raise exception OREF.

endtry.

former_member199125
Active Contributor
0 Kudos

Hi Sandeep,

I am not sure about SRM but please check whether your component controller is activate or nor. I got similar problem when I forgot to activate the component controller and tried to bind with UI element.

Once I activated Component controller, it solves.

Pls let me know ur whethere u activated or nor.

Regards

Srinivas

Former Member
0 Kudos

Dear Srinivas,

Already i have activated, but still it showing same dump.

Thanks

Sandeep.