SAP Message 28087 - Data type error: formal parameter &1 is of type &2

Diagnosis
The syntax check found an error in an entry for a table/function.Formal parameter &V1& is not of the same data type as the argumentV2, entered with it.

System Response
The cursor marks the entry for a table/function that is incorrect.

Procedure
A table is referred to by the keyword TABLE, the language-independenttable name, and a list of arguments, each consisting of , for example:
TABLE TEST_TAB(COLOR='red', PRICE=PRICE_1)
COLOR and PRICE are formal parameters of the table, 'red' is a constantand PRICE_1 is a characteristic-specific variable.
A function is identified by the keyword FUNCTION. The other entries arethe same as for a table, for example:
FUNCTION TEST_FUN(COLOR='red', PRICE=PRICE_1)
The data type of each argument must be the same as that of the formalparameter. If COLOR is an alphanumeric characteristic (CHAR) in tableTEST_TAB, for example, you cannot enter a figure as an argument. Checkargument &V2& for formal parameter &V1& and correct the error.