Hi Experts,
I have one Z function module , in this there is an another function module which is running in Background task.
eg :
CALL FUNCTION 'ZTEST_RAISE_EXCEPTION'
in BACKGROUND TASK
if the fucntion module is running in background task then we are not able to debug the Function module.
for this i need to do check here...
if debugging is ON
Run the same function module in foreground
eg : CALL FUNCTION 'ZTEST_RAISE_EXCEPTION'
else.
Run in Background.
eg :
CALL FUNCTION 'ZTEST_RAISE_EXCEPTION'
in BACKGROUND TASK
endif.
i have tried with the system field SY-DEBUG, but it is working. please help me. is there any other way to do this.
Thanks
SAP main