SAP Knowledge Base Article - Preview

1920307 - Principal Propagation BPM PI RFC not working

Symptom

You want to enable principle propagation in scenarios like following:

  • Call RFC_READ_TABLE (from SAP Backend) via PI-Interfaces (Interface-Typ XI) from a BPM Process
  • Call RFC_READ_TABLE (from SAP Backend) PI-Interfaces (Interface-TypXI) from a JAVA-Application

If you activate principle propagation on PI we get following error messages:

Exception caught by adapter framework: error while processing message to
remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException:
could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception:
(101) RFC_ERROR_PROGRAM: Parameter containing a user ID is missing:
neither user nor user alias nor external ID nor SSO ticket nor X.509
certificate is specified

AND

com.sap.engine.services.webservices.espbase.xi.exceptions.ESPXIException
: Technical errors were encountered during proxy call through XI; Hint:
Error sending MS message. Exception:
com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while
processing message to remote
system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not
get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (101)
RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither
user nor user alias nor external ID nor SSO ticket nor X.509 certificate
is specified
[EXCEPTION]
javax.xml.ws.WebServiceException: com.sap.engine.services.webservices.es
pbase.xi.exceptions.ESPXIException: Technical errors were encountered
during proxy call through XI; Hint: Error sending MS message. Exception:
com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while
processing message to remote
system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not
get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (101)
RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither
user nor user alias nor external ID nor SSO ticket nor X.509 certificate
is specified
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAP
TransportBinding.call_XI(SOAPTransportBinding.java:2426)
...

Caused by: com.sap.engine.services.webservices.espbase.xi.exceptions.ESP
XIException: Technical errors were encountered during proxy call through
XI; Hint: Error sending MS message. Exception:
com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while
processing message to remote
system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not
get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (101)
RFC_ERROR_PROGRAM: Parameter containing a user ID is missing: neither
user nor user alias nor external ID nor SSO ticket nor X.509 certificate
is specified


Read more...

Environment

  • SAP NetWeaver Business Process Management (BPM)
  • SAP NetWeaver Application Server Java

Product

SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

JCo, assertion ticket, principal propagation, BPM, PI, RFC, RfcAFWException , KBA , BC-BMT-BPM , Business Process Management (BPM) , BC-JAS-SEC , Security, User Management , BC-MID-CON-JCO , Java-Connector , 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.