F How to know that ABAP program is running in background or not? | CodeTheta

How to know that ABAP program is running in background or not?

December 26, 2023

We can achieve this by using SY-BATCH system variables.

If an ABAP program running in background then value of sy-batch will be X.

If an ABAP program running in foreground then value of sy-batch will be blank.

So this is how web can differentiate the if an ABAP program running in background or not.

Post a Comment