cancel
Showing results for 
Search instead for 
Did you mean: 

CONTEXT OF VIEW

Former Member
0 Kudos

I do have an internal table in the context of one of my view

in method WDDOINIT

this is the last statements

  DATA:
    NODE_OBJECT_LIST                    TYPE REF TO IF_WD_CONTEXT_NODE,
    ELEM_OBJECT_LIST                    TYPE REF TO IF_WD_CONTEXT_ELEMENT,
    STRU_OBJECT_LIST                    TYPE WD_THIS->ELEMENT_OBJECT_LIST .
* navigate from <CONTEXT> to <OBJECT_LIST> via lead selection
  NODE_OBJECT_LIST = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_OBJECT_LIST ).

* get element via lead selection
  ELEM_OBJECT_LIST = NODE_OBJECT_LIST->GET_ELEMENT(  ).

* get all declared attributes

ELEM_OBJECT_LIST->bind_table( new_items = LIT_WDTYPE ).
  ELEM_OBJECT_LIST->SET_STATIC_ATTRIBUTES(
    EXPORTING
      STATIC_ATTRIBUTES = LIT_WDTYPE ).

At runtime ELEM_OBJECT_LIST is null how can that be ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

here is the error!

Error when processing your request 


What has happened? 
The URL http://rixsasd6.sbbio.be:8012/sap/bc/webdynpro/sap/zhrtm_job_description/ was not called due to an error. 
 
   
Note 

The following error text was processed in the system HRD : Access via 'NULL' object reference not possible. 
The error occurred on the application server rixsasd6_HRD_12 and in the work process 1 . 
The termination type was: RABAX_STATE 
The ABAP call stack was: 
Method: WDDOINIT of program /1BCWDY/6Z58N7AWCLM5O5IK4IRS==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/6Z58N7AWCLM5O5IK4IRS==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========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 HRD 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 rixsasd6_HRD_12 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 rixsasd6_HRD_12 . 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: 020 -u: STK73840 -l: E -s: HRD -i: rixsasd6_HRD_12 -w: 1 -d: 20070919 -t: 180225 -v: RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED_NO 



HTTP 500 - Internal Server Error 


Your SAP Internet Communication Framework Team 
 

Former Member
0 Kudos

solved