Professional Documents
Culture Documents
Stopping A Batch Input Session - SAP Community
Stopping A Batch Input Session - SAP Community
Stopping A Batch Input Session - SAP Community
Community Topics Groups Answers Blogs Events Programs Resources What's New Explore SAP
Former Member
04/04/07 à 06:32
Hi,
I need to stop a job which is being processed. Please tel me how do i acheive this.
I've tried SM37 & went for release but it says 'cannot be done because of the stattus it has'
I've also tried to stop the batch using the push button in Appl tool bar in SM37 but still i have the same message.
Assigned Tags
ABAP Connectivity
Similar Questions
problem in running batch input session
Former Member Sep 26, 2007
LSMW for FS02 - Session created but no session when Run Batch Input session
Former Member Feb 21, 2012
5 Answers
Former Member
Apr 04, 2007 at 06:34 AM
Hi,
1
In the command box, use this <b>/BEND</b>
Regards
Sudheer
https://answers.sap.com/questions/2198492/stopping-a-batch-input-session.html 1/4
06/07/2022 20:27 Stopping a batch Input session | SAP Community
Murugesh Arcot
Apr 04, 2007 at 09:12 AM
Hello,
1
Go to SM51 and identify the BTC process linked with your session and cancel / stop / kill this btc process.
Then after this process is stopped, start the SM35 then select the session, choose 'Session -> unlock' and then 'Session ->Release'. then the session
returns to 'New' status.
1 comment
Former Member
Apr 04, 2007 at 06:39 AM
Hi ,
0
Your subject for the issue is confusing . It talks about stopping a Batch input session while in the issue details you are asking about stopping a job in
process.
You can stop and skip a Batch input session by using /bend .
You can cancel or stop a job which is already in process in SM37 . Check your basis person if he can stop a background session using any other basis
transaction.
Former Member
Apr 04, 2007 at 06:40 AM
Hi..,
0
In the BDC_OKCODE,
You can interrupt the interactive execution of a session by entering the<b> /bend</b> OK code on any screen. <b>/bend </b>terminates the transaction
currently being executed in the session and marks the transaction with the status Incorrect. The session is kept in the queue and is displayed in the Errors
section of the list. Changes made by the interrupted transaction are rolled back as long as the transaction uses only the R/3 update facility. Direct
database changes made by the transaction are not rolled back.
You can use <b>/bend</b> when testing sessions. For example, you may wish to run the first transactions of a large session in display-all mode to make
sure that the session has been generated correctly.
You can restart processing of a transaction by entering the <b>/bbeg</b> OK code on any screen. <b>/bbeg </b>terminates the transaction that is
currently being processed and then restarts the transaction fresh, as it is recorded in the batch input session. Any changes made by the transaction are
rolled back, as long as they were made only by way of the R/3 update facility. Changes made directly to the database are not rolled back.
You can delete a transaction from a session during interactive execution by entering the <b>/bdel</b> OK code. The transaction is removed from the
session. The deleted transaction cannot be run even if you restart the session, and you cannot take back the deletion.
regards,
sai ramesh
Sai ramesh
https://answers.sap.com/questions/2198492/stopping-a-batch-input-session.html 2/4
06/07/2022 20:27 Stopping a batch Input session | SAP Community
shishupalreddy ramreddy
Apr 04, 2007 at 06:44 AM
Hi ,
0
Just provide /BEND okcode in the command field .the session will not be processed further.
regards,
2 comments
Hi..,
sai ramesh
Before answering
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more
information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions,
context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Rules of Engagement
Please provide a distinct answer and use the comment option for clarifying purposes.
10 characters required.
Find us on
https://answers.sap.com/questions/2198492/stopping-a-batch-input-session.html 3/4
06/07/2022 20:27 Stopping a batch Input session | SAP Community
Newsletter Support
https://answers.sap.com/questions/2198492/stopping-a-batch-input-session.html 4/4