Siebel Connector for SAP R/3 > Customizing Integrations > Testing the Interface >
You can use the system created log files to further assist you in your debugging. You can also write some identifying strings or variable values to a file yourself using the file manipulation capabilities in eScript. For example:
var fp = Clib.fopen("SAPIntAcc.log", "w");
Clib.fputs("Integration Id: " + IntId,fp);
//Add more fputs() lines according to your needs.
For more information on system log files, read Configuring Siebel eBusiness Applications. For more information on the Clib object, read Siebel Tools Online Help.