cancel
Showing results for 
Search instead for 
Did you mean: 

ByD integration Basics

dchigama
Explorer

I trust you are well.

I have developed a number of add-ons in ByD, and I am quite comfortable on the ABSL coding side. I have done the openSAP Courses ByD1 and ByD8. However, I find integration in general a bit confusing to me. I can call Web Services in ABSL Code, but I do not understand how integration works. For instance, if we have two ByD tenants, and I create two Custom BOs in both tenants. I then create a Web service in one tenant, download the WSDL file and create an external web service in the other tenant using the WSDL file, what else do I need to do to enable an object created in one tenant to create/update the same object in the other tenant? I guess my question really is, once data coming from one tenant reaches the other tenant, what do I have to do to enable an objects created/updated in one tenant create or update the other tenant automatically? Write ABSL Code? There is something that I am missing when I go through ByD1 and ByD8

Please help or alternatively give some material that could help me understand the process.

Accepted Solutions (1)

Accepted Solutions (1)

former_member197733
Contributor
0 Kudos

Hi David, This is a typical case where you would benefit much more from a side-by-syde architecture.

This decouples your solution/integration from ByD. Giving it more flexibility and resilience. I explain the overall concept in this article and link it to several ways to implement them at the end.

You will also find some other samples on our GitHub. Which I feature the recent smb-eats and the event-driven sample with e-invoice integration.

Quick note, specifically for ByD: since we build some of those prototypes, a new Event Notification mechanism was natively implemented on the product. So all the workarounds we used to retrieve/produce events might not be necessary. This doesn't affect the architecture at all.

Answers (2)

Answers (2)

may_thitsaoo
Contributor
0 Kudos

Hi David,

According to your post, Tenant 1 is like "source tenant" and Tenant 2 is "target tenant". So, instead of downloading WSDL of source tenant, how about to try alternative way.

1. create service integration in Tenant 2 and download wsdl.

2. create external service integration in tenant 1 and necessary arrangement.

3. In tenant 1 absl (eg: Before-Save), invoke tenant 2 web service to create/update data in tenant 2 when everytime data is created/updated in tenant 1 add-on.

* since you said can create add-ons and wsdl in tenant 1, I think you can also create logic file too.

Regards,

May

former_member206060
Contributor
0 Kudos

Hello David,

Please refer to the below amazing blogs which would give you a complete overview of integration capabilities which is applicable for ByD as well:

Integration-capabilities-of-sap-cloud-applications-studio

How-to-invoke-an-external-web-service-via-coding

Thanks,

Dhanya

dchigama
Explorer
0 Kudos

Good Day Dhanya,

Thank you so much for responding.

The scenario that I am trying to solve is as follows:

1. I have two tenants - Tenant 1 which is some "external system" which I have no control over, and Tenant 2 which is "my tenant"

2. I create bonus plan add-ons in both tenants

3. I create service integration in tenant 1 for the bonus plan. I download the WSDL file from the created service integration.

4. I create external service integration in tenant 2 using the WSDL file downloaded from tenant 1. I create the communication system and communication arrangement as explained in the videos you referred me to.

5. Tenant 1 for me represents some external system that I have no control over. So when bonus plans are added or changed in tenant 1, I need the same changes to be reflected in Tenant 2. I have been trying to use the read operation in tenant 2 to try to get the data from tenant 1, but that requires me to know the bonus plan ID which, in a real integration situation I would not have knowledge of. In videos that you referred me to (just like in ByD1 and byD8), they use the create operation in "tenant 1" to create bonus plans in "tenant 2". So what do I do in Tenant 2 in order for me to get the bonus plans in tenant 1?

I hope that clarifies the situation that I am trying to solve. I realize that my question had not brought this out clearly enough.

Thank you in advance