Question:
Hi all,
We have a problem that the sapbc crash when we try to send more than 100 invoic via ALE. There is one invoice with 2500 segments and when we exclude that one, then it works just fine.
Without the big one, the file which sapbc save is almost 5 MB and has almost 25,000 segments. However when we include the "big" one then it is over 5 MB and 25,000 segments. It cannot the free mem, cause we have 1,6 gb and when we process a file from 10 mb it is no problem....as long as we don't offer the file by ALE.
I cannot find anything in the log file or trace file...it looks like it doesn't get there..the sapbc server doesn't even get the chance to process the invoic....it looks like it want to save the invoic somewhere before trying to process, but the sapbc crash in some kind of pre-processing. In the transactions list there is an entry created, but there is only a transaction ID but no data...
Anyway, i hope i provide enough information....
Regards,
Erik
Answer:
BC server seems to choke at around 1500 segments... I had this problem with a previous client. You have to figure out a way to split the data somehow (either in SAP or in BC).
The solution I used was to write the data straight to a temp file, free the object that held the data, and then read the temp file in bit by bit. I used a custom Java service that read the file in one line at a time, emulating an SQL cursor :/
HTH
_________________
Rgds,
Derek
_________________
For formal [onsite | telephone | IM | email] support on SAP Business Connector and ITS, please contact me directly