Quantcast
Channel: SCN : All Content - SAP Fiori
Viewing all articles
Browse latest Browse all 1807

Paystub App error onExit() method

$
0
0

Hi

 

I am getting an error in the paystub application after clicking the back button.

The error seems to be in the onExit() method in the standard app. It is trying to download the file from : ConcurrentEmployment.js

 

I have check the code in chrome web dev tools -> source

 

onExit : function() {

  //exit cleanup code here

  if(this._tempVersion){

  sap.ui.Device.os.version = this._tempVersion;

  }

  try {

  jQuery.sap.require("hcm.mytimesheet.utils.ConcurrentEmployment");

  var oController = hcm.mypaystubs.utils.ConcurrentEmployment.getControllerInstance();

  oController.oCEDialog.Cancelled = true;

  oController.oCEDialog.close();

  oController.oApplication.pernr = "";

  } catch (e) {

  jQuery.sap.log.error("couldn't execute onExit", ["onExit failed in main controller"], ["hcm.mypaystubs.Main"]);

  }

  }

 

why the app needs mytimesheet? I have mytimesheet app also added in the fiori catalog. But because of this issue the app is not working.


Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>