cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Table of Contents to WWI Report

Former Member
0 Likes
259

Hi Folks,

I am trying to add a table of contents to a WWI report. What I have done is added a bunch of phrases as headings in the report (formated to 'heading 1' MS Word style). I have inserted a table of contents using standard Word functionality. When I do a test of the report from CG42, the table of contents shows up, however, when creating the report (via CG02) and accessing from CG50 the table of contents is not updated. Does anybody have any ideas on how this can be accomplished? I am on Ehp5.

Thanks,

Lashan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Lashan

I have done the testing of the scenario you have mentioned in my system and it is working fine.

Let me convey you the proecss steps I have followed and result at my end

Steps

1) I have entered one Phrase and marked that phrase at 'Heading 1'

2) Moved down this phrase to Page 3... in order to check whether Table of Conent is showing correct Page number

3) Inserted the Table of Content.

4) Preview in CG42 is fine

5) Relased the Template

6) Created the Report from CG02BD for the same template

Result

1) In CG50, I am able to see the current report in Released State

2) Upon opeing the report, I am able to see the Table of cotent with correct page no i.e. 3

3) using "Cntrl" + "Click"... when i clicked on the table of content, it is taking me to direct Page 3

Thus it is working fine.

Can you please let me know what problem you are facing at your end.

Regards

Amol

Former Member
0 Likes

Hi Amol,

Thanks for the response and trying to replicate my issue. The steps I am following are the same. The only difference was that the generation variant I had was creating the report in CO status. I changed this to create report in RE status, but still having the same problem. The message I am getting in the word doc is "no table of contents entries found". The funny thing is the report preview is working fine, but not the actual report that is created. Between doing the report preview and releasing the template, I have made no changes.

I am also looking along the lines of Word not updating MS Word fields in documents upon open, where some have suggested inserting a macro which updates all fields. I did save the file (report created in CG50) to my desktop, and unprotected it. From here it worked when right clicked on TOC and said "update field", which is what lead me to believe it is probably more an MS Word 2010 behavior and not SAP. Any thoughts on this?

Thanks,

Lashan

Answers (0)