Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Class cl_gui_pdfviewer , Dump in method CREATE_TOOLBAR.

Former Member
0 Likes
1,063

Hello ,

Guys I have a problem with method  in line:

" pass toolbar settings to local class
  this_event_handler->document_close = document_close.

I got a dump with the following description :

"You attempted to use a 'NULL' object reference (points to 'nothing')

access a component (variable: " ").

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."

Im providing the following parameters  :

      tool_buttons      = 'X'
      view_buttons      = view_buttons_active


Do yo know  any other alternative class  ? .


thank you very much.

Hello ,

Guys I have a problem with method  in line:

" pass toolbar settings to local class
  this_event_handler->document_close = document_close.

I got a dump with the following description :

"You attempted to use a 'NULL' object reference (points to 'nothing')

access a component (variable: " ").

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."

Im providing the following parameters  :

      tool_buttons      = 'X'
      view_buttons      = view_buttons_active


Do yo know  any other alternative class  ? .


thank you very much.

2 REPLIES 2
Read only

Former Member
0 Likes
893

Hello,

Please see attached link for your ref.

<link farm removed>

Regards,

Sameer

Message was edited by: Suhas Saha

Read only

0 Likes
893

Hello Sameer,

your link has been removed. Have you solved this problem? It seems it's a SAP error.

Regards, Irina