cancel
Showing results for 
Search instead for 
Did you mean: 

EHS: Configuration WWI.INI for PDF Export (1535067 )

0 Kudos
1,166

Hi,

long discussed topic, but other threads don't help me. The PDF export doesn't work so far. So could you help my by taking a look to my wwi.ini? Based on sap note 1535067 the following steps has been done:

  • Copy the function module CVE9_RDO_DOKX_EXPORT and adjust it accordingly.
    Replace IC_WWI_SUPP_APPL-PS with IC_WWI_SUPP_APPL-PDF. -> done
  • Alternatively,you can use an external command line-enabled PDF converter -> PDFCreator installed

I adjusted my WWI.ini in the following way:

[Convert]
; entries for conversion into PostScript
;command=print
;target=c:\temp\target.ps
;printer=Convert
;command=
;target=
;printer=
PDF=ConvertPDF

[ConvertPDF]
;entries for conversion to PDF
command=Print
;target=
;you may use %source% and %target% as placeholders
printer=PDFCreator
CmdExit="C:\Program Files\PDFCreator\PDFCreator.exe" /OutputFile="***\usr\sap\albo\d10\sdb_exporte\"

[Printers]
;PS=
;PCL=
PDF=PDFCreator

[PrintUserExits]
; Format=addin(.dot);macro(.main)
PDF=wwi.dot;wwiWordToPDF.Main

The target directory for the export has been defined via transaction FILE and is the following:

\\***\usr\sap\albo\d10\sdb_exporte\

So what is wrong so far?

View Entire Topic
christoph_bergemann
Active Contributor
0 Kudos

Hello

1.) what exactly is going wrong ? (in which step pof the over all process you have a problem)?

2.) what business / IT process you are using? Do you start in CG54 with an "EXP_CALL"?

Check: https://wiki.scn.sap.com/wiki/display/PLM/General+Information+about+EHS+WWI+Reports

But i assume it will not really help in your situation.

Your topic is quite old (as mentioned by your self)

Examples of discussion are:

https://answers.sap.com/questions/8326504/sap-note-1535067---ehs-wwi-generating-pdf-files.html

https://answers.sap.com/questions/13197843/pdf-generation-sds.html

https://answers.sap.com/questions/9985290/wwi-convert-ehs-reports-from-rtf-to-pdf-when-displ.html

C.B.

PS: only as an add on: https://blogs.sap.com/2016/04/10/ehs-classic-report-distribution/

0 Kudos

Hi Christoph,

thanks for you answer. The problem is solved and the generation works. But I have one last problem. Via CG54 I want to print a msds (Report -> Print).

By switching to CVD1, I'm facing the following error:

Document Format is not supported.

What is missing?

Dustin

0 Kudos

christoph.bergemann I forgot to mention you here

christoph_bergemann
Active Contributor
0 Kudos

Hello

the "PRINT" option is used not very often. Most of the end user do use the "Report Distribution" (which you can as well start in CG54).

I would assume same customizing is missing to support the "print" part. For "SBR" and "IBD" documents: you must check what is missing. By using an "ABAPer" you ca try to figure out: in which "routine" you get the message and then go back.

I am sorry: i can not remember that the "PRINT" part is discussed here often (and i believe it is not part of the "consulting OSS note" for "Report Distribution"

So: sorry: no quick help possible. I use the "PRINT" option may be once in 10 years... (so vary rarely).

C.B.