SAP Knowledge Base Article - Public

2476137 - Error: 'Registration of tp <tp name> from PROXY host <Host Name> not allowed' when refreshing a report based of an SAP Data Source in Crystal Reports

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 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020
         
  • SAP Netweaver 7.4
  • SAP Netweaver 7.5

Reproducing the Issue

  1. In Crystal Reports, open a report based on an SAP Data Source, like SAP Table, SAP Function, SAP BW BEx Query,...    
  2. 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 2013, 2016 is: CRW32   
    • TP for Crystal Reports 2020 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 KBA 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

See Also

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 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020