cancel
Showing results for 
Search instead for 
Did you mean: 

Connect two Embedded Component

Jakub
Participant
0 Kudos

Hi,

I created two EC for different business object ( each have another Deployment Unit ) is it possible to connect them ? I know how to get access to each Business Object but i don't know how to get access to their Embedded Component. Or it is something like XBO that i can see this in debug mode as association (in this case).

Regards,
Jakub

Accepted Solutions (0)

Answers (2)

Answers (2)

Jakub
Participant
0 Kudos

Does anyone have any sugestion for this situation:

-Two solution each in others deployment unit (fundation and customer relationship mgmt )
- In each solution was created custom Business Object and Embedded Component
- How to get access from one BO to another ?

I tried by Internal Communication but the business objects are in invidual solution so it is imposiible to do with that method.
I tried by inports and outports, but when i add EC i have only access to outport standard screen. I searched for any event (like BOOperation) for read or assign from one to other.


Is any possible to transfer/copy/send data form one custom buisness object to another in different solution ?

jravnik
Participant
0 Kudos

Hi Jakub,

there is only the possibility to use webservices to communicate between custom BOs of different solutions. This however is a performance intensive task.

Best regards
Jürgen

jravnik
Participant
0 Kudos

Hi Jakub,

what do mean with "connect two embedded components"? On the UI level the deployment units do not matter. They do on code level (ABSL scripts) when you try to write something - reading should always be possible. Have you had a look at inports and outports? These are used to transfer data from one UI component (such as an EC) to another one.

Best regards
Jürgen

Jakub
Participant
0 Kudos

Hi,

I try to read value from the one EC to another e.g. I have the "TASK" UI:

and i have the "Ticket" UI:


In each screen i added custom EC with 5 fields. Now I want to copy the value from task EC to ticket EC.

Should i create outport in one of them with these 5 fields and the ID/UUID field and create some event to start this?

Regards,
Jakub

Jakub
Participant
0 Kudos

I create outport in one EC and inport in the other one, but how to connect them ? wehn i add Ec to stanard UI i can only connect with outports this screen. I search for any event which should do this, but i didnt finde.

Or i must create internal web service to conect this two EC in other deployment unit.

Any sugestion?

jravnik
Participant
0 Kudos

Hi Jakub,

you can use inports and outports for this scenario in combination with local events. Please refer to section 5.8.3.2 in the studio guide, where a example use case is described including such configurations.

Best regards
Jürgen