‎2007 Nov 14 2:25 PM
hi all,
do you know the command or a fm to end the <u>current</u> session?
thank you and regards
Andreas
‎2007 Nov 14 2:28 PM
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
‎2007 Nov 14 2:42 PM
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
‎2007 Nov 14 2:54 PM
Have you looked at the FM: BDC_DELETE_SESSION.
I haven't used it.
Regards,
Naimesh Patel
‎2007 Nov 14 3:00 PM
sorry,
but BDC_DELETE_SESSION is to delete all BDC-sessions from apqi
regards Andreas
‎2007 Nov 14 3:12 PM
Ohh..
Look at this program:
RSBDCTL6
Use SUBMIT RSBDCTL6 with the selection criteria.
Regards,
Naimesh Patel
‎2007 Nov 14 3:14 PM
Hi Andreas,
Don't think there is any FM. You may need to use system commands only.
Regards,
Atish
‎2007 Nov 15 7:01 AM
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
parametersA.
‎2007 Nov 15 7:04 AM
hI
<b>Processing Options</b>
/bdel - Delete Transaction
/n - Next Transaction
/bda - Process/Foreground
/bde - Display errors only
/bend - Cancel
‎2007 Nov 15 7:18 AM
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..
‎2007 Nov 15 7:41 AM