Skip to Content
0
Jul 01, 2016 at 01:42 PM

OPEN DATASET reading file from network causing 6 minute delay

146 Views

We have a function module that is called 3,000+ times a day. It usually take 3-5 seconds but sporadically about a dozen times a day it takes 6 minutes and it's always 6 minutes. We have narrowed down the offending logic to

OPEN DATASET p_pathfile FOR INPUT IN BINARY MODE.

READ DATASET p_pathfile INTO gt_bitmap-orblk LENGTH g_len.

CLOSE DATASET p_pathfile.

p_pathfile is a BMP file located on our network. The size of the file is always the same. The 6 minute delay is never the same time of day or during any common processing.

Anybody have any ideas???

We are stumped...