on 09-22-2011 7:19 AM
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.
thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.