cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FI_OT_DNC001 message

Andrea_Gr
Explorer
0 Likes
242

Hi,

when I enter a posting date later than today's date, I get the message FI_OT_DNC001, which I've attached. However, it doesn't appear on another customer, and I'd like this message to appear for that customer as well. How can I do this?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

dawid90
Active Participant
0 Likes

Dear @Andrea_Gr,

Message class FI_IT_DNC = „Messages for document numbering checks in Italy, I assume so”.

That means:

This error is part of the Italian document-numbering / ODN date-control logic.

On S/4HANA Cloud public edition, there are two different situations:

  1. If the other customer also has an Italian company code (country = IT)

Then you can get the same message there but only by activating the same Official Document Numbering (ODN) with date control.

More details below:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/4603118feda9495892abadbe8f8c3d14/b15cfc3e56404640af4458ff...

There is no separate message control in Public Cloud, the only way to get FI_IT_DNC001 is to have the Italian ODN date-control active for that company code/doc type.

In this case the correct and supported way is to build your own check that behaves, for example:

Using the validation apps (no coding)

  1. Open Fiori app “Manage Substitution/Validation Rules”
  2. Open an existing Validation rule or create a new one.
  3. In General Information:
    • Set Control Level = Error or Warning.
    • Click value help on the Message field.
  4. In the popup:
    • Message ID/number
    • Short text (what user will see)
    • Severity (error/warning)
    • Choose Create
    • Enter:
    • Save.
  5. Back in the rule, select this new message in Message.

Now this custom text will appear when the validation fails.

More details below:

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F4406')/S35

https://help.sap.com/docs/SAP_S4HANA_CLOUD/e6175604fc874bfe84aa14d2f9ae1fbd/5c8c2825535f4e3aa9b7f716...

https://help.sap.com/docs/SAP_S4HANA_CLOUD/a376cd9ea00d476b96f18dea1247e6a5/ac7785b7870344a8998c8492...

Using a Badi:

  1. App Custom Logic find a Badi for FI document validation
  2. Implement logic, for example: FIN_ACDOC_HEADER_VALIDATION

dawid90_0-1763319792914.png

 

    • Read posting date from the incoming document.
    • Compare with system date
    • If posting date > today and your other conditions are met raise an error message.

Summary:

  • FI_IT_DNC001 is Italian document-numbering date control not a generic message.
  • For non-Italian company codes, you cannot turn on FI_IT_DNC001 itself; instead, create a custom validation that blocks future posting dates and shows your own error text.

Best Regards,

Dawid