Skip to Content
avatar image
Former Member

Sap Session hanging while cosing a session from abap program

I am trying to close a particular user session which is using particular transaction from ABAP program by using BDC for the t code SM04 .

Randomly session is getting hanged for few users .

Is there anyway to close a particular session of the user .

Regards

Suresh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 28, 2016 at 08:15 AM

    Hi Suresh,

    Have you tried killing the process from OS level?

    May be user session getting hanged due to some DB level table lock.

    Try to take trace for the user process and analyze.

    Regards,

    Santhosh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2016 at 08:15 AM

    Hi Suresh,

    Have you tried killing the process from OS level?

    May be user session getting hanged due to some DB level table lock.

    Try to take trace for the user process and analyze.

    Regards,

    Santhosh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2016 at 09:25 AM

    Hi Santosh,

    I can kill the hanged session from the task manager.

    But I don't want to do that. My requirement is session should not hanged when I close from the ABAP program.

    There are TH* function modules which will completely log off the user. But I want only a particular session of the user needs to close.

    Regards

    Suresh

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2016 at 01:39 AM

    Hi Suresh,

    You are raising this question in Enterprise Portal area, however it is not clear about :
    - Did you integrate ABAP transactions within Portal using Transaction iView ?
    - When closing session from Portal, ABAP session is not being closed ?

    Please clearly describe your question.

    Rgs,
    Herman

    Add comment
    10|10000 characters needed characters exceeded