Getting the function associated to a FE through port

in M2DOC on capella 5.1, we need to access the logical component allocating a logical function, starting from a FE attached to this function, but without allocation of the FE to a CE. We fail to find the correct call to go access the function from the FE or from the port. (feasible with graphical queries but could not find how to do it with direct aql). Thanks for hints.

Hi Xavier,

With self a FunctionalExchange from the LogicalArchitecture level, this should work:

self.source.eContainer().allocatingLogicalComponents