cancel
Showing results for 
Search instead for 
Did you mean: 

WDR_SELECT_OPTIONS Problem

Former Member
0 Kudos

Hi,

I have 2 views in my component. Each of them has a select options.

When I pass from View 1 to View 2, everything works fine.

However, when I return from the view 2 to view 1, the select options from view 2 appear in the view 1.

My code is in WDDOINIT .

What do I have to do?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jorge,

Have you declared two usages of component WDR_SELECT_OPTIONS in the using component?

For each use of WDR_SELECT_OPTIONS, you must declare one component usage.

Thanks.

Chitrali

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello ,

If you have two different usage of select option then you should not have this problem .

If you have single usage of select option then in the inbound plug handler of view one you can call

m_handler->?reset_all_selection_fields( ) .

Hope this will help you .

regards

Vivek

arjun_thakur
Active Contributor
0 Kudos

hi,

please refer to the following link:

select-option: [https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/webDynproABAP-Complexselect-optionscomponent+usages]

i hope it helps

regards

arjun