Skip to Content
author's profile photo Former Member
Former Member

Killing a session Programatically

Dear Friends,

I have created a new session in my program using CALL FUNCTION '<NAME>' STARTING NEW TASK 'T1'.

I am doing some processing in that new session. I want to kill that window (session) after the processing is finished.

Please don't suggest SM04 (This is manual ) and 'LEAVE PROGRAM' (as this doesn't kill the window (session) ).

Any help on this regard, will be highly appreciated.

Thanks and Regards,

Sandeep Sivan

Edited by: sandeep sivan on Oct 13, 2010 10:04 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 13, 2010 at 04:48 AM

    Hi Sandeep,

    You can check some task handler FMs as TH_SELECT_MODE followed by TH_DELETE_MODE.

    Also possible may be TH_STOP_WP or any other matching TH_* FM

    Regards,

    Klaus

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2010 at 04:44 AM

    Hi Sandeep ,

    If my understanding of the addition to call function is correct the session gets teminated after the execution of the function is complete . You dont ned to teminate it manually.

    Regards,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2010 at 04:54 AM

    check this ->Delete ITS session

    some adjustment needed to set this thing up.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.