Hi Nur,
Please do not use the select statement inside the loop.
For Your query, you cannot directly pass the values as you are doing. Please use an read statement on the table and then pass the value from work area as below,
Read table lt_t007s into wa_t007s with key (Your preferred condition).
Now pass the value as below,
it_output-too7s-text1 = lwa_t007s-text1.
Please get back for further queries.