<?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: Problem with Data element in an ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363780#M1400847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Shashikanth Div...,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in display, in an area outside the grid values displayed (right of or below), hold left shift-key and double-right-click(!) the mouse. The ALV consistency check comes up. Click on the fieldcatalog button so see if you really use the correct field and table names for the sorting. You can also click the SORT button to see what is used for sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error will be obvious.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2009 14:07:24 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2009-11-19T14:07:24Z</dc:date>
    <item>
      <title>Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363776#M1400843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on ALV with sort criteria.&lt;/P&gt;&lt;P&gt;I have 2 columns of data elements with domains as follows:&lt;/P&gt;&lt;P&gt;EISBE -- MENG13&lt;/P&gt;&lt;P&gt;LABST -- MENG13V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also applied a sort criteria on these both fields, as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    l_wa_sort-fieldname = 'EISBE'.&lt;/P&gt;&lt;P&gt;    l_wa_sort-spos = 1.&lt;/P&gt;&lt;P&gt;    l_wa_sort-tabname = 'FP_I_OUTPUT'.&lt;/P&gt;&lt;P&gt;    l_wa_sort-up = c_x.&lt;/P&gt;&lt;P&gt;    l_wa_sort-group = '*'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    l_wa_sort-subtot = c_x.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    append l_wa_sort to l_i_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    l_wa_sort-fieldname = 'LABST'.&lt;/P&gt;&lt;P&gt;    l_wa_sort-spos = 2.&lt;/P&gt;&lt;P&gt;    l_wa_sort-tabname = 'FP_I_OUTPUT'.&lt;/P&gt;&lt;P&gt;    l_wa_sort-up = c_x.&lt;/P&gt;&lt;P&gt;    l_wa_sort-group = '*'.&lt;/P&gt;&lt;P&gt;    append l_wa_sort to l_i_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, passed the sort criteria to the FM " Reuse_Alv_grid_display".&lt;/P&gt;&lt;P&gt;Unfortunately, sort is working on the second column, but not on the first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me on the same.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. I have also tried by using the same data elements for my internal table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. In SE16 in MARC table, we can find this data element, and when we display the contents as ALV grid, the same sort operations are not working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shashikanth Divakaruni on Nov 19, 2009 12:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 11:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363776#M1400843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T11:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363777#M1400844</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; try to pass below options in fieldcatalog and see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_fieldcatalog-QUANTITY = 'X'.&lt;/P&gt;&lt;P&gt;i_filedcatalog-QFIELDNAME = MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;sateesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sateesh kumar on Nov 19, 2009 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 11:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363777#M1400844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T11:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363778#M1400845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sateesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The suggestion does not give the result..&lt;/P&gt;&lt;P&gt;Please let me know if there are any other ways for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shashikanth. D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 12:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363778#M1400845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363779#M1400846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the below code to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_wa_sort-fieldname = 'EISBE'.&lt;/P&gt;&lt;P&gt;l_wa_sort-spos = 1.&lt;/P&gt;&lt;P&gt;l_wa_sort-tabname = 'FP_I_OUTPUT'.&lt;/P&gt;&lt;P&gt;l_wa_sort-up = c_x.&lt;/P&gt;&lt;P&gt;append l_wa_sort to l_i_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_wa_sort-fieldname = 'LABST'.&lt;/P&gt;&lt;P&gt;l_wa_sort-spos = 2.&lt;/P&gt;&lt;P&gt;l_wa_sort-tabname = 'FP_I_OUTPUT'.&lt;/P&gt;&lt;P&gt;l_wa_sort-up = c_x.&lt;/P&gt;&lt;P&gt;append l_wa_sort to l_i_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 13:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363779#M1400846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-19T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363780#M1400847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Shashikanth Div...,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in display, in an area outside the grid values displayed (right of or below), hold left shift-key and double-right-click(!) the mouse. The ALV consistency check comes up. Click on the fieldcatalog button so see if you really use the correct field and table names for the sorting. You can also click the SORT button to see what is used for sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error will be obvious.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 14:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363780#M1400847</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-19T14:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Data element in an ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363781#M1400848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the answer and thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 06:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-element-in-an-alv/m-p/6363781#M1400848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T06:57:05Z</dc:date>
    </item>
  </channel>
</rss>

