cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer between two main Page(Variant) in form_uibb FPM

Former Member
0 Kudos

Hi All,

I have got two variants, with the first variant having its own 2 UIBBs and the second variant its own main screen with one UIBB. My issue is, if I want to transfer data between the two UIBB within the same variant using the event data transfer method, it works.

However, if I use the same method to transfer data from one UIBB in variant 1 to variant 2 UIBB, then the get_value method does not return the desired value. It comes out blank.

I am using the below code snippet.

inside Variant 1 UIBB get_data

io_event->mo_event_data->set_value( iv_key = 'MY_KEY'

                                             iv_value = <lv_pernr> ).


Inside Variant 2 UIBB get_data


IO_EVENT->MO_EVENT_DATA->GET_VALUE( EXPORTING IV_KEY = 'MY_KEY'

                                             IMPORTING EV_VALUE = cs_data ).


It does not return me any value. But it works if I write the same code for data exchange between two UIBBs under the same variant.


Is it that data transfer via event parameter is not supported when it is dealing with two variants or I am missing out on something.


Thanks for any help in this regard.


Accepted Solutions (0)

Answers (1)

Answers (1)

johannes_konings
Participant
0 Kudos

Hi,

maybe you can get more help in this space:

Best Johannes