When creating a simple query (table KNA1) with one criteria (VAT Number) and 5 output fields.
Preview in Studio works quick and fine.
But in Composer the script is running endless and you will get no error message.
Composer 11.x and 12.x
We changed the criteria field description from "-" to "_" and deployed the script in solution.
After we ran the solution it worked with criteria.