I don't think we have anything on SUBMIT statement to avoid this situation.
From help on LEAVE TO TRANSACTION, :
When using LEAVE TO TRANSACTION, the current call sequence is exited completely. Upon completion of the called transaction, the runtime environment returns to the position where the first program in the call sequence was called. The current SAP LUW is thereby ended.
Probably you can write an implicit enhancement at the end of subroutine AUSGABE to set the variable FLG_OUT = CON_TRUE when program is called in SUBMIT.
Thanks,
Naimesh Patel