SAP Knowledge Base Article - Public

3707572 - Error " (#2001) Bad control character in string literal in JSON at position 331" When creating a live model (SAP BW) in SAP Analytics Cloud

Symptom

When creating a live model(SAP BW) in SAP Analytics Cloud (SAC), below error message is popped up:

lOLayer Error: Error[lOLayer]:(#2001) Bad control character in string literal in JSON at position 331 (line 1 column 332)
Error [Protocol]:(#401) {"Messages": [{ "Type": 2, "Number": 100, "MessageClass": "BW_BICS_INA", "Text": "BW_INA_GR_LOGON_ERROR", "Details":{} }, { 'Type": 2 "Number": 101, "MessageClass": "BW_BICS_INA", "Text": "Logon error. User or password notknown"},{'Type": 2, "Number": 106, "MessageClass": "BW_BICS_INA", "Text":""}[}

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."   

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. In SAC Menu, select "Modeller".
  2. Click "Live Model" button.
  3. Select "SAP BW" for "Connection Type".
  4. Select the live connection, error occurs.

Cause

Wrong setting in service sap/bw/ina.

Resolution

  1. Logon SAP BW or SAP S4/HANA system in SAP GUI and run transaction code: SICF.
  2. Find service sap/bw/ina and double click on it.
  3. Switch to change mode by clicking "Change" icon on the top left.
  4. Switch to "Logon Data" tab.
  5. Select checkbox "Use All Logon Procedures".
  6. Save the service.

Keywords

KBA , LOD-ANA-LDC-BW , SAC Live Data Connection BW , BW-BEX-OT-BICS-INA , BW INA provider , Problem

Product

SAP Analytics Cloud all versions