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

Component Controller vs Component Interface

Hi Gurus,

I am developing a custom Self-Service application and I started with the Flight Booking Self-Service Tutorial given in help.sap.com.

In the Tutorial, the FPM events like IFPM.SAVE, IFPM.BACK etc. were raised from <b>Component Interface</b> of VAC which has <i>FcNavigation Interface Controller</i> as a required Controller.

But when I went through the code in the SAP provided Self-Service applications,

the <b>Component Interface</b> (<i>of VAC</i>) refers to its <b>Component Controller</b>(<i>of VAC</i>) as the required Controller. And the Component Controller in turn has Fc Navigation Interface Controller as the required Controller. The FPM related events are raised from the Component Controller.

I am confused which to follow. Should I go ahead with what's given in the tutorial or should I follow SAP coding standards and raise FPM events in Component Controller?

Please advise.

Thanks in advance,

Anjana R.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 02:44 PM

    Hi Anjana,

    Both will work. But it is always recommended to code more in Component Controller.

    regards,

    Siva

    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.