SAP Function SPRX_PROXY_EXISTS - suchen nach lokalen bereits existierenden Proxies

Parameter Reference Type Length Default Optional Text
ABAP_OBJECT PRX_S_ABAPOBJECT u 34 X Name des Proxys
IFR_ID PRX_S_IFR u 1047 X Name des Proxys

Parameter Reference Type Length Text
RESULT SPROXNAMES h 636 Proxy-Generierung: Namen generierter Objekte

Exception Text
NOT_FOUND Proxie nicht gefunden
PARAMETER_ERROR unglütige Importing Parameter

Functionality
Checks whether a proxy object exists.
The proxy can be indentified by either the ABAP key or the EnterpriseServices Repository key.

Example

  • Search using ABAP key

  • Search for an outbound proxy with the name 'CO_MY_OUTBOUND'.
    ABAP_OBJECT-OBJECT = 'CLAS'.
    ABAP_OBJECT-OBJ_NAME = 'CO_MY_OUTBOUND'.
    • Search using ESR key

    • Search for an inbound message interface 'MyInboundInterface' innamespace 'http://my_namespace'.
      IFR-TYPE = 'ifmmessif'.
      IFR-NAME = 'MyInboundInterface'.
      IFR-NAMESPACE = 'http://my_namespace'.
      • Search for a consumer proxy for a Web Service MyWebService in
      • namespace'http://my_namespace'.
        IFR-TYPE = 'ifmmessif'.
        IFR-NAME = 'MyWebService'.
        IFR-NAMESPACE = 'http://my_namespace'.
        IFR-GEN_APPL = 'WEBSERVICES'.
        If there are multiple consumer proxies in different packages for the Webservice concerned, the return table contains multiple lines that specifythe relevant packages.