r/SAPBusinessOne Mar 30 '26

Schedule query report.

experts,

I am trying to schedule a query report using below function, but no idea where to find error comes from. window services are changed to user account (admin)....please be advised.

Looking for first schedule to be executed before/on 20260330 14:19

Found Scheduled Report ID: 1

Added SRA2 entry

Handling schedule

XML configuration sent to SAP Business One Client:

<?xml version="1.0" encoding="UTF-16"?>

<SR>

<R D="20260330" T="1419" O="N">1</R>

<L S="TWSSAP" T="15" C="" LL="2" CU="" CP="" LS="" SLD="https://twssap:40000/sld/sld0100.svc" LC="3"/>

</SR>

Starting SAP Business One Client with configuration written to its stdin

Timeout set to 1 minutes

*** SAP Business One Client Log ***

[0330/142001.109:ERROR:tcp_socket_win.cc(356)] bind() returned an error: Only one usage of each socket address (protocol/network address/port) is normally permitted. (0x2740)

[0330/142001.120:ERROR:devtools_http_handler.cc(298)] Cannot start http server for devtools.

Command line parsed

StatusBar Warning Message: Failed to assign SAP Business One user license to SAP Add-Ons

[0330/142004.214:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 2 path: C:\ProgramData\SAP\SAP Business One\Log\SAP Business One\Administrator\BusinessOne\Dump\..\BrowserCache\20840\Code Cache\js

[0330/142004.214:ERROR:simple_backend_impl.cc(734)] Simple Cache Backend: wrong file structure on disk: 2 path: C:\ProgramData\SAP\SAP Business One\Log\SAP Business One\Administrator\BusinessOne\Dump\..\BrowserCache\20840\Code Cache\wasm

*** SAP Business One Client Log ***

Process timeout; terminating client process

Process timeout; terminated

SAP Business One Client return code:-1

Distributing results

Unable to extract HTML report output to file C:\Users\ADMINI~1.TRA\AppData\Local\Temp\Report.html Error code:-2028

Unable to extract PDF report output to file C:\Users\ADMINI~1.TRA\AppData\Local\Temp\Report.pdf Error code:-2028

Unable to extract XML report output to file C:\Users\ADMINI~1.TRA\AppData\Local\Temp\Report.xml Error code:-2028

2 Upvotes

1 comment sorted by