cancel
Showing results for 
Search instead for 
Did you mean: 

Pass values checkbox / radiogroup to nested i-view

Former Member
0 Kudos

Hi all,

I have an I view with a checkbox and radio group. I also use a nested I-view.

Now I want to use the values from the checkbox and radio group in formulas in the nested I-view.

How can I pass these value?

Thanks in advance,

Ralph

Accepted Solutions (1)

Accepted Solutions (1)

MG3
Contributor
0 Kudos

Hi Ralph

The pdf in the following link shows how to pass variables from one iview to another.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cab252d4-0a01-0010-3984-ee345859dde6">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cab252d4-0a01-0010-3984-ee345859dde6</a>

Thanks

Manoj

Former Member
0 Kudos

Hi m a n o j,

thanks for your reply. The document is on passing values from variables between VC and BEX WAD or between VC I-views.

My situation is different because:

- I am not trying to send values from a variable but from a checkbox or radio group.

- I am trying to send values from a main I-view to a nested I-view.

- I am not trying to send values to a different data service but to a datastore such that I can use the value in visibility conditions, etc.

Ralph

Former Member
0 Kudos

Hi Ralph,

as I has mentioned in the post before. Add a signal in to your nested iView then go back to your (main) iView and add there a nested iView and chose your nested iView as existing iView. Then connect the output port of your form with the nested iView. Then assign the values in the transition. Go back to the nested iView and connect the signal in with a data store and also assign the values in the transition.

Best Regards,

Marcel

Former Member
0 Kudos

Hi Marcel,

thanks for your reply. I did exacly what you described but somehow it does not work. Perhaps this is because I have another field in the datastore that is filled with a value from a table in the main I-view (based on 'select' event).

What action should I use for the transition between the form and the signal in of the nested I-view?

I really appreciate your help,

Ralph

Answers (1)

Answers (1)

Former Member
0 Kudos

You have to add a signal in to the iView then connect the iView with the nested iView. Then select the transition and assign the corresponding values.

Best Regards,

Marcel

Former Member
0 Kudos

Hi Marcel,

i tried this however it did not work. Here is what I build:

<u>Main I-view:</u>

- A form with a radiogroup that has a fixed entry list with 3 values -> Period, Quarter, Year

- A connection between the radiogroup and an signal in on the nested I-view. The numeric value is being passed. The event submit (thus not *submit, is that correct?) is automatically chosen, however I also tried *select.

<u>Nested I-view:</u>

- A signal in with 1 field, of type numeric and called timeframe

- A datastore with 1 field, of type numeric and called timeframe

- A connection between the signal in and datastore in which I assigned @timeframe as the value

Somehow the value from the radiogroup is not being passed to the datastore. I suspect it has something to do with the submit event.

Ralph