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

Mapping componentcontroller to customcotroller

Hi all ,

I ve create a node in the COMPONENTCONTROLLER and i ve mapped this node to a CUSTOMCOTROLLER

Now when i create a method in the CUSTOMCONTROLLER : that SET the node it return an excption Null pointer.

The error occurs when i want to set the node

how can i solve it .. or how can i make possible the set of the node created in the component controller and mapped to a custom controller ?

Best regards !

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 09, 2010 at 10:30 AM


    Please check that if you are creating instance component controller...

    you can check rhouhg active_component( ) method and create the instance...


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 09, 2010 at 11:45 AM


    You can try two things:

    1. In custom controller also, include the main component controller if it is not done so

    2. Below code will instantiate custom controller:

        lrf_crtl_custom    TYPE REF TO ig_crtl_<custom>.
    * Verwerking --------------------------------------------------------- *
      lrf_crtl_custom = wd_this->get_crtl_<custom>( )

    You can call method or set attribute...


    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.