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

end session

andreas_mann3
Active Contributor
0 Likes
1,235

hi all,

do you know the command or a fm to end the <u>current</u> session?

thank you and regards

Andreas

10 REPLIES 10
Read only

naimesh_patel
Active Contributor
0 Likes
1,179

If you are running in foreground you can end it by /BEND

into the command box.

And if you have your session running inbackground, it has created a JOB with the same name. You can go to SM37 and delete or cancle that job.

Regards,

Naimesh Patel

Message was edited by:

Naimesh Patel

Read only

0 Likes
1,179

Hi Naimesh,

I will delete my current session from my report and not a bdc-session or a job.

this is my coding:

(but it deletes not the right session)

REPORT zforum140 .
DATA:  my_session LIKE  sm04dic-counter.

INCLUDE tskhincl.


CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_usr_attr
  ID 'MY_SESSION' FIELD my_session.


MESSAGE i001(000) WITH 'nr.' my_session.

CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_delete_mode
  ID 'MODE' FIELD my_session.

kind regards Andreas

Read only

0 Likes
1,179

Have you looked at the FM: BDC_DELETE_SESSION.

I haven't used it.

Regards,

Naimesh Patel

Read only

0 Likes
1,179

sorry,

but BDC_DELETE_SESSION is to delete all BDC-sessions from apqi

regards Andreas

Read only

0 Likes
1,179

Ohh..

Look at this program:

RSBDCTL6

Use SUBMIT RSBDCTL6 with the selection criteria.

Regards,

Naimesh Patel

Read only

0 Likes
1,179

Hi Andreas,

Don't think there is any FM. You may need to use system commands only.

Regards,

Atish

Read only

0 Likes
1,179

Hi all,

the solution is so simple, (wenn du's weißt .:) if you know it:

CALL FUNCTION 'TH_DELETE_MODE'.

-> call this fm

without

parameters

A.

Read only

Former Member
0 Likes
1,179

hI

<b>Processing Options</b>

/bdel - Delete Transaction

/n - Next Transaction

/bda - Process/Foreground

/bde - Display errors only

/bend - Cancel

Read only

Former Member
0 Likes
1,179

Hi.

In BDC means Use

/Nend

/Bend

It will terminate the current Processing screen.

Else , if one of ur program(se38) is locked by unknowingly .. and u may open the same program in another session means it will come in Display mode only..

For , this u may goto Tcode SM04.

there u may find ur username and what applicatins u r currently running . there u may select and terminate the locked application .

Or Simply terminate a seesion from ur current screen means .

use /N.

To logg off

use /NEX.

Hope it will helps..

Regards

Bala..

Read only

0 Likes
1,179

question is answered (s.a.)