cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI to S4 HANA connection using receiver XI adapter - Configuration

nitheesh_c
Explorer
2,585

Hello Experts ,

I have a requirement of connecting SAP CPI to S4 HANA using proxy (XI receiver adapter) . However while configuring the receiver XI connector , In the connection tab , It asks me for the service interface name and namespace . Just want to know how can I get these details ? Because in CPI we are not creating any service interfaces like we used to do in PI / PO in the ESR . Then How can I get the details ? And how will the proxy gets activated in S4 HANA if we do not create SI in CPI ? Can you give some insight please ?

Any inputs are highly appreciated .

Thanks ,

Nitheesh

nitheesh_c
Explorer
0 Kudos

Thank you bhaskar for your valuable inputs 🙂

hemant_singh4
Explorer
0 Kudos

Hi, I also need to work on the same configuration. I have a WSDL file and need to create abap proxy with the same. Can you please let me know the steps you followed.

Accepted Solutions (1)

Accepted Solutions (1)

r_herrmann
Active Contributor
0 Kudos

Hi nitheesh_c,

at the moment you can only call Service Interfaces that are already existing. (e.g Interfaces you initially created via SAP PI's ESR.)

SAP told that they plan to bring parts of the ESR/Proxy functionality to CPI in the future, so that you can define Service Interface in CPI and then generate ABAP proxies from it. But for now this isn't available.

So if you plan to build new interfaces which communicate via XI protocol/ABAP proxy, you better have a SAP PI system on which you create the Service Interfaces. (That you then may call from CPI.)

nitheesh_c
Explorer
0 Kudos

Many thanks Raffael .

This information is indeed helpful ! ☺️

nitheesh_c
Explorer
0 Kudos

Hi Raffael Herrmann ,

If I do not have a PI system in my landscape , which connector will be the best to connect to S4 Hana ?
As I wont be able to use XI connector because I do not have a PI box .

Thanks,

Nitheesh

r_herrmann
Active Contributor
0 Kudos

Hi Niteesh,

I would say it depends on what you want to transfer. If it's "standard" documents/data (e.g. orders, business partners, ...) you could go for example with IDOC adapter/-communication. If you have a Netweaver Gateway in your infrastructure, you could expose OData services an then call them via CPI's OData adapter. Otherwise you still should be able to write plain simple webservice and call them via CPI's SOAP adapter as explained here: http://saptechnical.com/Tutorials/Others/WebService/Create.htm

Answers (1)

Answers (1)

former_member306381
Participant
0 Kudos

Hi Nitheesh,

  • You can find out the (HTTPS port) of the URL by choosing transaction SMICM in the receiver system and choosing Goto-Services.
  • Service interface-The receiver interface is described according to how interfaces are defined in the Enterprise Services Repository, that means, with a name and a namespace Business component-use a communication component to address a business system as the sender or receiver of messages.
  • transaction SLDCHECK-In section LCR_GET_OWN_BUSINESS_SYSTEM, you find the business system ID

URL Format would be like this-https://<host name>:<port>/sap/xi/engine?type=receiver&sap-client=<client>

Also Please refer #Mandy Krimmel blogs for referece below.

https://blogs.sap.com/2018/06/04/cloud-integration-configuring-scenario-using-the-xi-receiver-adapte...

Regards,

Bhaskar.

nitheesh_c
Explorer
0 Kudos

Thanks a ton Bhaskar for taking out time and responding . On the second point which you said , Regarding Service Interface , We do not have ESR in SAP CPI right ? As far as I know we are not using ESR in CPI . Please correct me if I am wrong . So when there is no ESR , How do I determine the Service interface and its namespace ? Thank you .