cancel
Showing results for 
Search instead for 
Did you mean: 

Multipane selected element index

HelenK
Employee
Employee
0 Kudos

Hi,

I am trying to use Multipane UI element which has a 'button' UI element within it. The action should have as a parameter the index of the pane in which it was pressed.

The multipane is bound to the context node. It is enabled.

The documentation says that multipane element should change the lead selection of the context node to which it is bound when something is 'used' within an individual pane. But it does not. Is it correct?

Does anybody know how to get the index of the pane which was 'used'.

Thank you,

Helen

Accepted Solutions (1)

Accepted Solutions (1)

former_member215843
Active Participant
0 Kudos

Hi Helen,

please could you tell us, where you found this information in the docu? I cannot find such thing.

The Multipane does not change the lead selection. If you have a button inside it, a reference to the context element, which identifies the current multipane part, is passed to the action. Just declare

CONTEXT_ELEMENT  TYPE REF TO IF_WD_CONTEXT_ELEMENT

as an importing parameter to the action.

Regards, Regina

Answers (0)