<?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 Excel formatting with if_xml_element (zebra pattern) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-formatting-with-if-xml-element-zebra-pattern/m-p/12465645#M2000571</link>
    <description>&lt;P&gt;Hi Abappers,&lt;/P&gt;
  &lt;P&gt;I'm working on a program that converts data in a global table into an xls file and sends mail.&lt;/P&gt;
  &lt;P&gt;The current excel output is like this.&lt;/P&gt;
  &lt;P&gt;I used the "if_ixml_element" interface to generate this output.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1948882-2brd7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;But the output style I need to do should be like this, with zebra.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1948883-694q8.png" /&gt;&lt;/P&gt;
  &lt;P&gt;This is how I did the blue coloring in the first photo.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;  r_format  = l_document-&amp;gt;create_simple_element( name = 'Interior' parent = r_style1  ).

  r_format-&amp;gt;set_attribute_ns( name = 'Color'   prefix = 'ss'  value = '#ADD8E6' ).

  r_format-&amp;gt;set_attribute_ns( name = 'Pattern' prefix = 'ss'  value = 'Solid' ).
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I ask for your help,&lt;/P&gt;
  &lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 13:47:50 GMT</pubDate>
    <dc:creator>former_member699003</dc:creator>
    <dc:date>2021-06-30T13:47:50Z</dc:date>
    <item>
      <title>Excel formatting with if_xml_element (zebra pattern)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-formatting-with-if-xml-element-zebra-pattern/m-p/12465645#M2000571</link>
      <description>&lt;P&gt;Hi Abappers,&lt;/P&gt;
  &lt;P&gt;I'm working on a program that converts data in a global table into an xls file and sends mail.&lt;/P&gt;
  &lt;P&gt;The current excel output is like this.&lt;/P&gt;
  &lt;P&gt;I used the "if_ixml_element" interface to generate this output.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1948882-2brd7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;But the output style I need to do should be like this, with zebra.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1948883-694q8.png" /&gt;&lt;/P&gt;
  &lt;P&gt;This is how I did the blue coloring in the first photo.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;  r_format  = l_document-&amp;gt;create_simple_element( name = 'Interior' parent = r_style1  ).

  r_format-&amp;gt;set_attribute_ns( name = 'Color'   prefix = 'ss'  value = '#ADD8E6' ).

  r_format-&amp;gt;set_attribute_ns( name = 'Pattern' prefix = 'ss'  value = 'Solid' ).
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I ask for your help,&lt;/P&gt;
  &lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-formatting-with-if-xml-element-zebra-pattern/m-p/12465645#M2000571</guid>
      <dc:creator>former_member699003</dc:creator>
      <dc:date>2021-06-30T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel formatting with if_xml_element (zebra pattern)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-formatting-with-if-xml-element-zebra-pattern/m-p/12465646#M2000572</link>
      <description>&lt;P&gt;IF_IXML_ELEMENT is for any kind of XML, not specifically the format XML 2003 for Excel.&lt;/P&gt;&lt;P&gt;Now, about XML 2003, create manually an Excel workbook with all the colors you wish, save it as XML 2003 and open the generated file with notepad, then do your ABAP so that to generate the same XML.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 14:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-formatting-with-if-xml-element-zebra-pattern/m-p/12465646#M2000572</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-06-30T14:14:58Z</dc:date>
    </item>
  </channel>
</rss>

