Symptom
- SSO is not working when opening reports with the Excel add-in.
- Error: "Single Sign On failed. Log on manually".
- Error: "no SAP ErrInfo available. RETURN CODE 18".
- Error: "RETURN CODE: DEALLOCATED_NORMAL".
- RFC log errors such as "ERROR => ab_rfcget 0x106: illegal length 12 (11 expected)" or "ERROR => ab_rfcget 0x130: illegal length".
Environment
- Analysis for Office 2.8
Reproducing the Issue
- Use an older Analysis for Office client (for example, 2.8 SP12).
- After the SAP Kernel of the backend system is upgraded, launch the Excel add-in and open a report using SSO via the BI platform connection.
- Observe that logon via SSO fails with the listed errors.
Resolution
- Update the Analysis for Office client to 2.8 SP31 Patch 1 (or the current release).
Alternatively
- apply the latest available SAP Kernel patch for the installed kernel release to include the RFC corrections referenced below in the See Also section.
- After updating either the client or the backend kernel, test SSO again from the Excel add-in.
- If SAML-based SSO to HANA is used, review and adjust the SAML configuration as needed per the references below.
See Also
- Refer to: 3800330 - Analysis for Office connection fails after SAP Kernel update with older AO versions (RETURN CODE: DEALLOCATED_NORMAL
- Refer to: 3792186 - RFC calls fail with ERROR => ab_rfcget 0x106: illegal length 12 (11 expected)
- Refer to: 3799666 - RFC calls from external program fail with ERROR => ab_rfcget 0x130: illegal length
- Refer to: 2511596 - SAML Single Sign On (SSO) failed for AO to HANA
- Refer to: 3486468 - Error connecting AO: Single Sign On failed. Log on manually
- Refer to: Analysis for Office download and update information
Keywords
Analysis for Office, AO, SSO, Single Sign On failed, return code 18, DEALLOCATED_NORMAL, RFC error, ab_rfcget, illegal length, kernel upgrade, BI platform, BOBJ, Excel add-in, S/4HANA, SAML , KBA , BI-RA-AO-XLA , Excel Addin , Problem
Product
SAP Analysis for Microsoft Office 2.8
SAP Knowledge Base Article - Public