Skip to Content
0
Feb 07, 2020 at 06:51 PM

Fiori Elements side effects on actions

553 Views Last edit Feb 07, 2020 at 06:52 PM 2 rev

Hi,

We have developed an ABAP application programming model fiori app (cds, bopf, fiori elements list report) on premise S4H 1809 FPS 0.

An action on the root node creates an entity of the subnode 1:n and change the status of the root node.

The action is visible in the fiori app object page and can be used but after the call to the action the field status of the root node is refreshed but the table on the object page binded to subnode is not refreshed.

We tried to solve using side effects with following annotation but the subnode list is refreshed only when ENTER is pressed.

<Annotation Term="Common.SideEffects" Qualifier="changeStatus">
    <Record>
        <PropertyValue Property="TargetEntities">
            <Collection>
                <NavigationPropertyPath>to_Voti</NavigationPropertyPath>
            </Collection>
        </PropertyValue>
        <PropertyValue Property="SourceProperties">
            <Collection>
                <PropertyPath>Status</PropertyPath>
            </Collection>
        </PropertyValue>
    </Record>
</Annotation>
<Annotation Term="Common.SideEffects">
    <Record Type="Common.SideEffectsType">
        <PropertyValue Property="TriggerAction" Path="Vota_ac"/>
        <PropertyValue Property="TargetEntities">
            <Collection>
                <NavigationPropertyPath>to_Voti</NavigationPropertyPath>
            </Collection>
        </PropertyValue>
    </Record>
</Annotation>

TriggerAction property is deprecated and not documented.

Thank you for help

Sam