Skip to Content
0
Former Member
Apr 08, 2009 at 07:36 AM

Killing a Session after DB update is done

20 Views

Hi Experts,

I am updating some DB tables using a custom FM and have a requirement to kill the session immediately after the DB update is done. I tried using "LEAVE PROGRAM" statement, but it is not serving the purpose because custom FM(used to update DB) is being called from other program.

Do we have some FM in SAP to kill the current session which can be called at the end in custom FM?

Will appreciate any help.

Regards,

Tarun Kumar