Register Login

SAPLPD was not able to write the print data into the work directory because the user has no authorization.

Updated May 18, 2018

Problem

You cannot print via SAPLPD because it cannot write into the work directory.
Error message:
Error: cannot open output file: errno=13
       (Permission denied)


Solution


During the print output via the SAPLPD, the system transfers data to the PC and temporarily stores it in the work directory of the SAPLPD. In this case, the SAPLPD was not able to write the print data into the work directory because the user has no write authorization for this directory.


You should check which directory concerns.

If the SAPLPD is started automatically (F access method), then it uses the current directory of the SAP GUI. For more information, see note 519852.

If the SAPLPD was manually started in the start menu or on the desktop using a shortcut, then the settings defined for the link are valid. If the SAPLPD is started directly, then the directory where the SAPLPD was started is used.

If the SAPLPD is running as a service, refer to note 42268.

You can either provide the directory with write authorization or you can change the work directory of the respective link to a directory that can be written to.

Troubleshooting:
If the Sapwork directory has write permission but not read permission, the following error appears in the SAPLPD.log:
Error when opening the file <file name>
Error: BG: printfile failed,
Message = 808 SAPLPD: Windows problem, see SAPLPD log

If there is no write permission, the current directory is automatically changed to C:WINNTtemp.
If there is no write permission here either, the following error message appears:
cannot open output file errno=13 permission denied


×