gous99
8th May 2002, 17:32
Hi,
here is my problem. I'm dealing with the session tppss6110m000 (Maintain Material Recommendation), I am able to insert records in it, no problem, but when I call the stpapi.end.session, it does not work.
In the code (We have it, there was a patch!), in the choice.end.program section, last line of code is "switch.to.process(parent)".
I know that from the menu this session is being called by session tppss6810m000 with the process info set to 6110. I know it's triing the return the process to tppss6810m000.
When I try to do a handle.sub.process in tppss6810m000 to tppss6110m000 and go on, it hangs on the call on handle.sub.process. When I dont use the tppss6810m000 at all, I am able to do all my code, but it does the stpapi.end.session call, continue in the code, and does everything fine. But when I start a bshell and type the ps command, the session is still opened and hangs there until I do an End Task on it.
here is my problem. I'm dealing with the session tppss6110m000 (Maintain Material Recommendation), I am able to insert records in it, no problem, but when I call the stpapi.end.session, it does not work.
In the code (We have it, there was a patch!), in the choice.end.program section, last line of code is "switch.to.process(parent)".
I know that from the menu this session is being called by session tppss6810m000 with the process info set to 6110. I know it's triing the return the process to tppss6810m000.
When I try to do a handle.sub.process in tppss6810m000 to tppss6110m000 and go on, it hangs on the call on handle.sub.process. When I dont use the tppss6810m000 at all, I am able to do all my code, but it does the stpapi.end.session call, continue in the code, and does everything fine. But when I start a bshell and type the ps command, the session is still opened and hangs there until I do an End Task on it.