Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3257

Refresh ALV tree after deleting the node.

$
0
0

Hi All,

 

I have a problem with refreshing an ALV tree after deleting a particular node.

I have a delete button at application tool bar which actually gives me a pop up and deletes the selected node on alv tree.

After that, I'm unable to refresh the tree, the page is not getting refreshed after deleting.

 

I searched sdn and found a way that I can delete the entire tree and rebuild it again by calling the screen. I used 'delete_all_nodes' and called the screen.

But it is not working. tree is nor getting deleted when I checked it in debugging mode but at the output, I see all the nodes are deleted.

Could you please help me with this.

 

ELSE.

       READ TABLE i_pnode INTO w_pnode WITH KEY key_node = l_selected_node.

       MOVE w_pnode-zslifnr TO w_zbi_saleshier1-zslifnr.

*      CALL SCREEN 0100.

       DELETE zbi_saleshier FROM w_zbi_saleshier1.

       DELETE i_pnode WHERE key_node = l_selected_node.

 

       DATA: l_change TYPE c,

           l_dref_calc_line TYPE REF TO data.

 

     CALL METHOD tree1->delete_all_nodes.

     CALL SCREEN 9000.


Viewing all articles
Browse latest Browse all 3257

Trending Articles



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