cancel
Showing results for 
Search instead for 
Did you mean: 

Exposed SAP S/4HANA Federated content in SAP Workzone give Internal Server Error

0 Kudos
531

Hi,
I have followed the below tutorial to expose my S/4HANA system fiori applications to SAP Workzone.
https://developers.sap.com/tutorials/cp-launchpad-federation-expose-content.html 
S/4HANA system details:
version : 2023
UI5:
Workzone:1.129.0
S/4HANA:1.120.0.

The apps are visible in Work-zone as tiles, but when I open , it gives "Internal Server error".
Not sure whether the workzone and S/4HANA UI5 versions should be same

1. Workzone

Screenshot 2024-10-07 130141.png

2. After opening the app

Screenshot 2024-10-07 130220.png

3. Network tab

Screenshot 2024-10-07 130312.png

Updated

4. Console error

console.png
Updated
Destination details

Design-Time

design.png

Runtime

runtime.png

Runtime

junwu
Active Contributor
0 Kudos
post the detail of error
0 Kudos
@junwu I have updated the question with console error
junwu
Active Contributor
0 Kudos
that is nothing better, check network tab to find detail information.
abdulbasit
Active Contributor
0 Kudos

I doesn't seem to be a UI5 version error. You would get an version related error on the console.

Can you post the details of the response tab for the Internal Server Error on the network tab?

0 Kudos
@abdulbasit, I have added the network tab error. That is the only network tab error I get
abdulbasit
Active Contributor
0 Kudos
Can you post your runtime destination configuration?
0 Kudos
@abdulbasit, updated with destination details
jcantzler
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi akhthaaralibadhusha, afair, you shouldn't use special characters in the Destination Name (both dt + rt), in the screenshots there is a '_' (underscore) visible behind the red dot. Further, please check that you meet the config specs according to https://help.sap.com/docs/CIAS%20FES%202020/ecb81b5bfce440ca8e7e7c9ad58fcf3a/68a94ee6019a48b4b9e496c...
View Entire Topic
WouterLemaire
Active Contributor
0 Kudos

Check your runtime destination to your S/4HANA system and make sure that the properties are correct:

Especially look for "sap-platform" must be "ABAP":

WouterLemaire_0-1728309649412.png

Check also the other parameters in the help documentation:

Configure Destinations (On Premise) | SAP Help Portal

And additional params for Web Gui: Tunneled Access to On-Premise Apps | SAP Help Portal

 

0 Kudos
sap-platform property is maintained as ABAP only
WouterLemaire
Active Contributor
0 Kudos
What is the virtual hostname in the cloud connector? For webgui and wda this should be the same as the physical hostname
0 Kudos
The virtual host name is "saps4h:8001"
0 Kudos
Virtual host name : saps4x:8001
0 Kudos

Virtual host name : saps4x:8001

Host name when I open the app in local system: https://saps4x.<orgname>.com:44301/sap/bc/ui2/flp?sap-client=200&sap-language=EN#FreightOrder-manageWorklist?sap-ui-tech-hint=WDA

abdulbasit
Active Contributor
0 Kudos
It might not be the reason but I would use the FQDN for the URL. I don't see any other problem with the configuration.
WouterLemaire
Active Contributor
0 Kudos

I'm pretty convinced it is related to your destination. Can you check you have the following properties in your destination?

WouterLemaire_0-1728382913850.png

Does it work for a native Fiori app? Or only for webgui and wda?