on 01-03-2014 6:15 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lee,
Yes cancelling the bacth job not a good idea.
BR
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.