cancel
Showing results for 
Search instead for 
Did you mean: 

CALL METHOD control->get_document_proxy is going dump

Former Member
0 Kudos

Hi experts

i have been using the below method for mail merge application , but below method giving dump..

please help me how to fix this issue.

CALL METHOD control->get_document_proxy

EXPORTING

document_type = 'Word.Document'

document_format = 'Document_Format'

  • register_container = ' '

IMPORTING

document_proxy = document

retcode = retcode.

many thanks in adavance

by madhulatha

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Based upon the short dump message "Access via 'NULL' object reference not possible" and what little I see of your coding that you have posted here; I would have to assume that control is initial and anot a vaild object reference. I would suggest that you debug to see if this is the case. Without seeing all your other functionality and how you are creating an instance of control, I can't say where your problem is. Look back to make sure that the creation of control is happening before this event and that it is sucessful.

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Perhaps it would help us, help you if you posted some of the details contained in the short dump.

Former Member
0 Kudos

Hi Thomas

Thank you for your reply.

i have given the dump description ..

Note

■The following error text was processed in the system M01 : Access via 'NULL' object reference not possible.

■The error occurred on the application server blrxe15_M01_01 and in the work process 0 .

■The termination type was: RABAX_STATE

■The ABAP call stack was:

Method: ONACTIONDOCUMENT of program /1BCWDY/5YKYO5B25ZE5KPV57RRQ==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/5YKYO5B25ZE5KPV57RRQ==CP

Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP

Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP

Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP

Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP

Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP

Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP

i hope this will give some hint to resolvethe issue

with reagrds

madhulatha

Sm1tje
Active Contributor
0 Kudos

Well, I think Thomas (also) meant the short dump data from transaction ST22.