klesch
2nd August 2007, 15:20
I have made a short program that handles session tdilc4201m000 and tdilc4202m000 using stpapi.* functions in Baan IV. It works perfectly when a superuser (bsp) runs it. However, if a non-superuser runs it nothing really happens and stpapi.continue.process does not return any message. If this user runs both sessions manually they work OK.
Any ideas or hints? Please, do not hesitate to post. Thank you!
mark_h
2nd August 2007, 15:35
What do you put on the forms for the sessions? Delete any user defaults they may have for these sessions. How are you handling the reports? Are there any errors in any of the log files?
kathuria
3rd August 2007, 22:08
Will you please check permission of other depenent sessions and device permission also.
Regards,
Sanjay
Paul P
4th August 2007, 15:02
I agree with Sanjay that there might be permission problem. One easy way to check this is to ask the user to perform exactly the same thing as what your API program is doing directly on those sessions. If the same user also can't perform exactly the same task here, then you're sure the user wasn't given sufficient permission
Paul
klesch
5th August 2007, 21:42
Thank you all for your answers. Actually, it was not a permission or authorisation problem. It was that the user had some default settings stored for this sessions. It was mark_h's "Delete any user defaults they may have for these sessions." that reminded me that I actually ignored this possibility since I was not setting values for all fields on the form. Thank you again!