cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to preview SAP BAS Fiori Element changes.

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

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

klaus_keller
Contributor
0 Kudos

Hi Sai Santhosh,

I used your custom controller code and manifest in one of my apps and the button shows up and works. Can you make sure, that the entity set matches exactly to the ENTITY_SET in

"sap.ui.generic.app": {
  "pages": {
    "ListReport|<ENTITY_SET>": {
      "entitySet": "<ENTITY_SET>",
      "component": {
        "name": "sap.suite.ui.generic.template.ListReport"
...

Cheers,

Klaus