on 12-31-2014 11:19 AM
Hi All,
I am working on a requirement where first user get a login window where he will enter his credentials and then click on login he will move to second page.
For this I have created a OVP FPM application where i created two pages in same configuration.
first I am displaying first page and after press on login I am displaying second page.
My requirement to pass data from first page to second page.
Please suggest me how to achieve this.
Thanks,
Ashutosh
Hi,
Issue resolved.Find solution by myself.
Thanks,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On click of LOGIN button, just read the nodes which exists in First Page( i.e view).
And hope you've created nodes globally i.e in component controller.If you create nodes in component controller, irrespective of where you're (i .e in your case page1,page2 in which views are embedded) you can access the node values.
Else refer this link which will help you Passing table parameter from one view to another view locally
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Katrice,
Yes I am using Feeder class but as I am using 2 different Pages and both have different form UIBB so both have different Feeder class.
Please look on below snaps-
Initial It have 2 Views-
Then Page1 have Form UIBB-
Page 2 also have different Form UIBB with different Feeder class-
Then In Page 1 Form UIBB Process event I am trying to pass value and opening second window by below code-
DATA: lt_business_param TYPE apb_lpd_t_params,
ls_business_param LIKE LINE OF lt_business_param,
lr_fpm_parameter TYPE REF TO if_fpm_parameter.
DATA: lo_event TYPE REF TO cl_fpm_event,
lo_fpm TYPE REF TO if_fpm.
lo_fpm ?= cl_fpm=>get_instance( ).
IF io_event->mv_event_id = 'SUBMIT'.
ls_business_param-key = 'USER NAME'. "Key
ls_business_param-value = '1234'. "Value
APPEND ls_business_param TO lt_business_param.
CLEAR : ls_business_param.
ls_business_param-key = 'TARGET_CONTENT_AREA'. "Key
ls_business_param-value = 'LINK_APP'. "Value
APPEND ls_business_param TO lt_business_param.
lr_fpm_parameter = cl_fpm_parameter=>create_by_lpparam(
lt_business_param ).
CREATE OBJECT lo_event
EXPORTING
iv_event_id = 'FPM_CHANGE_CONTENT_AREA'
iv_is_validating = abap_false
io_event_data = lr_fpm_parameter.
lo_fpm->raise_event( lo_event ).
ENDIF.
Second page opened but not getting value passed from there.
Thanks,
Ashutosh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.