Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Program takes long time to create batch

Former Member
0 Kudos

Hi,

I am uploading batch using a custom program which uses BAPI_BATCH_SAVE_REPLICA.The program takes 4 hrs for uploading 100000 records.

But when I am using a file with 400000 records. It creates the second batch after 8 hrs from the starting of the batch job. The job takes

more than 50 hrs to complete.

Any suggestion?

Regards,

Tan

1 REPLY 1

Former Member
0 Kudos

We had a simular problem loading materials where it would have taken over 23 hours to lad over 500,000 material masters. It may be that Logged changes are switched on to the table that you are loading the data into and that te,porairy you need to get this switched off or copy and amend the bapi that you are using so that it doesn't update the log.

The other thing that you can do is to split your data file into smaller batches and load it that way.