Skip to Content
1
Jan 04, 2023 at 10:42 AM

Sideeffect BOPF action does not work

138 Views

Hi everyone!

I'm trying to add side-effect annotations to a Fiori Object Page to refresh two fields after a BOPF action call:

image.png

Now, I need to refresh the page manually after calling the action.

With the BAS Guided Development I added the side-effect annotation:

<Annotations Target="SAP.ZC_HIGHQAPICONFIGURATION_CDS_Entities/ZC_HighQAPIConfigurationReload_token">
	<Annotation Term="Common.SideEffects" Qualifier="ReloadOnTokenRefresh">
		<Record Type="Common.SideEffectsType">
			<PropertyValue Property="TargetProperties">
				<Collection>
					<String>_it/AccessToken</String>
					<String>_it/RefreshToken</String>
				</Collection>
			</PropertyValue>
		</Record>
	</Annotation>
</Annotations>

But the action fails when pressed and doesn't call to the backend.

I've got this error

image.png

Does anyone know what could be wrong?

Thanks in advance.

Attachments

image.png (73.6 kB)
image.png (44.3 kB)