You have to declare the variable before you use it in the selection query.
Declare
PARAMETERS: COMPANY_CODE TYPE BUKRS.
in your code.
You have to declare the variable before you use it in the selection query.
Declare
PARAMETERS: COMPANY_CODE TYPE BUKRS.
in your code.