on 07-23-2011 11:50 AM
Hi,
Can anybody help me out as I am getting a short dump while navigating to particular screen.
The error was triggered when i was binding an internal table to node in my second view.
The short dump shows as below.
********************************************************************************
■The following error text was processed in the system EID : Zugriff über 'NULL' Objektreferenz nicht möglich.
■The error occurred on the application server ECCIDES_EID_00 and in the work process 1 .
■The termination type was: RABAX_STATE
■The ABAP call stack was:
Method: HANDLEFROM_EXPORTS_INIT of program /1BCWDY/4QJM86ZSS4V4M81W8MTQ==CP
Method: HANDLEFROM_EXPORTS_INIT of program /1BCWDY/4QJM86ZSS4V4M81W8MTQ==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/4QJM86ZSS4V4M81W8MTQ==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: NAVIGATE of program CL_WDR_CLIENT_APPLICATION=====CP
Method: DO_NAVIGATION 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_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
What can I do?
■If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system EID in transaction ST22.
■If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server ECCIDES_EID_00 in transaction SM21.
■If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server ECCIDES_EID_00 . In some situations, you may also need to analyze the trace files of other work processes.
■If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 700 -u: OBIZDEV -l: E -s: EID -i: ECCIDES_EID_00 -w: 1 -d: 20110723 -t: 161516 -v: RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED_NO
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Please help.
Hello Deric,
in the HANDLEFROM_EXPORTS_INIT method, you are accessing an object which is not initialised. if you can post the code of HANDLEFROM_EXPORTS_INIT and explain what are you trying to do in that method then I can tell you exact problem.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hu Saravanan,
Please find my code below in HANDLEFROM_EXPORTS_INIT and
method HANDLEFROM_EXPORTS_INIT .
data : WRK_DOC_CLAS type /OBIZ/ZXP_DOCCLS-DOC_CLAS.
data : it_doc type TABLE OF /OBIZ/ZXP_SHPHD.
DATA : doc_node type REF TO if_wd_context_node.
BREAK-POINT.
if doc_desc = 'Quotation'.
WRK_DOC_CLAS = '0001'.
elseif doc_desc = 'Sales Order'.
WRK_DOC_CLAS = '0002'.
elseif doc_desc = 'Delivery'.
WRK_DOC_CLAS = '0003'.
elseif doc_desc = 'Proforma Invoice'.
WRK_DOC_CLAS = '0004'.
elseif doc_desc = 'Billing'.
WRK_DOC_CLAS = '0006'.
ENDIF.
select * INTO CORRESPONDING FIELDS OF TABLE
it_doc FROM /OBIZ/ZXP_SHPHD WHERE doc_clas = WRK_DOC_CLAS.
call METHOD doc_node->bind_table
EXPORTING new_items = it_doc.
endmethod.
I have imported doc_desc via my inbound plug in the view.
Regards
Deric
Hello Deric,
the problem is with this statement
call METHOD doc_node->bind_table
EXPORTING new_items = it_doc.
the variable doc_node is not initialised. you need to get the doc_node reference from the WD_CONTEXT. hope your doc_node is directly under the CONTEXT
doc_node = wd_context->get_child_node( 'DOC_NODE' ). "I assume DOC_NODE is the name of your doc_node context, if not change it accordingly.
BR, Saravanan
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.