SAP Message AC513 - Call error in function module 'RULES_DETERMINE'

Diagnosis
The interface 'I_AFATYP' was given the value &V1&.
However, this value is not valid.
You will find valid values in the documentation for the functionmodule.

Procedure
This is a program error.