Symptom
The log files on Windows machines for some SAP Business One components and services are changed from the user folder in the ProgramData folder to the user profile folder.
Reproducing the issue
The log files on Windows machines for the following SAP Business One components and services are changed from the user folder in the ProgramData folder to the user profile folder:
- SAP Business One Client
- User Interface API (UI API)
- Data Interface API (DI API)
- Data Transfer Workbench (DTW)
- Add-on Framework (Microsoft Outlook Integration, Payment Engine, Elster)
- DATEV
- User-Defined Object (UDO)
- Stock Tool
- Migration Wizard
In addition, the SAP Business One help document is also moved from the ProgramData folder to the user profile folder.
Cause
Behavior Change
Solution
System behavior prior to SAP Business One 10.0 SP 2311:
- SAP Business One Client:
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\BusinessOne\
- User Interface API (UI API):
Use the Windows event logger
- Data Interface API (DI API):
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\BusinessOne\
- Data Transfer Workbench (DTW):
C:\ProgramData\SAP\SAP Business One\Log\Data Transfer Workbench\<User>\
- Add-on Framework (Microsoft Outlook Integration, Payment Engine, Elster):
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\Addon\
- DATEV:
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\Addon\
- User-Defined Object (UDO):
C:\ProgramData\SAP\SAP Business One\Log\SAP Business One%USER_NAME%\UDO\
- Stock Tool:
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\BusinessOne\
- Migration Wizard:
%programdata%\sap\SAP Business One\Log\SAP Business One\<User>\MigrationWizard\
System behavior after upgrade to SAP Business One 10.0 SP 2311:
- SAP Business One Client:
%LOCALAPPDATA%\SAP\SAP Business One\Log\BusinessOne
- User Interface API (UI API):
%USERPROFILE%\AppData\Local\SAP\SAP Business One\Log\UIAPI\
- Data Interface API (DI API):
%LOCALAPPDATA%\SAP\SAP Business One\Log\DIAPI\
- Data Transfer Workbench (DTW):
%USERPROFILE%\AppData\Local\SAP\SAP Business One\Log\Data Transfer Workbench\DTW.b1logger.xxx_xxx.pidxxx.log
- Add-on Framework (Microsoft Outlook Integration, Payment Engine, Elster):
%USERPROFILE%\AppData\Local\SAP\SAP Business One\Log\Addon\
- DATEV:
%USERPROFILE%\AppData\Local\SAP\SAP Business One\Log\Addon\Datev\
- User-Defined Object (UDO):
%USERPROFILE%\AppData\Local\SAP\SAP Business One\Log\UDO\
- Stock Tool:
%LOCALAPPDATA%\SAP\SAP Business One\Log\BusinessOne
- Migration Wizard:
%LOCALAPPDATA%\SAP\SAP Business One\Log\MigrationWizard