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

Any idea for developing an addon program to delete user session as batch

0 Likes
1,234

Hi Experts,

I would like to develop an add-on program that can delete user-session as batch...

Does anyone have an idea what function module is effective??

Thanks in advance for the response.

Yoko

1 ACCEPTED SOLUTION
Read only

viquar_iqbal
Active Contributor
0 Likes
1,197

To delete sessions and the logs of processed sessions use report program RSBDCREO

Hi,

Try using FM ' /BDL/_DELETE_SESSION_TASK ' Provide parameters like Session No, SID, CLIENT.

Hope it works..

Thanks

Ravi

10 REPLIES 10
Read only

viquar_iqbal
Active Contributor
0 Likes
1,198

To delete sessions and the logs of processed sessions use report program RSBDCREO

Read only

Former Member
0 Likes
1,197

HI,

you can develop your own function module using the SHDB transaction by recording the deletion of user-sessions from t-code SM12.

SHDB t-code: -


> new recording give the recording name and the t-code SM12

start recording and delete the session, after the completion of the session. save the recording and click on the function module and give the function group it will be created so you can use the function module and delete the sessions of the users.

thanks,

sarvesh

Read only

Former Member
0 Likes
1,197

Hi Team Basis,

Try these function modules.

DB6_PLAN_DELETE_BATCH

DB6_PLAN_DELETE_BTACH_DATA

DD_DELETE_BATCH_REQUEST

Hope it helps!

Much Regards,

Amuktha.

Read only

Former Member
0 Likes
1,197

Hi,

function module BDC_INSERT may be helpful to you .

regards

Sachin

Read only

Former Member
0 Likes
1,197

Hi,

Please check with the following link.

[Link|]

Hope this link helpfull to you

Regards,

Rajani

Read only

Former Member
0 Likes
1,197

Hi,

Try using FM ' /BDL/_DELETE_SESSION_TASK ' Provide parameters like Session No, SID, CLIENT.

Hope it works..

Thanks

Ravi

Read only

former_member222860
Active Contributor
0 Likes
1,197

Hi,

See this

BDC_DELETE_SESSION

thanks\

Mahesh

Read only

Former Member
0 Likes
1,197

Hi,

Instead of FM you can use the standard Program RSBDCREO.

If you execute this program you will get all the options like - date intervals , error sessons or not etc. in the selection-screen.According to your requirement you can delete sessions in batch.

Thanks

Pinaki

Read only

Former Member
0 Likes
1,197

Hi,

You can use the standard report 'RSBDCREO'. It is for delete sessions and logs of processed sessions .

Regards,

Jyothi CH.

Edited by: Jyothi Chinnabathuni on Feb 10, 2009 10:41 AM

Read only

0 Likes
1,197

Hi all,

Thank you so much for the all replies and sorry for my late reply...

What I would like to do is not to delete batch job

but to force users to logoff the system (delete user-session) by background job.

I checked the function modules and transaction below, but most of them seems not for my case...

It would be grateful if you have any idea to make logon-users logoff the system by background job.

Thanks in advance for the response.

Yoko