on 03-18-2009 5:31 AM
Dear All,
Its regarding the problem which i am facing when developing the application in ABAP WebDynpro.
I am creating the views and did data Binding and Mapping. But no sooner i activate the view.. i am getting the dump as follows :
Runtime Errors CREATE_OBJECT_CLASS_NOT_FOUND
Except. CX_SY_CREATE_OBJECT_ERROR
Date and Time 18.03.2009 09:48:50
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WDY_MD_CONTEXT_NODE========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CREATE_OBJECT_ERROR', was not
caught in
procedure "ADD_CHILD" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The dynamically specified class " " at CREATE OBJECT neither exists as
local, nor as global class in the system, or is overshadowed by a local
data type of the same name.
Missing RAISING Clause in Interface
Program CL_WDY_MD_CONTEXT_NODE========CP
Include CL_WDY_MD_CONTEXT_NODE========CM00B
Row 1
Module type (METHOD)
Module Name ADD_CHILD
Source Code Extract
Line SourceCde
1 method ADD_CHILD .
2 if children is initial.
3 create object children.
4 endif.
5
6 if definition-node_type = IF_WDY_MD_EVENT_SOURCE=>CO_CTX_RECURSION_NODE.
7 CREATE OBJECT child type (definition-node_type)
8 EXPORTING
9 CONTROLLER = controller
10 PARENT = me
11 NAME = definition-node_name
12 DEFINITION = definition.
13 else.
>>>>> CREATE OBJECT child type (definition-node_type)
15 EXPORTING
16 CONTROLLER = controller
17 PARENT = me
18 NAME = definition-node_name
19 DEFINITION = definition
20 context_attributes = context_attributes
21 enh_context_attributes = enh_context_attributes.
22 endif.
23 children->put( key = definition-node_name value = child ).
24 endmethod.
i would appreciate if you could help me out in this issue.. as this is bottle neck for our project.
Regards
Pravesh
L
Hi, try to paste the code pls,if possible try the method add_new_child
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pravesh,
Try to create the context attributes directly to the ROOT CONTEXT without having another node and bind them to the Input fields of the View.
Let me know if you are facing the same problem.
Are you getting the same errors for other views which have node and binding to UI element.
If the same problem persist check with your Basis team Or paste your code if any.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I think its something related to your coding part as you are doing Dynamic Programming.
Correct me if I am wrong.
Can you paste the code in your method Add Child.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vivekananthan.S ,
Under COMPONENTCONTROLLER :
Context
|-Screen_Field
|-Claim_Header
|-Claim_Det
|-Total_Amt
Details of one of the node (SCREEN_FIELDS)
Node Name SCREEN_FIELDS
Interface Node No
Input Element (Ext.) No
Dictionary structure
Cardinality 1..1
Selection 0..1
Init. Lead Selection Yes
Singleton No
Supply Function
Mapping Path
I have created views and did the binding.
Pls help
Pravesh
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.