cancel
Showing results for 
Search instead for 
Did you mean: 

How to Call DSM Terminator

Former Member
0 Kudos

We have a customized log-off link and realized that we forgot to terminate the back-end sessions. I believe the right thing to do here is to call the DSM Terminator, but how do we do that?

Can we just create a bogus form with its action being "/irj/servlet/prt/portal/prtroot/com.sap.portal.dsm.Terminator", but if so, what the values should be for the parameters like "Autoclose" and "LogTerm"?

Or should we call the EPCM function which triggers the DSM Terminator?

Thank you!

Mina

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Or another way that you can help me...

Can someone tell me how the SAP standard framework calls the DSM Terminator?

Former Member
0 Kudos

We are also needing to do the same thing. Have you received any responses to your question or did you resolve the issue? When we try using the URL the DSM Terminator aborts.

DSM Terminator v. 7.100645001 [ ABORT ]

Finished ( 0 request(s) distributed, 5ms)

I'm sure this can be accomplished but we need to know what parameters to pass so that it does not abort.

Thanks,

Steve Hughes

Former Member
0 Kudos

No, I did not receive any responses; however, I can share some information that I found myself by doing more researches. Initially, I was going to call the direct url to the DSM terminator component (/irj/servlet/prt/portal/prtroot/com.sap.portal.dsm.Terminator), but I could not figure out how to set the parameters that needed to go with it. I think you are trying to find out the same thing? The parameters are:

TermString

SerPropString

SerKeyString

LogoffMode

Autoclose

LogTerm

According to Detlev's forum posting that I found, "Autoclose" is hardcoded to be 1000 by SAP, so you can simply hard code it as well, but the rest? I don't know. FYI, when I traced the http call, the values of these were:

TermString=

SerPropString=

SerKeyString=

LogoffMode=true

Autoclose=1000

LogTerm=false

After all, I decided to use EPCM.DSM.terminateAll() function. Since it's the SAP's official API, it seemed like the right thing to do. Hope this helps.

In case you have more questions for me, I will keep this posting open, but please do let me know when you are done so that I can close.

Thanks,

Mina

Former Member
0 Kudos

Hi Mina,

How are you?

I´m trying to implement a logoff where this logoff sends you to a custom login page after the logoff was triggered, how did you implemented yours? or you where calling the standard logon page after using your custom logoff?

Thanx in Advanced!

Kind Regards,

Gerardo J

Edited by: Gerardo Jiménez on May 12, 2008 12:36 PM

PradeepBondla
Active Contributor
0 Kudos

Hi Mina,

did you solve this issue???

I have to call DSM terminator when user clicks on browser close (X on left upper corner of browser)... I can catch browser close action. but when I am trying to call DSM terminator inside this block, its not working.

Please help me.

Thanks,

PradeeP