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