Skip to Content
author's profile photo Former Member
Former Member

CONTEXT OF VIEW

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 ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 04:02 PM

    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 
     
    

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.