justone
20th February 2006, 13:02
We have an AFS session for reporting quantities to Baan.

After major Baan update (from SP7 to SP18) it stopped working.

I debugged it and it stops when it should end sessions:

stpapi.recover(sess.opno.report,err.recover)
stpapi.end.session("tdilc4208s000")
stpapi.end.session("tdilc4207s000")
stpapi.end.session("tihra1211s000")
stpapi.end.session("tisfc0506m000")
stpapi.end.session(sess.opno.report)

if i kill sessions manually it ends normally

thanks for help in advance

mark_h
20th February 2006, 14:23
I would recommend contacting Baan. Make sure everything is the latest and greatest.

One major thing I ran into when we updated to SP17 was that not all subsessions needed to be killed. I am not sure this is the case in your situation. On our system when you started a main session and part of it was a display session, you only had to end the main session. I also believe in SP17 was were I first ran into all of the changes for the other warehouse management system SSA has - that also caused big problems in the receiving area. These were the two major problems I ran into.

justone
20th February 2006, 15:53
Here's AFS debug log, if someone see anything.

I've also reported the problem to our local representative.

ssabaan
6th March 2006, 13:10
As you r saying that if u kill these sessions manually, then it terminates successfully.

It means while u r passing stppi.end.session(), still it is not able to kill sessions.

Can you pls post your code for the AFS. may be u r calling or killing subsessions at wrong place.

i have done this AFS thrice for my 3 diffreent clients but never faced problem. i done it on Baan IV C4 is5 SP18

pls post ur code for the AFS.

thanks