Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 628
Message text: Financial transaction incompatible with superior commitment item
You are trying to give a commitment item a successor which is assigned
to a financial transaction different from the one in the superior item.
The system rejects the operation.
You must assign the same financial transaction to all the commitment
items in a commitment item hierarchy.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FI628 ("Financial transaction incompatible with superior commitment item") typically occurs in the context of public sector accounting or when dealing with commitment items in SAP. This error indicates that there is a mismatch between the financial transaction being processed and the commitment item hierarchy defined in the system.
Cause:
Commitment Item Hierarchy: The transaction you are trying to post is linked to a commitment item that is not compatible with the superior commitment item in the hierarchy. This can happen if the commitment item is not allowed for the type of transaction you are trying to execute.
Incorrect Configuration: The configuration of the commitment items in the system may not be set up correctly, leading to incompatibility.
Posting to Incorrect Commitment Item: The transaction may be attempting to post to a commitment item that is not valid for the specific financial transaction type.
Solution:
Check Commitment Item: Review the commitment item you Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI627 Item category for commitment item incompatible with superior item
What causes this issue?  You are trying to give a commitment item a successor which is assigned to an item type different from the one in the superior...
FI626 You cannot subordinate commitment item
What causes this issue?  You are trying to attach a summarization item to an account assignment item.System Response  Operation is not carried out.How...
FI629 You must not delete FM area &
What causes this issue?  You cannot delete the specified FM area because: master data is still maintained for it and/or titles exist for the standard ...
FI630 Deletion not possible as plan values exist
What causes this issue?  You are trying to delete a commitment item for which there are plan values.System Response  The system rejects the deletion. ...
Click on this link to search all SAP messages.