2008 Jul 09 8:02 PM
Hi Everyone,
There is an output type we are triggering from VT02n in Background where there is some process taht happens when Sy-batch is X.
but here the system variable does not get set.
Could theer be any reason why.
2008 Jul 09 8:06 PM
Hi Vinotha,
Sy-batch will always set to 1 when the program is run in background.
How did you find out if the sy-batch was set to 1 or not.
Probably there must be some other check in the program due to which it is not executing the way it should.
Regards,
Sushil Joshi
2008 Jul 09 8:06 PM
Hi Vinotha,
Sy-batch will always set to 1 when the program is run in background.
How did you find out if the sy-batch was set to 1 or not.
Probably there must be some other check in the program due to which it is not executing the way it should.
Regards,
Sushil Joshi
2008 Jul 09 8:08 PM
Hi Sushil,
When i try doing update debugging that is triggered in the background i know that the varaibale is not gettng set..
or even when I run it normally..I know for sure that a diferent check or validation is being done.
Thanks,
Vinotha M
2008 Jul 09 8:42 PM
HI,
Could it be becasue its not an Sm30 background job..but an update task..
But ideally even then I thought it should be set..
or is there any otehr way to distinguish..between normal tasks and update tasks.
Thanks,
Vinotha M
Edited by: Vinotha M on Jul 9, 2008 3:42 PM
2008 Jul 09 9:19 PM
use the function module , to determine whether in update task ..or not..
call function 'TH_IN_UPDATE_TASK'
importing
in_update_task = zutask_mode.
case zutask_mode.
when 1.
........
2008 Jul 09 8:08 PM
Hello Vinetha,
Sushil Joshi is corrcet. Check your program.
Thanks,
Greetson