Skip to Content
avatar image
Former Member

How to share data between initial page and overview page

Hi Everyone,

I have a requirement where if user enter material type in initial page then material type data should be visible in Overview page for Floorplan Manager

OVP Component.

Requirement is to pass value between the two pages.

Could anyone help me on this.

Regards,

Bhuvaneswari.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 28, 2015 at 11:34 AM

    Hi Vemulapalli,

    Do you have all the view defined in one controller or you are using the views from different component.


    Thanks

    Nishant

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2015 at 01:59 PM

    Hi Bhuvaneswari,

    If I understand your question correctly then you want something like you have one for Search and another you want to display one selected line from first component to Second component.

    To share data between component the below two Interfaces can help you

    • IF_FPM_APP_CONTROLLER
    • IF_FPM_SHARED_DATA

    Another way is you can use a Singleton Class which is shared between these two components.

    If you just want to share data between views then you can put that data in one global attribute parameter of material type. Set your value in that parameter on PROCESS_EVENT or GET_DATA or in FLUSH method which ever is convenient to you.

    Since this attribute parameter will be public parameter so this will be available in other views also.

    Hope this will help.

    Thanks-

    Abhishek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      What do mean by two application configuration? Only one application configuration is active at a time in a single runtime enviornment, do you mean two component configuration (UIBB)?

      If latter, you can either use event parameters or singleton approach as suggested by Nishant.