Skip to Content
0
Nov 15 at 02:04 AM

Unable to preview SAP BAS Fiori Element changes.

170 Views Last edit Nov 15 at 10:44 AM 2 rev

In my current development i am using SAP BAS for my UI5 development. I am consuming custom SAP CAP application data through Destination Service to create a SAP Fiori Elements. In this application, i am using SAP Fiori Tools to add some action buttons on top of my objectList Table. Once's those changes done i tried to preview my application by my changes are not reflecting. I tried to run application in standalone also but also no luck.

Project Structure

Project%20Structure

Mainfest.json Extend

<code> "extends": {
            "extensions": {
                "sap.ui.controllerExtensions": {
                    "sap.suite.ui.generic.template.ListReport.view.ListReport": {
                        "controllerName": "project1.ext.controller.ListReportExt",
                        "sap.ui.generic.app": {
                            "PurchaseOrderItems": {
                                "EntitySet": "PurchaseOrderItems",
                                "Actions": {
                                    "CustomCreate": {
                                        "id": "CustomCreateButton",
                                        "text": "Custom Create",
                                        "press": "inboundDelivery",
                                        "requiresSelection": true
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },

Controller

<code>sap.ui.define([],
function (){
    "use strict";
    return {
        inboundDelivery: function(oEvent) {
            alert('inboundDelivery');
        }
    };
});

Previewing application

I tried all the option by - no luck

any one can help me on this issue.