UBE runs on web only when debug log is turned on..

GauriP24

Active Member
I am having a weird issue while running a simple UBE.
The custom UBE is pretty simple, has Left outer join on F0901 and F0902. It just has around 50 If-else loops, and gets account balances based on cat codes.
The problem is,
- UBE runs fine on local machine but when ran on web, it error out. however if the log is turned On, it runs fine. SO I can not find any way to figure out whats wrong.
- I copied the UBE into new one, but new one also fails
- I changed the logic but again failed.
- I created new versions, re-deployed it on server, but failed.

Has anyone come across this kind of situation.
Any help is hugely appreciated.

Thanks,
Gauri.
 
Is there any limitation to the number of IF-ELSE loops.

I have 53 loops.
If (condition 1)
else
if (condition 2)
else
.
.
end if
end if

Thanks,
Gauri.
 
Sounds like asynchronous processing is running before something it relies on is ready. Debug generally slows processing a bit and thus may allow things to process in the proper order.
 
Is there any limitation to the number of IF-ELSE loops.

I have 53 loops.
If (condition 1)
else
if (condition 2)
else
.
.
end if
end if

Thanks,
Gauri.

Back in 2006, in Xe, I noticed that the max number of nested IFs allowed by the toolset is 35. I don't know what the limit is these days. This was in FDA by the way.
 
Last edited:
Back
Top