Stopping A Batch Input Session - SAP Community

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

06/07/2022 20:27 Stopping a batch Input session | SAP Community

Community Topics Groups Answers Blogs Events Programs Resources What's New Explore SAP

Ask a Question Write a Blog Post Login

Search Questions and Answers

Former Member
04/04/07 à 06:32

Stopping a batch Input session


0 11108 Views

Follow RSS Feed

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.

Add a Comment | Alert Moderator

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

Sort Votes | Créé | Oldest

Former Member
Apr 04, 2007 at 06:34 AM

Hi,
1
In the command box, use this <b>/BEND</b>

this will stop the Session

Regards

Sudheer

Add a Comment | Alert Moderator | Share

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.

Hope this helps.

Best Regards, Murugesh AS

Add a Comment | Alert Moderator | Share

 1 comment

Former Member Apr 04, 2007 at 09:31 AM

Bingo!! Thanks for your answer.


Like 0 | Share | Alert Moderator

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.

Add a Comment | Alert Moderator | Share

Former Member
Apr 04, 2007 at 06:40 AM

Hi..,
0
In the BDC_OKCODE,

give <b>/n</b> to stop that particular transaction...

give <b>/bend</b> to quit the entire Session....

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

Message was edited by:

Sai ramesh

Add a Comment | Alert Moderator | Share

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.

if it is call transaction use /N okcode in the command field .

regards,

Add a Comment | Alert Moderator | Share

 2 comments

Former Member Apr 04, 2007 at 08:10 AM

Hi..,

Go to the Transaction SM35.

Go to the TAB <b><u>In Background</u></b> ...

U can find your session here...

select your Session ... and Press (Shift+F2) ..

this session will be deleted...

reward if it helps u...

sai ramesh

Like 0 | Share | Alert Moderator

Add a Comment Show all 

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 

Know someone who can answer? Share a link to this question.

You must be Logged in to submit an answer.

Please provide a distinct answer and use the comment option for clarifying purposes.

10 characters required.

Submit your Answer

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

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Préférences de cookies

Newsletter Support

https://answers.sap.com/questions/2198492/stopping-a-batch-input-session.html 4/4

You might also like