In the function <SAP function name> the parameter <parameter name> is specified as variable type but the assigned variable <variable name> is not defined.
In the function <SAP function name> the parameter <parameter name> is specified as variable type but the assigned variable <variable name> is not defined.
You removed the variable that you assigned to the function parameter.
Click the Variable button in the ABAP program flow and define the variable again.