SAP Message AG501 - Program error: incorrect call of function &1 using parameter &2

Diagnosis
Programming error: when function module &1 was called, parameter &2 wasnot filled correctly.