cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Implementation of Business Partner End of Purpose in Integrated Landscape

AS_
Explorer
0 Kudos

Dear Experts,

Our goal is to use the Webservice for Business Partner End-of-Purpose of SAP Hybris Cloud for Customer.

For this we went through the following guide: https://help.sap.com/doc/80f1e2d9e5884c7493c7cdb27a34c8b8/CLOUD/en-US/SetUpGuide.pdf

In our project scope we checked the question „Do you want to check and maintain end of purpose of a business partner from an external application?“.

We configured the “Business Partner End of Purpose Check from SAP Business Suite” communication scenario.

In the Cloud Applications Studio we added the CheckBusinessPartnerEndOfPurpose Enhancement.

At CPI we configured the iFlow “Business Partner End of Purpose Check from SAP ERP”.

To test if everything was configured properly, we tried to send following xml via above mentioned iFlow to the webservice:

Without further implementation in the enhancement, the iFlow completes and provides the following response:

Unfortunatly I was not able to find any further Documentation on how to use Enhancement, so I tried to find out via try and error, how to, for example, set the PurposeCompletionCode to 2.

My approach was:

When sending above xml again, I got exactly the same response as before. The PurposeCompletedStatus has not been changed.

Now I need to ask for your help to find, where to look for my mistake. Is it the implementation? Is it the wrong Enhancement? Are there further steps I missed out on?

Does someone know a more detailed guide or example for the End-of-purpose-web-service integration?

Thank you very much in advance!

Best regards,

Anna Schlittenhardt

Accepted Solutions (0)

Answers (1)

Answers (1)

Hi Anna,

I fear you have implemented the wrong BAdI. There are two:

  1. BAdI CheckBusinessPartnerERPEndOfPurpose (Interface BusinessPartnerEndOfPurposeCheckIn)
  2. BAdI CheckBusinessPartnerEndOfPurpose (Interface BusinessPartnerERPEndOfPurposeCheckIn)

The first one is used to check End Of Purpose for ERP/S4 Customer Master Data. The second one is used to check End Of Purpose for S4 Business Partner Master Data

I hope this helps.

Regards,

Sascha