cancel
Showing results for 
Search instead for 
Did you mean: 

View Designer: Dump at right click and no drag & drop

former_member301120
Active Participant
0 Kudos

Hello,

I'm a newbie at developing ABAP webdynpro. I've tried a small application, but at the view designer I get a dump, when clicking right mouse button in a view element.


Error in the ABAP Application Program                                                                                
The current ABAP program "CL_WDY_WB_VD_HTML_HANDLER=====CP" had to be
 terminated because it has come across a statement that unfortunately cannot be executed.       
....
An exception occurred that is explained in detail below.                    
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not   
 caught in                                                                  
procedure "SHOW_UI_ELEM_DOCU" "(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:                                            
You attempted to use a 'NULL' object reference (points to 'nothing')        
access a component (variable: "LIB").                                       
An object reference must point to an object (an instance of a class)        
before it can be used to access components.                                 
Either the reference was never set or it was set to 'NULL' using the        
CLEAR statement.                                                            

Also it's not possible to add an element by drag and drop.

We run on SAP Netweaver 7.01 EHP 4.

Thanks

Regards Chrisian

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member301120
Active Participant
0 Kudos

Hello to all,

the problem is solved.

We had old MIME data in our system. We had to delete the following entries:

Transaction SE80 -> MIME repository

Path: SAP -> BC -> WebDynpro -> SAP -> PUBLIC -> BC -> ViewDesigner

Data:

- design_ie_new.js

- design_ie_toolbar.js

- designframe_ie.js

- designwrapper.js

Regards Christian

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I think you should open a support ticket for this. You are getting an error in standard SAP class in the View Designer when you try to perform a normal operation.

former_member301120
Active Participant
0 Kudos

Hello Thomas,

I'v already opend a SAP ticket ( for two days) but it still remains "Sent to SAP"

Former Member
0 Kudos

hi Christian,

it seems , u have not binded the property of ur UI element to a context attribute. u need to create a a context node under the Context tab , right click and create a context attribute under it of type string.

thn when u go to ur view layout , u have to bind the property eg if u r using the input field UI , u need to bind the value propery to a context attribute.

pls check ..

regards,

Amit

former_member301120
Active Participant
0 Kudos

Hello,

the reason for the drag & drop problem are wrong settings in the internet explorer.

You have to add the SAP server to the trusted sites.

After adding it, the drag&drop function works in view designer.

But right clicking on a item in the left column, I still get a dump.

Any ideas? I think the help isn't configured completly?

Regards Christian