Hello
Try this (I did this for the opportunity app, so change it in function of your needs):
In Component.js of the extension app, the function below :
jQuery.sap.require("cus.crm.opportunity.CRM_OPPRTNTYExtension.util.Formatter");
jQuery.sap.declare("cus.crm.opportunity.CRM_OPPRTNTYExtension.Component");
(function() {
jQuery.sap.registerModulePath("sap.cus.crm.lib.reuse", "/sap/bc/ui5_ui5/sap/crm_lib_reuse/sap/cus/crm/lib/reuse");
}());
// use the load function for getting the optimized preload file if present
sap.ui.component.load({
name: "cus.crm.opportunity",
// Use the below URL to run the extended application when SAP-delivered application is deployed on SAPUI5 ABAP Repository
url: "/sap/bc/ui5_ui5/sap/CRM_OPPRTNTY"
// we use a URL relative to our own component
// extension application is deployed with customer namespace
});
see
best regards
Emmanuel