Internal error: Function &1 in &2 not permitted

Message type: E = Error

Message class: >3 - Contract A/R and A/P: Central functions

Message number: 302

Message text: Internal error: Function &1 in &2 not permitted



What causes this issue?

You are trying to execute a function which is not permitted in the
current processing mode.
A program error has probably occurred.


System Response

The system cannot process your request because of a program error.


How to fix this error?

Please make a note of:
the message text and number
the name of the function module/report
the transaction/report
the entries that resulted in this error
INCLUDE FICA_NA_OSS_1 OBJECT DOKU ID TX

Error message extract from SAP system. Copyright SAP SE.