cancel
Showing results for 
Search instead for 
Did you mean: 

Sideeffect BOPF action does not work

JaimeRodriguez
Participant
0 Kudos

Hi everyone!

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

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

Does anyone know what could be wrong?

Thanks in advance.

arunbharathi
Participant
0 Kudos

Could you please share the project? , tried the same annotation format and did not face this issue.

JaimeRodriguez
Participant
0 Kudos

Hi arunbharathi

Here is a copy of the project:

https://github.com/jrodriguez-rc/sideeffect-bopf-action-does-not-work

Accepted Solutions (0)

Answers (0)