SAP Knowledge Base Article - Public

3164804 - PDF Summary Generates With 'Old' Data - Object Refresh Needed

Symptom

When you generate an object summary right after a recent change in the UI, the preview or summary will still show the 'old' data (not including your recent change). After refreshing the object and re-triggering the preview, the correct data will be shown.

Environment

SAP Cloud for Customer

Reproducing the Issue

There are various ways of reproducing this. For example, you could take approval actions (submit or revoke approval) and have a workflow rule which updates fields in the relevant object accordingly.

Cause

The reason is that the data used for the Preview is the transaction data of the UI user where the Workflow change is not available at all because it is done by a different user  (SAP_SYSTEM) in a different transaction. Therefore the workflow change can only be updated to the user transaction by reloading the data from the DB ( via the Refresh button).

Resolution

However there is one option to do the preview without Refresh: change the timing of the workflow rule to ‘On Every Save’.

With that, the workflow change will be done within the same transaction of the UI user.

Keywords

Preview, summary, old, new, Output , KBA , LOD-CRM-OPP , Opportunity Management , LOD-CRM-WKF , Workflow , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications 2202