<?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: Sorted table dump in ALV lineformat in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256237#M1914267</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;Hands up! It's an illegal statement &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt; Well I suppose that if your key is a char key, you have to use 01,02,03 because sort makes a lexicographical order and you need 0 or you'll have something like&lt;/P&gt;&lt;P&gt;1, 10, 11, 12,13,...19, 2, 21...etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 09:44:37 GMT</pubDate>
    <dc:creator>roberto_vacca2</dc:creator>
    <dc:date>2015-09-15T09:44:37Z</dc:date>
    <item>
      <title>Sorted table dump in ALV lineformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256236#M1914266</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;Recently I noticed a "strange" dump during some developments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the detail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/790265" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/790266" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; background: white none repeat scroll 0% 0%; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;***CODE***&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;The code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; background: white none repeat scroll 0% 0%; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; background: white none repeat scroll 0% 0%; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: #000000; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;lv_day = 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;WHILE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day &amp;lt; lv_datum+6&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;).&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;SHIFT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LEFT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;DELETING &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LEADING &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'0'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONCATENATE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;'DAY' &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_fname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; ls_lineformat&lt;SPAN style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;fieldname &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_fname&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt; ls_lineformat&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;style &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;cl_gui_alv_grid&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;mc_style_disabled&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt; APPEND &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ls_lineformat &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lsx_output&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lineformat&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;MODIFY &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;gtx_output &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FROM &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lsx_output &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TRANSPORTING &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lineformat&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; lv_day &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day + &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ENDWHILE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;***DECLARATIONS***&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;Just to some context&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ls_lineformat &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lvc_s_styl&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN style=": ; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_fname &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;lvc_fname&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN style=": ; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;numc2,&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN style=": ; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lsx_output &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LIKE LINE OF &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;gtx_output&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000000;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;gtx_output &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE STANDARD TABLE OF &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ty_lpca_mdpd&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;BEGIN OF &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ty_lpca_mdpd&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INCLUDE TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ty_t_lpca_mdpd&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;cellcolor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lvc_t_scol&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; lineformat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lvc_t_styl&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; linecolor&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s321"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;edit TYPE c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;END OF &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;ty_lpca_mdpd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=": ; color: #000000; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;***DUMP***&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;&amp;lt;The problem&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.0pt; background: white; font-family: courier new,courier;"&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So far what I noticed was that as long as the creation of DAY&lt;SPAN style="text-decoration: underline;"&gt;1&lt;/SPAN&gt;; DAY2; DAY3; ... DAY9; DAY&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt; stays without a 0 prefix on the number, we get the dump, otherwise if we comment the &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;SHIFT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;lv_day &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LEFT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; background: white none repeat scroll 0% 0%;"&gt;DELETING &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LEADING &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'0'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; and by doing that we get something like DAY&lt;SPAN style="text-decoration: underline;"&gt;01&lt;/SPAN&gt;; DAY02; DAY03 ...&amp;nbsp; DAY09; DAY&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt; we don't get the dump.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;It's strange to me the management which leads the dump, it's supposed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thank you for some kind of enlightenment.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 09:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256236#M1914266</guid>
      <dc:creator>pedrocavaco</dc:creator>
      <dc:date>2015-09-15T09:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted table dump in ALV lineformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256237#M1914267</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;Hands up! It's an illegal statement &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt; Well I suppose that if your key is a char key, you have to use 01,02,03 because sort makes a lexicographical order and you need 0 or you'll have something like&lt;/P&gt;&lt;P&gt;1, 10, 11, 12,13,...19, 2, 21...etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 09:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256237#M1914267</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2015-09-15T09:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted table dump in ALV lineformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256238#M1914268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason it is giving dump is that append always try to insert the record at the end and it is viaolating you sort order for sorted table &lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'courier new', courier; color: #000000; background: none 0% 0% repeat scroll white;"&gt;lsx_output&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'courier new', courier; color: #000000; background: none 0% 0% repeat scroll white;"&gt;lineformat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Use &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;INSERT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'courier new', courier; color: #000000; background: none 0% 0% repeat scroll white;"&gt;ls_lineformat IN&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;TO TABLE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'courier new', courier; color: #000000; background: none 0% 0% repeat scroll white;"&gt;lsx_output&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'courier new', courier; color: #000000; background: none 0% 0% repeat scroll white;"&gt;lineformat&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551" style="font-size: 12px; font-family: 'courier new', courier; color: #000000; background: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit; background: transparent;"&gt;R&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 10:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256238#M1914268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-15T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted table dump in ALV lineformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256239#M1914269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rudra has right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lvc_t_styl is sorted table. Append-statement is invalid for sorted tables. Use insert-statement instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/790452" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256239#M1914269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-15T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted table dump in ALV lineformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256240#M1914270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your responses, worked like a charm. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-table-dump-in-alv-lineformat/m-p/11256240#M1914270</guid>
      <dc:creator>pedrocavaco</dc:creator>
      <dc:date>2015-09-15T12:55:52Z</dc:date>
    </item>
  </channel>
</rss>

