cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to do extension from SAP web ide for any sap std. fiori app

Former Member
0 Kudos

Hi,

I am not able to do extension for any of the SAP FIORI std. apps which we have in our SAP ABAP repository from SAP WEB IDE. I am able to create an extension project for std. SAP FIORI app, App is getting imported and extension project getting created in my SAP WEB IDE work space. but in the Extensibility Pane, the app is not getting loaded. I have checked in the console as well as network tab, getting below msgs.

Component.js - for extension project getting created in SAP WEB IDE. below is the screenshot.

Kindly help on the same.

Regards,

Amit Anand

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Any luck Amit Anand? Did you find a fix to this problem?

Former Member
0 Kudos

No, Still facing the same issue.

former_member203031
Contributor
0 Kudos

Hi Amit,

I think in the index.html,

The path for the component.js might be mistake.

Thanks,

Deepak Raj

Former Member
0 Kudos

Hi Deepak,

PFB the screesnhot for index.html.

Kindly check this file and let me know if the path for the component.js is wrong or not. As this path looks ok to me

Regards,

Amit Anand

former_member203031
Contributor
0 Kudos

HI Amit,

Sorry I am not sure about Web-IDE.

please find the image,i tried in eclipse

the index.html file looks like:

you can check at data-sap-ui-resourceroots there i declared the path for the component.js

and stfori is the folder name there the views and controllers are defined.

michal_keidar
Active Contributor
0 Kudos

Hi,

Please attach the entire console log and also the entire network trace as HAR file with content (simply right-click the trace in Chrome's Developer Tools and choose to save it as HAR).

Also please check what happens if you don't run the extension project in the Extensibility Pane, but rather run it as Web Application.

Regards,
Michal.

Former Member
0 Kudos

Hi Michal,

The network tab content as HRA is generated as type "file" so not able to attach this here, pls suggest how i can attach this file here.

Regards,

Amit Anand

michal_keidar
Active Contributor
0 Kudos

Change its extension to .txt

Former Member
0 Kudos

Hi Michal,

PFA the trace files .

Regards,

Amit Anand

Former Member
0 Kudos

Hi Michal,

Could you have checked the trace files??

Let me know if more information is required from my side.

Regards,

Amit Anand

michal_keidar
Active Contributor
0 Kudos

Hi Amit,

The logs are showing that the extended app can't locate the Component.js of the original standard app.

When I created an extension project for MM_PURDOC_LIST, the path to the Component.js of the original app was created as: "/sap/bc/ui5_ui5/sap/MM_PURDOC_LIST" (in the Component.js of the extended app).

In your screenshot I see it is different.

Can you change it and run it again?

Was it generated this way or did you change it?

Regards,
Michal.

Former Member
0 Kudos

Hi Michal,

I have tried with change of path for component.js as "/sap/bc/ui5_ui5/sap/MM_PURDOC_LIST", but still getting same issues.

and by default it has been generated like this path "/sap/MM_PURDOC_LIST".

PFB the screenshot for the same.

''

Not able to understand the what is the prob here. kindly try to help on this ASAP.

Regards,

Amit Anand

michal_keidar
Active Contributor
0 Kudos

What if you create a new extension project for this standard app and launch it? Is it running?

adam_smith7
Participant
0 Kudos

Hi Michal,

I have just spent the weekend with the local trial version of web ide , and have been running into this exact same problem. ( can't find the component.js of the original app when running it in web-ide) .

I have been able to go ahead and extend the ui part of the app which I wanted to, and it works in the FLP,  but- I still havent got the preview mode working. Did you manage to figure out what the issue is here?

Any help is much appreciated.

Regards

A

michal_keidar
Active Contributor
0 Kudos

Which app have you extended?

What is its version? (it probably has a version.json)

Is there a specific UI5 version specified in its neo-app.json? If not then it uses the latest.

What is the UI5 version installed in your backend?

adam_smith7
Participant
0 Kudos

Its the Display Customer Balances app, ( https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0703') )

"version": "3.1.3",

  "buildNumber": "28",

  "buildId": "2015-11-19_16-23-20",

Nope, no specific version in the neo-app.json.

Backend version of UI5 is 1.36.1

I have now also tried the same using the HCP webide with cloud connector setup but I still cant see the actaul app in the Extensibility Pane. In the console there are the following errors:

VM301 sap-ui-core.js:126 GET http://localhost:61948/appconfig/fioriSandboxConfig.json 404 (Not found: http://localhost:9090/file/xxxx-OrionContent/FIN_CUST_BALExtension/appconfig/fioriSandboxConfig.json)

VM301 sap-ui-core.js:174 Uncaught Error: failed to load 'fin/ar/balances/display/FIN_CUST_BALExtension/Component.js' from ./Component.js: Error: failed to load 'fin/ar/balances/display/Component.js' from /sap/bc/ui5_ui5/sap/FIN_CUST_BAL/Component.js: SyntaxError: Unexpected token

) .

Thanks for having a look.

Regards

Adam