Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Programatically end SESSION/TASK with known task name

Former Member
0 Likes
481

Anyone been able to programatically end a SAP SESSION/TASK. At runtime I know the session number as well as the task/session name.

3 REPLIES 3
Read only

Former Member
0 Likes
442

I have also same requirement but for this fm, tell me how to get session no?

this might be the FM..

DSVAS_SERV_SESSION_CLOSE

Edited by: Sachin Bidkar on Feb 19, 2010 11:00 AM

Edited by: Sachin Bidkar on Feb 19, 2010 11:00 AM

Edited by: Sachin Bidkar on Feb 19, 2010 11:28 AM

Read only

Former Member
0 Likes
442

Hi,

I have a similar requirement.

Can you please tell me how did u find out the session number which got created using "STARTING NEW TASK".

Read only

0 Likes
442

In the documentation for the ABAP syntax for NEW TASK you'll see that you can/should provide a name for the NEW TASK/SESSION.