Skip to Content
avatar image
Former Member

Data exchange between 2 Pages in same FPM application

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.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 31, 2014 at 11:24 AM


    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



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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
      iv_event_id = 'FPM_CHANGE_CONTENT_AREA'
      iv_is_validating = abap_false
      io_event_data = lr_fpm_parameter.

      lo_fpm->raise_event( lo_event ).

      Second page opened but not getting value passed from there.



      Image1.png (45.6 kB)
      Image2.png (31.4 kB)
      Image3.png (31.9 kB)
  • avatar image
    Former Member
    Jan 01, 2015 at 08:41 AM


    Issue resolved.Find solution by myself.



    Add comment
    10|10000 characters needed characters exceeded