C0501: No latest flag found, Contract &1/POB &2/Cond &3

Message type: E = Error

Message class: FARR_INFLIGHT_CHECK -

Message number: 005

Message text: C0501: No latest flag found, Contract &1/POB &2/Cond &3



What causes this issue?

In FARR_D_DEFITEM, DOC_AMT_CUM is not zero, but there is no
LATEST_DEFITEM.


Example
Reconkey POB ID Condition
DOC_AMT_CUM LATEST
2015012000001 POB1 PR00 100.00,,
2016001000001 POB1 PR00 100.00,,
2016002000001(biggest) POB1 PR00 100.00
EMPTY (WRONG!!!SHOULD BE X)

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



System Response

The RAI processing is stopped or the manual transaction from the UI is
stopped.


How to fix this error?

Check if there is already inconsistent data in the system
You can search for SAP Note by the term FARR_INFLIGHT_CHECK and C051,
and implement related notes


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.