Skip to Content
Author's profile photo Roberto Cantero

Setup Enterprise Service in SAP PI

I decided to share with you my experience setting up standard SAP Enterprise Services in SAP PI. I heard about Enterprise Services some years ago and I was involve during design phase in that project but without time to setup and test them. Finally years later I was involve into same project maintenance phase and I was proud to see my design working as expected and even better with some colleague improvement.

That was an introduction to let you know my Enterprise Services background. My current project required SAP PI configuration and some basis task that I was not able to do before, for example, setup and prepare Service Interface to be used.

I didn’t found any clear how to guide or SCN related discussion regarding the all process and for that reason I consider to write that blog to share with you.

Step 1:

Search Service Enterprise that match with your business requirements. You can go thru http://esworkplace.sap.com/

Once you find it out, I’ll say:  HandlingUnitERPRequestConfirmation_In

These details give you under which SAP SWC is your required Service Operation, write it down! SAP APPL 6.04

Step 2:

                Download from SMP SAP APPL 6.04 SWC to upload in SAP PI ESR.

  1. Under Software Downloads –> Support Packages and Patches  –>  Browse our Download catalog –> SAP Content –> ESR Content

-1.PNG

All SWC are listed:

Captura.PNG

Chose yours and find the correct file…

2.PNG

Make sure to download your correct .zip file corresponding with you component version in ECC in order to activate properly abap Proxies in backend.

Check your SP version in System/Info

1.PNG

Step 3:

                Import SAP APPL  SWC from SLD in ESR

              

Step 4:

                Upload ESR object from *.tpz file downloaded in step 2.

  That step can take few minutes…

Finally we get APPL SWC in our ESR PI. Just need to confirm if Services Interface are available from txcode: sproxy at your backend.

Check in tcode: sproxy that everything was right.

Enterprise Services ready!

If not, don’t panic SAP note 1528587 -PI ESR Content 0bjects are not visible in SPROXY is giving us a workaround to activate Services at backend.

                You need to copy all objects created during APPL upload in SAP SWC to your own SWC, just need to create SWC in SLD and copy with option Transfer Design objects in ESR (namepaces should be copied with same name at custom SWC):

Following these steps you can go to tcode: sproxy in your backend and see all Services activated under your custom SWC:

*No sure if workaround is giving us a correct activation in back end or we need to apply some other correlations.

Cheers,

Roberto Cantero.

Assigned tags

      24 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Thanks for consolidating the steps required to make it work. That will save me a lot of time

      - Sergio

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Thanks my friend 😉

      Author's profile photo Former Member
      Former Member

      Nice one.

      --Divyesh

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Thanks you Divyesh.

      cheers,

      Roberto.

      Author's profile photo RAVI REDDY
      RAVI REDDY

      good explanation............ 🙂

      -------------------Ravireddy

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Thanks Ravireddy!

      Roberto.

      Author's profile photo Former Member
      Former Member

      great job, man! This one goes to my bookmarks

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      I knew you would like it! 😉

      Author's profile photo Harish Mistri
      Harish Mistri

      Thanks for providing the information, the consolidate step will help.

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Thank you Harish!

      Author's profile photo Antonio Sanz
      Antonio Sanz

      Nice and usefull blog.

      Congrats Roberto.

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Thanks Antonio.

      Author's profile photo Former Member
      Former Member

      Excellent! Very useful.

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Many thanks.

      Author's profile photo Former Member
      Former Member

      nice blog...many thanks for your info.

      Author's profile photo Jitender Gusain
      Jitender Gusain

      Thanks for sharing this Roberto 🙂 ...

      Author's profile photo Phil Enslin
      Phil Enslin

      Thanks Roberto,

      Author's profile photo Former Member
      Former Member

      Hi Roberto

      Thank you so much for this very helpful blog.

      I am trying to setup enterprise service in PO. I followed all the steps given in your blog.

      I was able to import the objects into the ESR.

      However, all the objects are grouped in models and i am unable to understand how i can use them.

      Could you please share some insights?

      I am currently working on PO 7.4 (Single Stack).

      Regards,

      Xineohpi.

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Hi mate,

      Looks like there is no option for that, read below link for details.

      PO single stack designs and interaction models

      I want to highlight answer from Emil Jessen:

      The reason behind this is that these models used WSRM communication,

      but this adapter type is not available in java-only PI installations.



      cheers,

      Roberto.

      Author's profile photo Former Member
      Former Member

      Hi Roberto

      Thanks for that...!!! 🙂

      Cheers!

      Author's profile photo Krishna Mudunuri
      Krishna Mudunuri

      Good work Roberto!!! Great to see so many ex-colleagues here 🙂

      Thanks,

      Krishna.

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Hey Krishna glad to know about you, and thanks for the kind words.

      Roberto.

      Author's profile photo Former Member
      Former Member

      Hi Roberto,

      I have been a long time fan of the SAP standard enterprise services. You can see my blog about some of my thoughts and concerns here: https://blogs.sap.com/2015/03/26/documenting-message-mappings-beware-of-enhancements/

      Anyway, I just wanted to comment on your advice to "just need to create SWC in SLD and copy with option Transfer Design objects in ESR". This is not needed, and I would recommend not doing this. The reason why some PI content might not be visible in SPROXY, is because you need to import the PI content into your ESR that match the respective component's version in the backend. In your screenprint, I can see that your backend has SAP_APPL 6.17 SP1. So you will need to install the SAP standard PI content for this version.

      Usually, when I start a project, I begin by installing all the PI content that match what is in the backend systems. For example, you can import as many versions of SAP APPL into ESR as you like, which might be relevant if you have multiple backend systems with different versions of same components installed.

      With this setup, you can simply use the SAP standard ESR content. And if you need to change something, then you can enhance the SAP standard enterprise services usingdata enhancements from a custom SWCV which has dependency to the SAP standard component.

      Just some thought from a standard entusiast, who like solutions where we create as few custom objects as possible.

      Best regards, Emil

      Author's profile photo Roberto Cantero
      Roberto Cantero
      Blog Post Author

      Hi Emil,

      Many thanks for your comments and glade to know some SAP ES fan!

      br,

      Rober.