cancel
Showing results for 
Search instead for 
Did you mean: 

ABAPWebDynpro Problem

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, try to paste the code pls,if possible try the method add_new_child

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

vivekananthan_sellavel
Active Participant
0 Kudos

hi

Can tell me what u have did.

what is the node cardinality.

Did u did UI Elements properlly.

Thanx

Vivekananthan.S

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Change the cordanality to 0..1 or 0..n, if you still get the dump...

1) Debug & analysis the error.

2) if it is some thing wrong in your code, try to modify it otherwise please paste the sample code in SDN.

Best Regards

Ravi