Skip to Content

ESR Service Modeling – Step-by-Step guide for Outside-In approach

In this blog, I will be describing the step-by step procedure of creating a service model from CE 7.1 ESR and implementing the service definition thru the proxy generation in the appropriate backend system(Outside-in). *Pre-requisite:*   ** SAP NW 7.0 SP14 System. *Step 1*:Message Types: *BUPA_ReqMT* refers Data Types:  *BUPA_ReqDT*  Message Types: *BUPA_ResMT* refers Data Types:  *BUPA_ResDT* Next step is, to create the service Interface from our process component model, Select the Service Interface block from the model and then right click to create (select the option “Create Assignment” from the context menu) the service interface. System will automatically propose the service interface name and you need to select the namespace and the service interface attributes like below: Create the assignment for the operation as explained for the service Interface. Now save all your XI design objects and activate it.   *Step 3*:In this step, we will be creating the inbound proxy for the service interface from the backend. Login to your backend system, where you have configured the ESR connection setup. Launch the transaction ‘SPROXY’ or SE80 transaction (select the ‘Enterprise Service Browser’).  Examine all your generated XI design objects from the ES Brower, Expand the Service Interface node and select the Service Interface “BUPASearch”. Right click to create the proxy. A generated proxy for your service interface will look like below: Double click on the class name to implement the code for the inbound proxy in the method “BUPASearch” like below: *Step 4:* Create the service endpoint and configuration in ‘SOAMANAGER’   In this step, we will be creating the service endpoint and configuration. Launch the transaction ‘SOAMANAGER’ from the backend and search for the service “ZBUPA*” as shown below:

Create the service endpoint as shown below:

In configuration, specify the authentication type as ‘UserID/Password’. Now save and test your service by clicking on ‘Open Web Service navigator for selected binding’ link from the Overview tab like below:

Select the Operation “BUPASearch” and provide the input parameters for the business partner search as shown below:

You must be Logged on to comment or reply to a post.
  • Hello Velu,

    Looks like you finally got your ESR working 🙂

    Incidentally, there was a question in the forum on the same. I have forwarded your blog to them. I am assuming you will be getting some mails / calls soon!


    • Jiannan,

      You are almost there. Since you are using the backend NW70 SP14, you need to import SAP ABAP 7.0 XI Content from SAP Market Place. After that you can see the SCV in the ESR (backend).

      In your case, the connection to CE 7.1 ESR from backend is successful. Since you do not have any SCV matching with your backend system in CE 7.1 ESR, it is not displaying the objects.

      Note: if your backend system version is less than the CE 7.1 SCV, then it will not be displayed in the ESR (backend).


  • Hi,

    I have successfully implemented this blog till creation of proxy & its implementation,but since my ABAP stack is SAPECC 6.0,i m unable to use transaction SOAMANAGER.
    Are there other methods of creating service interface endpoints ?? (may be by using transaction WSADMIN,WSCONFIG)

    • Sheetal,
      As I mentioned in my blog, you require NW 7.0 SP14 system. Unfortunately all my system is patched with SP14, so I can not try and give solutions to your questions. But if you have completed till Step3, you can test the proxy class in the backend system by providing the input (Business Partner number). Thanks.


  • Hi Velu,

    Hope it is okay to ask another question.  With a configuration like the one in this blog, ESR in CE71 SP4 and NW70 SP14 backend, I have created a model with three operations in the interface.  But I am having problem activating it.  The error message says that multiple operations is not supported for XI 3.0 compatible interfaces.  Since the SCV is NW70 the Stateless XI 3.0 Compatible is the only option for interface pattern.  But if I set the SCV to NW71 the SPROXY will not be able to see the objects in ESR.  Any idea if here is any solution or workaround?  Thanks.


  • Hi,

    This blog is very helpful!

    But I have a question about this modeling above.
    Can we export these models to any file format?
    (ex. word, excel…)

    Best regards,

  • Hi Velu,
    Its a nice blog and exciting to discover the features of PI 7.1. I have some questions, may be you would be able to answer them –
    1. In this blog, you have created only an inbound interface. And we generated the proxy and made the service available in ESR. So, dont we need any configuration in Directory? Without the sender SOAP channel and receiving XI (proxy) adapters also this service works?

    2. In case if have to have mapping in between the service call and the proxy call, how should I go about it? In this case do I need directory configuration?

    3. Personal.. What would be the best way come in contact with you… so that I can keep asking you some questions..:-) and get them answered…


    • Vijay,

      The blog covers with the aspect of CE 7.1 ESR. The service modeling in ESR does not require any configuration in directory as we do it in PI. The service call can be implemented in any web service client program by creating the appropriate proxy in the backend system.  Since we have already created the endpoint & transport binding for the service, in this case the configuration not required in directory. You can reach me thru the email-id in SDN business card.


  • This has been helpful but need a little assistance.  I have the SAP_PROXY_ESR configured. It test OK. and the SXMB_IFR transaction goes directly to my NetWeaver services Repository.  When I open the Services Repository to create a folder I do NOT see SAP ABA??  I only see SAP BASIS 7.10. Am I missing something?  And I can’t create an object in SAP Basis.

    Also when I do a check from SPROXY the and run SPRIX_CHECK_IFR_Address it says the Repositiory address is correct but the log says that there is an authorization issue.  But, SXMB_IFR  does go to the Enterprise Services Repository.  So, I may have an error?

  • Hi Velu,
    I would like to grasp the whole picture of the modeling in ESR (the theory, all the models types, the capabilities, etc.). I searched the network but I found only pieces of information (blogs, forums, etc.).
    Could you please suggest me a comprehensive document (or book) to read?
    Thanks, Livio.