SAP Knowledge Base Article - Preview

3563412 - SAC : Error for Application.getFileDataSource API with setVariableValue when executing from Egde browser

Symptom

  • After QRC4 release, the Application.getFileDataSource script statement is no longer working in existing applications as well as in new applications.
    Example: Application.getFileDataSource("C3v81g12d6740qkge1npri7qf54").setVariableValue("OUTPUT01",this.getSelectedKey());
  • If creating a new application that contains only one radio button group for testing the script. In this case, the system also issues the following error message.
    Error SAC:
    Script execution failed for event RadioButtonGroup_1.onSelect
    Correlation ID: 29233787-3133-4115-9646-058918356114
    Console Error
    Script execution failed for event RadioButtonGroup_1.onSelect 
     Looks like this error occurred due to a problem in the script you ran Look at the script if possible.  
     Cannot read properties of undefined (reading 'setVariableValue') 
      TypeError: Cannot read properties of undefined (reading 'setVariableValue')
        at Proxy.eval (RadioButtonGroup_1.onSelect.js:4:84)
  • The error occurs during a live connection to the BW release with an SAP HANA DB
  • This error occurs with Edge browser but NOT with Chrome browser
  • Console & Network would raise the error :
    {message: "The resource does not exist, or you do not have permission to read it", stack: "",…}
    bUIMessage: true
    bWarning: false
    errorDetails: [{messageId: "RESOURCE_NOT_EXIST",…}]
    0: {messageId: "RESOURCE_NOT_EXIST",…}
    message: "The resource does not exist, or you do not have permission to read it"
    stack: ""
    status: 500


Read more...

Environment

  • SAP Analytics Cloud (Enterprise) 

Product

SAP Analytics Cloud all versions

Keywords

Application.getFileDataSource, setVariableValue, ODE, Optimize Design Experience , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.