cancel
Showing results for 
Search instead for 
Did you mean: 

WORD Error message --> Report from Template

Former Member
0 Kudos

Hello everyone,

I try to generate a "Report from Template" with transaction CG03.

I can select the generation variant and the parameter values in the next two pop-ups.

WORD is starting but then there is the error message:

"Word cannot read this document. Maybe it is corrupted. Try the following:

- open and repair the file

- open file with repair-textconverter".

This message is a translation from german to english so the correct messagt might differ from this.

When I look at my frontend PC in the local settings I see that the respective files are written, but I can´t open them.

This problem started two days ago out of nowwhere.

Additional information: Visual Basic pops up after the error message is closed with "runtime error '1055'.

A debugger is opened and this is the content of the window:

Private Sub TmpDDE()

Dim Template

WordBasic.FileOpen "C:DOKUME1chgiLOKALE1TempRehsfil0.WWI"

WordBasic.FileTemplates Template:="C:ProgrammeSAPFrontEndsapguiwwiwwi.dot"

WordBasic.Call "wwiES.S", "S", ""

End Sub

Any ideas?

Thank you in advance for your help!!!!

Best regards,

Christoph

Edited by: Christoph Giehl on Nov 25, 2010 1:04 PM

Accepted Solutions (1)

Accepted Solutions (1)

christoph_bergemann
Active Contributor
0 Kudos

Hello Christoph

any change happened on your client? New Windows version? New Word Version? New WWI Version installed? Did you manupulated Standad Dot path etc.? Did you change Standard.dot of Word?

Can you open in cg54/cg50 any document (ready, released or historic) without a problem and the problem is related only to "report from template"?

During WWI process a number of files are passed on to your client. Can you use Wordpad to open the files? I am not sure but I believe per WWI document there should be something like 4 or 5 documents in your local WWI path. One containing the data, one containing the template and some others (named something like resfil, lesfil etc.).

An error like you described is normally related to one of the above mentioned changes. Can you use "Report from template "regarding the same spec, same genvariant same language with a different client without a problem => then it is clear you have a local problem

With best regards

C.B.

Answers (2)

Answers (2)

nirajsikligar
Active Contributor
0 Kudos

Hello Christoph,

Please see SAP note: 1058521 - Error messages that occur during report generation.

This note is having details about the possible errors for WWI and reprot generation.

Please see the error which you are getting is there in the note.

Regards,

Niraj

Former Member
0 Kudos

Good morning,

just to update this issue: the problem was a discrete repeating group around an identifier with long text character.

Hard to find, but even more satisfying once it is done.

Best regards,

Christoph

Former Member
0 Kudos

Chris,

what do u mean a long text?

I am having a same error.

we have many different language that this report is generated from.

It works for all languages, except for German..

i am receivng the following error

I000 C:\Users\dxsharma\AppData\Local\Temp\lehsfil0.WWI

I000 02.05.2012

I000 21:50:55

I000   Resolve-DLL    : 3.2 / 2.7B SP24; 2005,110,122,371; C:\Program Files (x86)\SAP\FrontEnd\sapgui\wwi\WWIRES32.dll; 26.11.2010 10:44

I000   Configuration  : C:\Program Files (x86)\SAP\FrontEnd\sapgui\wwi\WWI.INI

I000   Configuration  : C:\Program Files (x86)\SAP\FrontEnd\sapgui\wwi\WWI.INI

E999 General error occurred (Too many '{') Current Symbol is: '02EHS_SNSDB'

I000 21:50

thanks