cancel
Showing results for 
Search instead for 
Did you mean: 

Subnode MAIN. does not exist

Former Member
0 Kudos

HI All,

i am trying to display BCV graph and ALV table in development system its working find but i have imported  these  changes in Quality system

i am greeting error "Subnode MAIN. does not exist "  and it is because of exception coming from method GET_CHILD_NODE_INTERNAL and class name is CL_WDR_CONTEXT_ELEMENT,

please help

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member211591
Contributor
0 Kudos

There is one more thing you can do to identify the problem.

Check your component in SE80 on your Quality system hitting (CTRL-F2) .

former_member211591
Contributor
0 Kudos

Hi Ashish,

the "MAIN." within the error message "Subnode MAIN. does not exist " is suspicious.

Normally this should be "MAIN.SOMENODE" which corresponds to <Viewname>.<Nodename of table which you want to display in ALV>.

I think there is a problem with the external mapping to your SALV_WD_ALV-usage.

I would suggest to recreate the external mapping and import it again.

BR,

ismail

Former Member
0 Kudos

and this is the long text of  the error which i am getting

Note

  • The following error text was processed in system ERQ : Subnode MAIN. does not exist
  • The error occurred on the application server paerqas1_ERQ_52 and in the work process 7 .
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Method: GET_CHILD_NODE_INTERNAL of program CL_WDR_CONTEXT_ELEMENT========CP
    Method: IF_WD_CONTEXT_ELEMENT~GET_CHILD_NODE of program CL_WDR_CONTEXT_ELEMENT========CP
    Method: IF_WD_CONTEXT_NODE~GET_CHILD_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: SET_DATA of program /1BCWDY/LUBN5C4NQRS1VIX3PPXO==CP
    Method: IF_MAIN~SET_DATA of program /1BCWDY/LUBN5C4NQRS1VIX3PPXO==CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/LUBN5C4NQRS1VIX3PPXO==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/LUBN5C4NQRS1VIX3PPXO==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
Former Member
0 Kudos

Hi Ashish,

How you are importing the changes to quality system through TR only right,Did you done any enhancemetns for that,check that those properly transported or not.

     This error because of your accessing some node,but that not no exist in your view,compare it from development system.

Thanks,

Lavanya.

Former Member
0 Kudos

Hi Lavnya ,

yes i am doing import through TR only i have compared the code only code is same the problem is in ERQ node name is blank so when is it coming to method

data node_info_child_nodes type WDR_CONTEXT_CHILD_INFO_MAP.
     node_info_child_nodes = me->node_info->if_wd_context_node_info~get_child_nodes( ).
     read table node_info_child_nodes with key name = name assigning <info_data>.
     if 0 <> sy-subrc.
       _temp_Buffer = me->node->if_wd_context_node~get_path( ).
       concatenate _temp_Buffer name into _temp_Buffer separated by '.'.
       raise exception type cx_wd_context
         exporting textid = cx_wd_context=>child_not_exists
                   node_name = _temp_Buffer.
     endif.

then on 4th line sy-subrc value is 4 so its raising exception