>Why? How/Where to define table types in case of .hdbprocedure?
because these weren't really local types anyway and we already have other development artifacts to create the types. Therefore the decision to not embed them in the procedure itself. You should use .hdbstructure or .hdbdd to create the types.