SAP-samples / s4hana-ext-order-app

SAP S/4HANA Cloud Product Web Ordering and Reporting extension sample showcases how to consume services from SAP S/4HANA Cloud. Both read and write data from/to SAP S/4HANA Cloud are used in this sample. This repository holds only the 'Web Ordering' app.
http://tiny.cc/s4-ext-order-app
Apache License 2.0
0 stars 5 forks source link

Internal Server Error #6

Closed MathiasEichel closed 4 years ago

MathiasEichel commented 4 years ago

Hi Team, I was downloading this sample App created the the WAR file and deployed to SCP Neo. When starting the App I get !! Internal Server Error !! Google console is giving me "Failed to load resource: the server responded with a status of 404 ()" /favicon.ico:1

Please advise. Thanks M.

ksati commented 4 years ago

Hi, Can you please check the Application Logs for getting the more information on the issue.To check check the logs Go to Applications  ->Java Applications->  Monitoring>  Logging  in SAP Cloud Platform Cockpit.

Also,please check the Known issues section in the README.md file Thanks. Regards, Satish

MathiasEichel commented 4 years ago

Hi Satish, I have added the destination proxy parameters as suggested under known issues. The error logs is showing two errors. For the Trace it is: 2020 01 22 15:55:17#+00#ERROR#com.sap.cloud.extensibility.servlets.OrderServlet##P632868#https-jsse-nio-8041-exec-7#na#p632868trial#extorderappapplication#web#p632868trial#na#na#na#na#Exception occured while fetching the products and the exception is :com.sap.cloud.sdk.s4hana.datamodel.odata.exception.NoSuchEntityFieldException: Object has no field with name 'YY1_SaleableProduct_PRD'. |

And for http access one 404 for the favicon: 10.117.18.18 (84.136.80.x) - - [22/Jan/2020:15:55:18 +0000] GET /favicon.ico HTTP/1.1 404 431 8 extorderappapplicap632868trial.hanatrial.ondemand.com:443 -

Thanks for support. Mathias

ksati commented 4 years ago

Hi Mathias, Please check whether you have implemented the custom field (Saleable Product) steps in S/4HANA as mentioned in the Set up Guide.This issue is related to this custom field missing. Thanks, Satish

MathiasEichel commented 4 years ago

Hi Satish, thank you for your support it is working now. In the description I had the setup of the product master was not included. Best Mathias