updated SAP spooler code