cancel
Showing results for 
Search instead for 
Did you mean: 

accessing Controllers methods

Former Member
0 Kudos

Hello!

Is it possible generally that one controller access to one other

controllers method. Please notice each controlleris in a different

DC.

If so, how? And if no why, what is the solution?

regards

sas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

create a interface controller in your second dc expose the method which you want to call.

create a public part

from the first dc, using used components create a component reference and start accessing the methods

Regards

Ayyapparaj

Answers (2)

Answers (2)

ThatSAPGuy
Advisor
Advisor
0 Kudos

Sas-

If the components are in different DCs the only option you have is:

1. Expose the method you want to consume through an interface controller.

2. Create a Public Part in the DC add the supplier DC as an entity to this Public Part

3. Add this Public Part as a Used DC in the consumer DC.

4. In the consumer component add the provider component as a Used Component

5. Your supplier component's method should now be available.

Cheers-

Atul

Former Member
0 Kudos

hi,

with other words this is the only one way to do that.

Regards

sas