Skip to Content
avatar image
Former Member

how to pass data from one UIBB to anothere UIBB in OIF/GAF - FPM

Dear all,

as of now i am using FPM only for displaying data from different components.

now i would like to pass the data from one UIBB to another by calling second UIBB on action of a button. (instead of using standard path in GAF scenario)

how could i achieve this. is there any difference mechanism's for UIBB's of single component and UIBB's from different different components.

it would be great if some one can explain or help me reg this issue on both OIF and GAF FPM's.

Thanks in Advance.

Best Regards,

Kranthi kumar Palle.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 17, 2010 at 02:34 PM

    Hi,

    Please go through the FPM_DEMO_GAF application in FPM_GAF_COMPONENT.

    Also there are examples in package APB_FPM_DEMO.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2010 at 02:48 PM

    There are generally two different approaches to this. You can use a faceless shared data Web Dynpro Component. This is special interface for the WD Component that is part of the FPM framework. You then use cross component context binding to share a single context between all inner UIBB Components.

    The other approach is simply to share data via a normal ABAP class. Generally you use a singleton pattern so that all UIBBs share a single instance of the class. This approach has lower memory requirements becuase the cross component context binding approach needs to copy the data of the share context into each UIBB. This approach is also eaiser to use when you have Generic UIBBs which are implemented as feeder classes instead of Web Dynpro Components. The last 15 minutes of the TechEd session CD203 - Best Practices for Web Dynpro ABAP was dedicated to this very topic. You can view this session online for free from this link:

    http://tinyurl.com/2uzu7z4

    I discuss the pros and cons of each approach as well as provide some code samples for the implementation of each.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Chris Paine

      hi ,

      Thanks all.

      is there any standard example components to differentiate creation of UIBBs which are implemented as feeder classes and Web Dynpro Components.

      Regards,

      Kranthi.

  • avatar image
    Former Member
    Nov 17, 2010 at 03:15 PM

    Hi,

    we have used the singleton class approach to have the cross component communication.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded