Message type: E = Error
Message class:  FKK_ID_PT_SIGN - Digital Signature Portugal FI-CA/IS 
Message number: 510
Message text: Length of ODN exceeds 16 digits
You have entered an ODN prefix for a number range object that generates
an ODN exceeding 16 digits.
The system sends a warning message because the length of the sequential
number and the length of the used ODN prefix exceed 16 digits.
In this case the system dumps when posting a document using the standard
function module for the generation of ODN in event 1192.
To fix this issue, proceed as follows:
Correct your entry: shorten the ODN Prefix or use a number range object
that generates the corresponding length.
Example:
ODN Prefix: 5 digits
Separator character: 1 digit
Use a number range object that generates a 10 digits or less characters
sequential number.
If you use a different number range object, you have to adapt your
coding in event 1190. Then, you need to register the new number range
intervals in the
<DS:SIMG.FICA_PT_DFKK_PT_NUMR>Define ODN and SAF-T Invoice Number
Structure</>customizing activity.
If you do not use one of these options, you must create your own coding
in event 1192 to generate an ODN.
<DS:FU.FKK_PT_BUILD_EXBELX>Builds the Complete Portuguese SAF-T Document
Number</>
<DS:FU.FKK_PT_BUILD_LEGAL_NUM>Builds legal document numbers from
customizing settings</>
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FKK_ID_PT_SIGN510 indicates that the length of the ODN (Object Data Number) exceeds the maximum allowed limit of 16 digits. This error typically occurs in the context of SAP's Contract Accounts Receivable and Payable (FI-CA) module, particularly when dealing with identification numbers or keys that are expected to conform to specific length restrictions.
Cause: The primary cause of this error is that the ODN being processed has more than 16 digits. This can happen due to: Incorrect data entry where a longer identifier is mistakenly input. Data migration or integration processes that do not enforce the length restriction. Custom developments or enhancements that generate or manipulate ODNs incorrectly.
Solution: To resolve this error, you can take the following steps: Check the ODN Value: Review the ODN that is causing the error. Ensure that it does not exceed 16 digits. If it does, you will need to truncate or modify it to fit within the limit. Data
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FKK_ID_PT_SIGN509 You are not authorized to declare a number range gap for object &.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKK_ID_PT_SIGN508 Number &1 is not a gap
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKK_ID_PT_SIGN511 Company code is mandatory.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKK_ID_PT_SIGN512 Fiscal year is mandatory.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.