Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8937

Node Id's mot unique error

$
0
0

I am implementing BW role menu functionality in BSP Application. Below is my code to generate the tree view for all reports for logged in user.

 

LOOPAT temp_node_links1 INTO lv_node_links.

     CLEAR lv_nodes.

     lv_nodes-treeid          = 'HRBWTree'.

     IF  lv_node_links-parent_id = '0000000001'.

       lv_nodes-parentid      = ''.

     ELSE.

       lv_nodes-parentid      = lv_node_links-parent_id.

     ENDIF.

     lv_nodes-childid         = lv_node_links-object_id.

     lv_nodes-status          = 'open'.

     IF lv_node_links-node_type = 'U'.

       lv_nodes-img           = 'ICON_BIW_REPORT'.

       CLEAR lv_nodes-status.

       lv_nodes-status        = 'final'.

       lv_nodes-target        = '_blank'.

     ENDIF.

     REPLACE lv_protocol WITH i_protocol INTO lv_node_links-url.

     REPLACE lv_host WITH i_host INTO lv_node_links-url.

     lv_nodes-link            = lv_node_links-url.

     lv_nodes-text            = lv_node_links-text.

     lv_nodes-tlevel          = lv_node_links-menu_level.

     APPEND lv_nodes TO mt_nodes.

     CLEAR lv_node_links.

   ENDLOOP.

 

 

I am getting an error while running this application. The error is

 

Business Server Page (BSP) error


What happened?

Calling the BSP page was terminated due to an error.

SAP Note
  • The following error text was processed in the system:
    <htmlb:tree>: The node IDs are not unique.

Error type:

Your SAP Business Server Pages Team

 

 

Please help me out to solve this error.


Viewing all articles
Browse latest Browse all 8937

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>