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

WWI - Include functionality

Former Member
0 Likes
584

Hi,

I see in WWI the INCLUDE functionality with which in a template we can call another template.

When I put this fonctionality in my template (in CG42) and I check and relaesed it, all it's OK. (for information my other template is also in released status).

But when I do a "report from template" in CG02, my variant call well my first template but the functionality INCLUDE inside don't work.

Have you an idea ???

PS 1 : I work in WWI system since 1 year and I begin do know a lot of things

PS 2 : The SAP Note 820516 is correctly implemented (Note is nessessary for the Include Functionality)

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

nirajsikligar
Active Contributor
0 Likes

Hello Martinez,

I hope you would have gone through all the topics related to Include of MSDS. But still listing out some of the check points for your reference if you have missed out anything:

- Do notuse included templates within repeating groups because this has a negative impact on performance.

-If you change a template or cancel the release, this can also affect the templates in which the template has been included. To inform you that the affected templates need to be checked again, the system makes the following status changes:

If you edit a template, all templates with the status In Workin which the edited template is included directly or indirectly are given the status For Checking.

If you cancel the release of a template, all templates with the status In Workor Releasedin which the no longer released template is included directly or indirectly are given the status For Checking.

-When the system expands an included template during report generation, it uses the Microsoft Word function for inserting files. The possibilities and constraints for this function therefore also apply to the inclusion of document templates. This means:

If the template into which the template is included has a header and footer, the system does not transfer the header and footer from the included template. If the template into which the template is included does not have a header and footer, the system transfers the header and footer from the included template.

-In Microsoft Word, documents cannot be inserted in other documents in certain cases. For example, a document that contains a text box or other drawing objects cannot be inserted in text boxes, legends, comments, footnotes, and endnotes. In these cases, including document templates is also not possible and errors occur during report generation.

Regards,

Niraj

Answers (3)

Answers (3)

Former Member
0 Likes

Ok I find the solution, there's a problem with the INCLUDE fonctionality :

When you want to do a preview of a document in CG02, this fonctionality doesn't work but when you create the report (always via the CG02), here the functionality work !

I don't know why but I'm going to send a mail to technidata and SAP !

Thanks a lot for your helkp

Former Member
0 Likes

Hi,

Thanks for your answer...

I'm agree with you, if I do a preview in CG42, the INCLUDE functionality work very well...but when I do a "Report from template" in CG02 (with the same specification and the same variant)...it doesn't work....have you an idea ?

In your case the functionality work also in the CG02 ?

For your Information, yes I have implemented all the recomendation of the OSS Note.

Former Member
0 Likes

Hi,

Thanks for your answer but I just want to try to test the Include functionality : <20INCLUDE("name of my template","version of my template",SBV)> even if there's problem.

You can have this coding directly in CG42 with the menu bar : Edit --> Include template (Ctrl+10).

I send a mail to Technidata and they just said me to implement the OSS Note 820516.

Thanks.

nirajsikligar
Active Contributor
0 Likes

Hello Martinez,

I have checked the scenario in my IDES ECC 6.0 System.

I kept the MSDS-ANSI template in status In work and the opened the MSDS-EXAMPLE template also in In work status.In the same template, I added the MSDS-ANSI template by going into Edit manu and selecting Include Template. This added Symbol: INCLUDE("MSDS-ANSI",00,SBV) in to my template MSDS-EXAMPLE. And then when I previewed the report from CG41 tcode, it opened succesfully with included template.

Have you checked the customizing activities mentioend in the Note 820516?

Regards,

Niraj