Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ELEMENT DELETATION

Neithan
Participant
0 Likes
870

Hi Everyone ,

I have three views ; V1, V2 and V3 The main view is V1. They re connected the each other with plugs like ;

V1(outbound plugs) -> V2(ınbound plug)

V1(outbound plugs) -> V3(ınbound plug)

V2(outbound plugs) -> V3(ınbound plug)

V2outbound plugs) -> V1(ınbound plug)

V3(outbound plugs) -> V1(ınbound plug)

Each view contains elements such as buttons, captions . When i go back to V1 from V2 , ı can delete all elements in V2 with bellow codes ; (ı added all elements dynamically)

  DATA : lo_container TYPE REF TO cl_wd_uielement_container .

lo_container ?= wd_this->mo_view->get_element( id = 'ROOTUIELEMENTCONTAINER' ) .
lo_container->remove_all_children( ).


wd_this->fire_vdocrel_outbound_plg(
).

but...

How can I delete elements in V2 when going from V3 to V1.

I mean , how can i delete elements of another view from diffirent view .

(by the way sorry for my English )

Thanks regards .

1 ACCEPTED SOLUTION
Read only

Neithan
Participant
0 Likes
822

Problem Solved !!!!!!

2 REPLIES 2
Read only

Neithan
Participant
0 Likes
823

Problem Solved !!!!!!

Read only

822

You will help many people if you explain how you solved it...