2020 Apr 06 11:43 AM
Hi Team,
I am running VL10C in background, but sy-batch is not set to 'X'. Based on sy-batch i have to do some validations.
Kindly let me know if there is any alternative to identify whether the program is running in background or foreground?
Thanks.
Hello,
For all who faced the same problem (like me).
In VL10C selection screen/user role: if the parameter "list of blocked documents" is set, the functions are called via "asynchronous RFC", which causes a new dialog mode with clear sy-batch.
You cannot rely on sy-batch to be sure that you are actually in background mode. Therefore, an additional check for GUI availability or similar is required.
BR
Chris
2024 Feb 08 1:10 PM
Hello,
For all who faced the same problem (like me).
In VL10C selection screen/user role: if the parameter "list of blocked documents" is set, the functions are called via "asynchronous RFC", which causes a new dialog mode with clear sy-batch.
You cannot rely on sy-batch to be sure that you are actually in background mode. Therefore, an additional check for GUI availability or similar is required.
BR
Chris
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |