Skip to Content
author's profile photo Former Member
Former Member

Is it possible to reuse views between components of the same project ?

Hello All,

Does anyone knows if its possible to re-use views/viewsets which maybe common between components within the same project ? I am trying to use back common views where possible so that it will be easier to maintain the application should there be changes in the future. Having identical views across the components will mean that there is a need to maintain muliples views when updating/amending. Any help or suggestion will be greatly appreciated. Thank you.

from

Kwok Wei

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2005 at 03:59 PM

    Hi,

    If the functionality is common we can make them as a development component,expose them in public parts and reuse them. If u r not interested in using JDI ,then i fear the answer might be know.

    Stick on to the forum for some more time .A SAP expert can provide u a better solution .

    Regards

    Bharathwaj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you very much Bharathwaj. I am not very keen in using JDI (lack of usage knowledge + current project to small to use JDI + insufficient time) and hence I guess I will need to continue to look around for another solution.

      Any experts who may have more suggestions kindly put then up here please. Thank you.

      from

      Kwok Wei

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2005 at 07:33 AM

    Hi,

    You can divide the project into different components with in the same project.

    Expose the component Interfaces to other components so that you can reuse the components/views in different components.

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Anilkumar,

      May I ask then if its possible to have declare a "Common" component and have all the common views stored in this component for reuse purpose ? Or do I need to have a component for each common view ? Thnak you.

      from

      Kwok Wei

  • author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2005 at 03:47 PM

    Hi,

    Each component is a seperate whole entity in itself.

    Any element used in it can be resued by making use of the component as a whole.

    I think ur requirement of using views alone is not possible.

    Regards

    Bharathwaj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Bharathwaj !!

      Nice to get such a quick response from you again 😊 This is what I feared. Do you have any suggestion or advise in terms of reusing views that are common across different components within the same project ?

      from

      Kwok Wei

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2005 at 07:57 AM

    Hi,

    Yes .You can do that.

    Example : Consider you want to have heading and footer view as common views accross the application.

    In this case you can place these views in maincomponent andyou can embed other components as child components.

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.