Skip to Content
avatar image
Former Member

Fiori People Profile Extended controller not called the first time

Hi everyone,

I have extended the PayslipCollapsed controller of People Profile app (HCM_PEP_PROFILE) in SAPUI5 1.44. In our current production system (SAPUI5 1.28.17) this extension is working fine. We need People Profile to call our extended version of My Paystubs instead of the standard one, so I changed the semantic object and action in onViewPayslip of my own controller.

onViewPayslip: function() {
    sap.ushell.Container.getService("CrossApplicationNavigation").toExternal      ({
         target: { 
           semanticObject: "Z123",
           action: "display"

The code works except for the fact that the first time user clicks on the link View Payslip in People Profile, the standard app is called. Any subsequent click on that link calls the right app, namely Z123-display.

The extension has been defined in the Component.js as follows:

this.hcm.people.profile.Component.extend("hcm.people.profile.myprofile_ext.Component", {
  metadata: {
    version: "1.0",
    config: {},
    customizing: {
      "sap.ui.controllerExtensions": {
        "hcm.people.profile.blocks.PayslipCollapsedController": {
          "controllerName": "hcm.people.profile.myprofile_ext.blocks.PayslipCollapsedControllerCustom"

Any idea how to fix this?

Thank you


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 09, 2017 at 05:09 PM

    Hi JC,

    on a quick look the code looks fine. I would suggest to raise an SAP OSS incident for the same.

    Also, 1.28 is currently out-of-maintainence. I would suggest an upgrade to 1.44

    Kind regards,


    Add comment
    10|10000 characters needed characters exceeded