2008 Jun 11 12:35 PM
Hi all,
I am working on a program where i need to change the variable values in the program based on the variants of the selection screen . The problem here i am facing is i am getting the variant name but i couldnt determine whether thats a foreground or background variant ,as my condition is based on foreground or background.
for eg : If my variant is a foreground variant the date calculation changes and if its background the calculation is different . so please advice on this .
Thanks & Regards,
Magesh anandan .
Hi all,
I am working on a program where i need to change the variable values in the program based on the variants of the selection screen . The problem here i am facing is i am getting the variant name but i couldnt determine whether thats a foreground or background variant ,as my condition is based on foreground or background.
for eg : If my variant is a foreground variant the date calculation changes and if its background the calculation is different . so please advice on this .
Thanks & Regards,
Magesh anandan .
2008 Jun 11 12:40 PM
2008 Jun 11 1:17 PM
Use VARID-ENVIRONMENT field to determine whether the variant belongs to Foreground or background or both. For that hit VARID table based on the Program name and variant name.
Regards,
Kiran Bobbala
2008 Jun 11 1:18 PM
Hi,
You can use system variable sy-batch for checking whether program is runing in background or foreground.
Thanks.
Sriram Ponna.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |