Skip to Content
author's profile photo Former Member
Former Member

Are active batch jobs buffered?

lets assume there is a batch job that updates sap table.

if the user cancels an active batch job , does the system roll back all the updates?

what if half of active job ran before we stopped it , therefore half of the document or table were created on the system..

Is cancelling a batch job never a good idea?

thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 09:27 AM

    Cancelling a Job is a good Idea, unless it is creating a mesh i.e. Using very huge resources in system which is resulting in system performance.

    But definitely when a job is cancelled manually or automatically it should roll back changes that are done partially , becoz if not inconstancy in data.

    But all ways roll backing concept is dependent on scenario ,

    1.example : if a batch job is doing 100 invoices , & it done 60 invoices successfully & got cancelled then jobs is failed to create next 40 invoices only & already 60 is done , so it will not roll back 60 invoice.

    2. If a batch job is creating a sales order in which it should pick 100 item in one sales order , in any middle it is failed, then already picked items are rolled back , because it is a single transaction.

    Thanks,

    Praveen

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 03, 2014 at 06:41 AM

    Hi Juan,

    SAP keep the updated entries in the buffer until it performs a commit to database.

    If the entries are committed to the database before u cancel the job, you shall be able to view those entries in the SAP table.

    Hope this helps.

    Regards,

    Deepak Kori

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 03, 2014 at 07:38 AM

    Hi lee,

    Yes cancelling the bacth job not a good idea.

    BR

    Atul

    Add a comment
    10|10000 characters needed characters exceeded

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.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.