When you are debugging, go to SAP ABAP call stack (Desktop 2) and see the previous function modules/methods and see if there is any check on sy-batch variable.
I don't think there should be an issue, because you are able to debug it.
When you are debugging, go to SAP ABAP call stack (Desktop 2) and see the previous function modules/methods and see if there is any check on sy-batch variable.
I don't think there should be an issue, because you are able to debug it.