What is "output" and what is "input" here? In a CMOD code for a datasource, we do not have any variables.
What we do have is a table C_T_DATA. I would suggest you to elaborate on your requirement because the SELECT statement and the line "Output-ZZBSTMA = input-BSTMA" are not logically the same thing, so what is it that you're actually trying to do?