cancel
Showing results for 
Search instead for 
Did you mean: 

BSP - ADD Meta Tag for IE10 Compatibility

former_member710820
Discoverer
0 Kudos

Hello,

we are trying to add a meta tag to the head section of our BSP pages in order to enable the compatibility mode in IE 10/11.

We have tried adding the meta tag by using the htmlb:documenthead element, as it was suggested in another post (http://scn.sap.com/thread/630666).

This is one of our BSPs:

<htmlb:content design="design2003" >
   <htmlb:document>
     <htmlb:documentHead>
       <meta name="prova" http-equiv="X-UA-Compatible" content="IE=5" />
     </htmlb:documentHead>
     <htmlb:documentBody>
       <htmlb:form>
         .....
       </htmlb:form>
     </htmlb:documentBody>
   </htmlb:document>
</htmlb:content>


<htmlb:content design="design2003" >
   <htmlb:document>
     <htmlb:documentHead>
       <meta name="prova" http-equiv="X-UA-Compatible" content="IE=5" />
     </htmlb:documentHead>
     <htmlb:documentBody>
       <htmlb:form>
         .....
       </htmlb:form>
     </htmlb:documentBody>
   </htmlb:document>
</htmlb:content>

Unfortunately, we aren't able to find the META tag by looking at the HTML source code of the rendered BSP page.

Does someone have any idea on how to make it work?

Thanks,

Simone

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Roberto,

Please note, that Design2003 supports IE8 and lower releases only. IE9 and higher IE versions have different rendering engine, and supported by Design2008 only.

Best regards,

Adrian


primax
Explorer
0 Kudos

Hi,

we're using the META Tag in our BSP Views like this:

<htmlb:content design       = "DESIGN2003" >

   <htmlb:document>

<htmlb:documentHead title="Title" >
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

And it's working fine, i think the problem is the "name = prova".

Johannes

former_member710820
Discoverer
0 Kudos

Hi Johannes,

thanks for you information.

We removed the "name = prova", but the result is the same, we don't have the compatibility.

Next the source code of our page.

Thanks,

Roberto

<HTML><HEAD>

<TITLE>BW Web Application</TITLE>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

<!-- BW data source object tags -->

<object>

         <param name="OWNER" value="SAP_BW"/>

         <param name="CMD" value="SET_PROPERTIES"/>

         <param name="TEMPLATE_ID" value="ZOOSSLL_WRAPPER_ANNUALE"/>

         TEMPLATE PROPERTIES

</object>

<LINK rel=stylesheet type=text/css href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css">

<LINK rel=stylesheet type=text/css href="/sap/bw/Mime/Customer/StyleSheets/oossll/accord_menu_annuale.css">

<SCRIPT type=text/javascript src="/sap/bw/Mime/Customer/JavaScript/jquery-1.5.1.min.js"></SCRIPT>

<SCRIPT type=text/javascript  src="/sap/bw/Mime/Customer/JavaScript/custom_common_1.6.js"></SCRIPT>

<SCRIPT type=text/javascript src="/sap/bw/Mime/Customer/JavaScript/oossll/ddaccordion.js"></SCRIPT>

<SCRIPT type=text/javascript src="/sap/bw/Mime/Customer/JavaScript/oossll/frame_param.js"></SCRIPT>

<SCRIPT type=text/javascript src="/sap/bw/Mime/Customer/JavaScript/oossll/embed_menu.js"></SCRIPT>

                <!-- stylesheets -->

                <link rel="stylesheet" href="/sap/bw/Mime/Customer/StyleSheets/oossll/style.css" type="text/css" media="screen" />

                <link rel="stylesheet" href="/sap/bw/Mime/Customer/StyleSheets/oossll/slide.css" type="text/css" media="screen" />            

                <!-- Sliding effect -->

                <script  type="text/javascript" src="/sap/bw/Mime/Customer/JavaScript/oossll/supersleight-min.js"></script>

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

</HEAD>

<BODY style="BACKGROUND-COLOR: #ffffff">

                ...

                ...

                ...

</BODY>

</HTML>

primax
Explorer
0 Kudos

Hi Roberto,

it's essential to add the META tag in the main BSP view, maybe you have included this

view in another?

Otherwise you can check the document mode by press "F12" in the IE and switch to "console". Or clear the browser cache first.

How do you check it, that you site is not rendered in compatiblity mode?

Johannes