SAP Knowledge Base Article - Public

3562612 - Get error "Refused to frame" when embedding SAC stories to S/4HANA system

Symptom

  • When try to launch SAC stories from S/4HANA system Fiori launchpad there is following error in console: Refused to frame 'https://xxxx.eu10.hcs.cloud.sap/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://*.online.office.de https://*.live.com https://hcs.cloud.sap https://*.sharepoint.com ". 

Environment

SAP S/4HANA 

Reproducing the Issue

Launch SAC stories from SAP S/4HANA Fiori launchpad

Cause

When embed SAC stories in Fiori, Fiori Launchpad is the container and SAC is the content, as Fiori launchpad and SAC have different domain, so the SAC doesn't trust the Fiori Launchpad as the container. To fix the issue, the SAC need to trust the Fiori Launchpad, then the SAC will allow Fiori Launchpad to be the container.

Resolution

  1. Login to your SAC tenant account, Click on Main Menu
  2. Select System-->Administration, click on "App Integration" tab
  3. Scroll down to see "Trusted Origins" tab, set the host name of the Fiori launchpad, the format is:https://<host>:<port>, for example: https://mysystem.com:44330 . The port number is mandatory, port number is missing, it means the port number is 443
  4. Click on Save

Keywords

SAC, Trusted Origins, Refused to frame , KBA , CA-GTF-SB-S4H-SAC , SAP S4H embedded SAC UI integration , Problem

Product

SAP Analytics Cloud 1.0