Showing results for 
Search instead for 
Did you mean: 

Includes for Javascript in Web Templates

Former Member
0 Kudos


I would like to insert an include in all web templates

for some special javascript functions (printing, buttons, etc.). I am not sure about the syntax for the include, and I am not sure how to store the include on the server. I have tried to use SE80, and store the include in the MIME Repository. My include command looks like this: <!-- include virtual="/sap/bw/Mime/Customer/includes/standard.htm"-->

Does anyone know how to do this ?


Svend Baumgartner + Richard Kahn

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Store the javascript file in the mime repository (SE80). I normally use the /sap/bw/Mime/Customer/JavaScript path.

Try this syntax:

<script src="/sap/bw/Mime/Customer/JavaScript/standard.js" type="text/javascript"></script>