Inbound reports can exist in the SAP system in many different formats. As standard, the .PDF format is supported for inbound reports in the SAP component
Environment, Health and Safety
(EH&S). You can also send inbound reports in any other format.
Shipping Inbound Reports
In order that the inbound report can be printed and shipped via a printer with SAP spool capability (for example, default printer), you must set up a local port on the generation server. To do this, install a logical (not physical) printer locally. This local printer converts the format of the inbound report into PS or PCL format. The converted file is then reloaded into the SAP system and output on a printer with SAP spool capability.
If you want to display inbound reports in
report management
or the
report information system
, an application must be configured on your front end that can display the format of the inbound report. In order to print out the inbound reports, the printer must be capable of printing the application format.
You have imported inbound documents in the corresponding format.
For the printer with SAP spool capability, you have edited the following IMG activities in Customizing for
Product Safety
:
Check Output Device Type and Set Up SAP Spool
Assign Default Printer
You must execute the following steps 1. through 3. for shipping inbound reports, regardless of which format the inbound reports have.
Install a local printer on the generation server with the following data:
Name: for example,Convert
Printer driver:Postscript
Port: Create a new port, where the name of the port corresponds to a path and file name, for example,C:\temp\target.ps
Path and name must fulfill DOS conventions.
The printer must not be the default printer.
For the sample data above, enter the following in the WWI.INI file:
[CONVERT]
command=printto
target=C:\temp\target.ps
printer=Convert
Install on the generation server an application that can display and print the format of the inbound report. (For *.PDF files, install the Acrobat Reader.)
The application must be capable of converting the extension format XYZ of your inbound report to the formats PCL or PostScript using printer drivers.
You can now already ship inbound reports in PDF format, since these are supported as standard.
You also need to execute the following steps in addition to the above if you use reports in formats other than PDF.
Open the registry editor under Microsoft Windows using the REGEDIT command and check that:
The file extension XYZ is assigned to your application in the HKEY_CLASSES_ROOT directory
The application supports the shell command PRINTTO and is defined in the registry
If Windows NT is installed on the generation server and the new format XYZ is the format TIF, the generally available application
Wang Imaging
that converts TIF to PostScript can be used. You then only need to configure the printer.
In the SAP system in the SAP menu, choose
Tools
→
ABAP
Workbench
→
Development
→
ABAP Dictionary
, choose
Domain
, and enter ESDWWIAPPL.
Choose
Change
.
Choose the
Value range
tab page and in the
Fix.val.
column, enter the file extensionXYZ, assign a short text, and save your entries.
In Customizing for
Product Safety
, open the IMG activity
Specify Communication
.
Copy each entry with the source document format PDF and for the copied entries, replace the value PDF with the value of your file extension.