cancel
Showing results for 
Search instead for 
Did you mean: 

Component Controller vs Component Interface

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197348
Active Contributor
0 Kudos

Hi Anjana,

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

regards,

Siva

Former Member
0 Kudos

Thanks Siva.

Anjana R.