<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SMARTFORMS HTML - Inline CSS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583794#M1938949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 16:21:51 GMT</pubDate>
    <dc:creator>Lakshmipathi</dc:creator>
    <dc:date>2016-03-15T16:21:51Z</dc:date>
    <item>
      <title>SMARTFORMS HTML - Inline CSS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583793#M1938948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; There is a known issue with opening HTML SmartForm with CSS &amp;lt;HEAD&amp;gt;&amp;lt;STYLE&amp;gt; block definition in the e-Mail clients, like Outlook.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The solution to the problem is to use inline CSS definition in HTML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SAP gives a SmartForm generation option to set XSF parameter FORMAT-LOCATION to the following values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'STANDALONE',&lt;/LI&gt;&lt;LI&gt;'EMBEDDED' (default),&lt;/LI&gt;&lt;LI&gt;'LINKED',&lt;/LI&gt;&lt;LI&gt;'INLINE',&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have set the parameter to INLINE; however it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The only change are empty style="" attributes in HTML tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does anyone know if there is any way to make it working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583793#M1938948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-15T15:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS HTML - Inline CSS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583794#M1938949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583794#M1938949</guid>
      <dc:creator>Lakshmipathi</dc:creator>
      <dc:date>2016-03-15T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS HTML - Inline CSS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583795#M1938950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Here is the solution...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"&gt;There is an error in SAP, particulary in SF_XSLT transformation. (Package SMART)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&amp;lt;xsl:when test=&lt;/SPAN&gt;"($p_fmt_location = $cxsf_css_loc_inline)"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name=&lt;/SPAN&gt;'style'&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&amp;gt;&amp;lt;xsl:value-of select=&lt;/SPAN&gt;'@&lt;STRONG&gt;xhtml:style&lt;/STRONG&gt;' &lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;In the formula above there the style definition is referenced by the &lt;STRONG&gt;namespace xhtml&lt;/STRONG&gt;: &lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;select=&lt;/SPAN&gt;'@xhtml:style' .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: #000000; font-size: 10pt;"&gt; The problem is that there is no such namespace declaration in the header.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;By adding the two lines:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; background: white none repeat scroll 0% 0%; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&amp;lt;xsl:stylesheet version=&lt;/SPAN&gt;"1.0"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; xmlns:xsl=&lt;/SPAN&gt;"&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform" target="test_blank"&gt;http://www.w3.org/1999/XSL/Transform&lt;/A&gt;&lt;/SPAN&gt;"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; xmlns:xml=&lt;/SPAN&gt;"&lt;A href="http://www.w3.org/TR/REC-xml"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.w3.org/TR/REC-xml" target="test_blank"&gt;http://www.w3.org/TR/REC-xml&lt;/A&gt;"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; xmlns:xsf=&lt;/SPAN&gt;"urn:sap-com:SmartForms:2000:xsf"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; xmlns=&lt;/SPAN&gt;"&lt;A href="http://www.w3.org/1999/xhtml"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.w3.org/1999/xhtml" target="test_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; xmlns:xfa=&lt;/SPAN&gt;"&lt;A href="http://www.xfa.org/schema/xfa-template/2.1/"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.xfa.org/schema/xfa-template/2.1/" target="test_blank"&gt;http://www.xfa.org/schema/xfa-template/2.1/&lt;/A&gt;"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;xmlns:xhtml=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="l1s331"&gt;&lt;STRONG style="font-size: 12pt;"&gt;"&lt;A href="http://www.w3.org/1999/xhtml"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://www.w3.org/1999/xhtml" target="test_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; exclude-result-prefixes=&lt;/SPAN&gt;"xsf"&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;exclude-result-prefixes=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="l1s331"&gt;&lt;STRONG style="font-size: 12pt;"&gt;"xhtml"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; …the problem is solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 10:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-html-inline-css/m-p/11583795#M1938950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-23T10:58:31Z</dc:date>
    </item>
  </channel>
</rss>

