Skip to Content

Number ranges and parallel processing

Hi all,

When executing multiple parallel jobs (same program) it happens often that the internal key assignment of table BALDAT (application log) is called by two jobs at the same time. The result is that one job short dumps with error SAPSQL_ARRAY_INSERT_DUPREC BALDAT. That is, a record with the same key has already been saved with the other job.

One way to resolve the problem would be to assign a different number range of the internal key (trans SLGN) to each job. But how to make the job understand this?

The application is IS-U BAPI_MTRREADDOC_UPLOAD but as I've understood it, this could happen to any parallel processing.

Has anyone experienced this?

Thankful for any ideas

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 23, 2004 at 06:04 PM

    I had a (selfcreated) aplication log while transferring the data from sd- into copa (user-exit valuation) and experienced the same problem. (I wanted to have only one log for each day and the first poster ran into that problem (while creating the log). If I remember right, I found an oss note indicating that BAL Log has some weak points when it comes to parallel posting. I think, I could have solved it by using another handle for each call but decided to switch it off.


    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.