Useful Link:
https://docs.github.com/en/search-github/github-code-search/understanding-github-code-search-syntax
Useful Link:
https://docs.github.com/en/search-github/github-code-search/understanding-github-code-search-syntax
Do below steps to resolve the issue
-----
There must have been a change in the Build Process in the past month of September, as all of my old apps now fail.
Fix for this ended up being a re-build of the package.json and Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { 'use strict'; grunt.loadNpmTasks('@sap/grunt-sapui5-bestpractice-build'); grunt.registerTask('default', [ 'lint', 'clean', 'build' ]);};
These settings instruct Grunt to load the plugin that provides tasks for building SAPUI5 applications and running the tasks in the specified order.
package.json
{ "name": "grunt-build", "version": "0.0.1", "description": "Grunt build", "private": true, "devDependencies": { "@sap/grunt-sapui5-bestpractice-build": "1.3.62" }}
Then one additional line had to be added to the package.json as per this SAP Note: https://launchpad.support.sap.com/#/notes/0002801814
So the Package.Json now looks like this:
{ "name": "grunt-build", "version": "0.0.1", "description": "Grunt build", "private": true, "devDependencies": { "@sap/grunt-sapui5-bestpractice-build": "1.3.62", "vscode-uri": "1.0.6" } }
Source: https://answers.sap.com/questions/12880809/webide-all-existing-sapui5-apps-failing-build.html
Issue: HCMFAB Timesheet app not working in WebIDE
Following code need to be added to Component.js to solve issue
(function() {
jQuery.sap.registerModulePath("hcm.fab.lib.common", "/sap/bc/ui5_ui5/sap/hcmfab_common/");
}());
https://blogs.sap.com/2018/08/22/sap-fiori-2.0-for-sap-hcm-how-to-extend-my-profile-app-using-sap-web-ide/
https://blogs.sap.com/2016/05/31/my-inbox-open-task-swfvisu-configuration/
https://sapyard.com/sap-fiori-tutorial-part-8-how-to-extend-standard-fiori-app-both-ui-odata/
https://help.sap.com/viewer/d59d9f81f4884bf9b115936b92c27202/2.0%202020-12/en-US/d858be20370746d2bd44d2feb2b888b5.html?q=My%20Timesheet%20Version%203%20Fiori%202.0
SAP Odata URL conventions
https://www.odata.org/documentation/odata-version-3-0/url-conventions/
Task No
|
Person Responsible
|
Object
|
Task description
|
1
|
BASIS
|
SICF
|
Check SICF to see if following services are active under path '/default_host/sap/bc/ui5_ui5/sap/'
Z******
|
2
|
BASIS
|
SICF
|
Check SICF to see if following services are active under path '/default_host/sap/opu/odata/sap/'
Z**
|
3
|
BASIS
|
Cache clear - SMICM
|
http plug in -> Clear local and global server cache
|
4
|
BASIS
|
Cache clear - SE38
|
/UI2/DELETE_CACHE_AFTER_IMP
|
5
|
BASIS
|
Cache clear - SE38
|
/UI2/INVALIDATE_GLOBAL_CACHES -> Execution mode
|
6
|
BASIS
|
Cache clear - SE38
|
/UI5/APP_INDEX_CALCULATE -> Single SAPUI5 Repository Only Run for each App project:
Z****
|