Symptom
- Fail to connect to the SAP System.
- Error when refreshing a report based of a BEx Query in Crystal Reports.
- Error when refreshing a report based on an SAP Data Source, like SAP Table, InfoSet, SAP R/3 Table,... from Crystal Reports.
- When attempting to create, or refresh a report based of an SAP Table, SAP Infoset, SAP Function, or SAP BW BEx Query in Crystal Reports, it fails with the error:
Database Connector Error: 'CPIC-CALL:'SAP_CMACCPTP:rc=20
LOCATION SAP-Gateway on host <Host Name> ERROR registration of tp <TP Name> from PROXY host <Host Name> not allowed TIME <Date and Time> RELEASE <SAP Version> COMPONENT SAP-Gateway VERSION <Version Number> RC <RC number> MODULE <Module Name> LINE <Line Number> COUNTER <Number>
Environment
- SAP Crystal Reports 2016
- SAP Crystal Reports 2020
- SAP Crystal Reports 2025
- SAP Netweaver 7.4
- SAP Netweaver 7.5
Reproducing the Issue
- In Crystal Reports, open a report based on an SAP Data Source, like SAP Table, SAP Function, SAP BW BEx Query,...
- Refresh the report, and it fails with the error:
"Database Connector Error: 'CPIC-CALL:'SAP_CMACCPTP:rc=20
LOCATION SAP-Gateway on host <Host Name>
ERROR registration of tp <TP Name> from PROXY host <Host Name> not allowed"
Cause
- The SAP Netweaver Gateway configuration prevents Crystal Reports from connecting to the SAP System.
Resolution
- To resolve this issue, modify the SAP Gateway security to allow Crystal Reports to connect to the SAP System.
- To update the SAP Gateway to allow your user, or computer, or external application to connect to the SAP System, contact your SAP BASIS Administrator.
- Additional Information:
- TP for Crystal Reports
- Crystal Reports 2016 is: CRW32
- Crystal Reports 2020 is: CRW64
- Crystal Reports 2025 is: CRW64
- For information on how to configure the SAP Gateway, see the following resources:
- SAP Note 1408081 - Basic settings for reg_info and sec_info
- SAP Knowledge Base Article 1850230 - GW: "Registration of tp <program ID> not allowed"
- SAP wiki RFC Gateway Access Control Lists
- If you have any questions or issues setting security for the SAP Gateway, create a case for the SAP Gateway support, under the component: BC-CST-GW
Keywords
cr designer, cr, SAPBW , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , BC-CST-GW , Gateway/CPIC , Problem
Product
SAP Crystal Reports 2016 ; SAP Crystal Reports 2020 ; SAP Crystal Reports 2025