<?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: Reg: Excel alignment problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704486#M1452891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For making internal table properly aligned you can fill your final table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: BEGIN OF st,
      f1(2) TYPE c,
      f2(2) TYPE n,
      END OF st.

DATA: itab1 LIKE TABLE OF st WITH HEADER LINE,
      objbin1 LIKE solisti1 OCCURS 10 WITH HEADER LINE.

DATA: c_tab TYPE c VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab,
      c_ret TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf.

  LOOP AT itab1.
    CONCATENATE itab1-f1 itab1-f2 INTO objbin1 separated BY c_tab.
    CONCATENATE c_ret objbin1 INTO objbin1.
    APPEND objbin1.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Mar 2010 05:17:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-16T05:17:01Z</dc:date>
    <item>
      <title>Reg: Excel alignment problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704484#M1452889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;i have created a program to send a mail with Excel Sheet attachment.&lt;/P&gt;&lt;P&gt;After receiving the mail, While i am opening the Excel Sheet,all the line item details are in a single line instead of one by one. &lt;/P&gt;&lt;P&gt;I cant get the correct alignment in the attachment as like my final internal table .How can i align/format the attachment datas while sending the mail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sakthivel.VT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 04:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704484#M1452889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T04:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Excel alignment problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704485#M1452890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sakthivel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your internal table data, There is any special characters or not (Ex: ! @ # $ % ^ &amp;amp; * " : ? &amp;gt; etc.). If there is some special characters plz avoid those things in your internal table. Then only you will get correct alignment data in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Muralidhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 05:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704485#M1452890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T05:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Excel alignment problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704486#M1452891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For making internal table properly aligned you can fill your final table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: BEGIN OF st,
      f1(2) TYPE c,
      f2(2) TYPE n,
      END OF st.

DATA: itab1 LIKE TABLE OF st WITH HEADER LINE,
      objbin1 LIKE solisti1 OCCURS 10 WITH HEADER LINE.

DATA: c_tab TYPE c VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab,
      c_ret TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf.

  LOOP AT itab1.
    CONCATENATE itab1-f1 itab1-f2 INTO objbin1 separated BY c_tab.
    CONCATENATE c_ret objbin1 INTO objbin1.
    APPEND objbin1.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 05:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-excel-alignment-problem/m-p/6704486#M1452891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T05:17:01Z</dc:date>
    </item>
  </channel>
</rss>

