cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Analytics Cloud - Error while creating model on BW/4HANA Live Data Connection in Chrome

Amit_Tewatia
Active Participant
0 Kudos
1,373

Hi All,

We are facing error while creating model on BW/4HANA LiveData connection in Chrome browser. Live data connection was created successfully and when we try to cretae model on top on this connection we are getting below error:

"Driver Error: Error [Driver]: (#2700) Cube tag in structure not found"

Below are error logs from Chrome Developer tools:

[Error] Driver: (#2700) Cube tag in structure not found

Uncaught (in promise)

e.exports.sap.fpa.ui.infra.service.ExceptionFirefly {status: 2700, code: "FIREFLY_ERROR", message: "Driver Error: Error [Driver]: (#2700) Cube tag in structure not found", severity: 1, stack: "Error↵ at e.exports.sap.fpa.ui.infra.service.Ex…ce_of_main-chunk.8432ff32e20d69b561ca.js:20:5210)", …}

  1. code:"FIREFLY_ERROR"
  2. component:""
  3. message:"Driver Error: Error [Driver]: (#2700) Cube tag in structure not found"
  4. previous:null
  5. severity:1
  6. stack:"Error↵ at e.exports.sap.fpa.ui.infra.service.ExceptionFirefly.e.exports.sap.fpa.ui.infra.common.Exception (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:818371)↵ at new e.exports.sap.fpa.ui.infra.service.ExceptionFirefly (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:901011)↵ at Object._newExceptionFirefly (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:733701)↵ at l (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:742460)↵ at Function.n.firefly.XClass.callFunction (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:245584)↵ at t.SyncAction.callListeners (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:692963)↵ at t.DefaultSession.processQueue (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:875533)↵ at t.DefaultSession.addToListenerQueue (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:875300)↵ at t.NativeHttpClient.t.SyncAction.onInSync (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:690586)↵ at t.NativeHttpClient.t.SyncAction.endSyncInternal (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:691007)↵ at t.NativeHttpClient.t.SyncAction.endSync (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:690791)↵ at t.NativeHttpClient.onAjaxEvent (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.firefly-runtime-chunk.a2944773ab8f6c846379.js:2:841207)↵ at f.onreadystatechangefunction (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:1644712)↵ at f.<anonymous> (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.67.slice_of_main-chunk.595d9085aef4c1b51ae9.js:2:1634659)↵ at XMLHttpRequest.a (https://assets.sapanalytics.cloud/production/uiAssets-2020.2.19/uiAssets/app.chunk.54.slice_of_main-chunk.8432ff32e20d69b561ca.js:20:5210)"
  7. status:2700
  8. utCustomOptions:null

SAP Note # 2776539 already followed, rewrite.txt file correctly set to handle cookie attributes SameSite=None, Secure

Any help here is highly appreciated.

Thanks

Regards,

Amit T

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member661012
Participant
0 Kudos

Hello Amit

Hope you're doing good.

In regards to the error mentioned (Cube tag in structure not found) specifically on Google Chrome. It is due to the Chrome’s new behavior regarding blocking third party cookies.

Could you please try the following steps for the resolution:

a.) In your back-end system try removing the handler class: CL_BICS_INA_VERSION_HTTP from the service "/sap/bw/ina"(you will find this service in SICF tcode- consult your basis team, if required)

b.) Set the parameters icm/HTTP/samesite = None & icm/HTTP/mod_0 = PREFIX=/,FILE=$(DIR_PROFILE)/rewrite.txt

Please create this rewrite.txt file. For reference please check the below URL:

https://www.sapanalytics.cloud/direct-live-connections-in-sap-analytics-cloud-and-samesite-cookies/

Please read the following KBA's for reference too(if not consulted yet):

2893546 - SameSite suppport in SAP Web Dispatcher and ICM

2776539 - Error: '(#2700) Cube tag in structure not found' when attempting to create a Model in SAP Analytics Cloud

Regards

deepusasidhar
Participant
0 Kudos

Amit, Based on the error below looks like CORS and SameSite cookie config is not set up properly, double check the config and make sure you do not get these errors in the Chrome console.

Amit_Tewatia
Active Participant
0 Kudos

Hi Deepu,

Same setup and configuration is working fine in Mozilla firefox. I am facing this model creation error in chrome only, which suggests that CORS n Config is good enough.

deepusasidhar
Participant
0 Kudos

If you have already set up samesite cookie parameter enable chrome developer tools and check whether you still see samesite cookie errors in Chrome.

This error looks like related to Samesite cookie.

Amit_Tewatia
Active Participant
0 Kudos

Hi Deepu,

No samesite cookie errors reported in developer tools however I can see these 2 errors and warning:

Error:

Uncaught (in promise) app.html#;view_id=createModel:1

e.exports.sap.fpa.ui.infra.service.ExceptionFirefly {status: 2700, code: "FIREFLY_ERROR", message: "Driver Error: Error [Driver]: (#2700) Cube tag in structure not found", severity: 1, stack: "Error↵ at e.exports.sap.fpa.ui.infra.service.Ex…ce_of_main-chunk.8432ff32e20d69b561ca.js:20:5210)"

Warning:

Cross-Origin Read Blocking (CORB) blocked cross-origin app.chunk.54.slice_of_main-chunk.8432ff32e20d69b561ca.js:20 response https://dashboard.sentry.projectorca.cloud/api/2/store/?sentry_key=7fc9264c250a40c7b2b150786bb40fd0&... with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details

Thanks