<?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 SLIS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863159#M928533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What r the names of global internal tables and work area that r used to specify the sort criteria 4 columns i n ALVs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 04:07:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T04:07:04Z</dc:date>
    <item>
      <title>SLIS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863159#M928533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What r the names of global internal tables and work area that r used to specify the sort criteria 4 columns i n ALVs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 04:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863159#M928533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T04:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: SLIS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863160#M928534</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Detail:&lt;/P&gt;&lt;P&gt;Sorting by Columns  &lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;You are able to change the sequence of data records according to specific rules by sorting the ALV output. You specify which column includes the value that is to be sorted alphabetically or numerically, determining the sequence of all rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to specify up to nine columns that can be used to sort the ALV output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control Level&lt;/P&gt;&lt;P&gt;Data records have the same value in a sorted column for a control level. If this value changes in regard to the next data record, it is called a control level change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have various options to highlight a control level change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integration&lt;/P&gt;&lt;P&gt;The sort settings for a column are represented by an object of type CL_SALV_SORT. The total of all the sort objects is represented by an object of type CL_SALV_SORTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to make calculations using the values of numeric columns. By default all values of a column are used for this. If you need intermediate results in addition to the overall result of the calculation, the rows that contain the subvalues of an intermediate result need to be next to each other: They sort the ALV output. The sort is then a prerequisite for ALV being able to determine and display intermediate results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Declaration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : ig_sort type slis_t_sortinfo_alv,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wg_sort type slis_sortinfo_alv.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Specify the column to be sorted:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wg_sort-fieldname = 'MAKTX'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wg_sort-tabname = 'MAKT'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;append wg_sort to ig_sort.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Give the internal name in ALV GRID DISPLAY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IT_SORT = IG_SORT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;You are able to make the following settings for sorting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Get sort objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Create and delete sort objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Set sort direction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Set column sequence of sorting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Forbid changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Highlight control level change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all of the following functions, this is valid:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Tool&lt;/P&gt;&lt;P&gt; Classic ABAP list&lt;/P&gt;&lt;P&gt; Full screen&lt;/P&gt;&lt;P&gt; In the Container&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Simple, two-dimensional table&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hierarchical-sequential list&lt;/P&gt;&lt;P&gt; Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Tree structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; No&lt;/P&gt;&lt;P&gt; No&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Sort Objects&lt;/P&gt;&lt;P&gt;In every main ALV class where sorting is possible, the GET_SORTS method exists. This method returns the sort objects for all columns in the ALV output (class CL_SALV_SORTS). Using this object with the methods GET or GET_SORT you get the sort object for the desired column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get SORTS object&lt;/P&gt;&lt;P&gt; CL_SALV_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_SALV_HIERSEQ_TABLE&lt;/P&gt;&lt;P&gt; GET_SORTS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get all sort objects&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; GET&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get all sort objects for a hierarchy level&lt;/P&gt;&lt;P&gt; CL_SALV_HIERSEQ_LEVEL&lt;/P&gt;&lt;P&gt; GET_SORTS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get a specific sort object&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; GET_SORT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Check whether a column is sorted (a sort object exists)&lt;/P&gt;&lt;P&gt; IS_SORT_DEFINED&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create and Delete Sort Objects&lt;/P&gt;&lt;P&gt;You are able to create a maximum of one sort object for a column You are able to sort the ALV output using up to nine columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to delete sort objects either individually or all at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Create sort object&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; ADD_SORT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Delete individual sort object&lt;/P&gt;&lt;P&gt; REMOVE_SORT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Delete all sort objects&lt;/P&gt;&lt;P&gt; CLEAR&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you assign a new data table with a new structure to your ALV output, all aggregation objects will be deleted automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Sort Direction&lt;/P&gt;&lt;P&gt;For each individual sort object, you are able to determine whether you want to sort the column ascending (for example a, b, c) or descending (for example c, b, a): You set the sort direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Set sort Direction&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; ADD_SORT (Parameter SEQUENCE)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CL_SALV_SORT&lt;/P&gt;&lt;P&gt; SET_SEQUENCE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get sort direction&lt;/P&gt;&lt;P&gt; CL_SALV_SORT&lt;/P&gt;&lt;P&gt; GET_SEQUENCE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Column Sequence of Sorting&lt;/P&gt;&lt;P&gt;If you sort the ALV output by multiple columns, the result changes depending on the sequence of columns that is used to sort. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the columns are sorted in the sequence in which you generated your sort objects. You are able to change this sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Change column sequence of sorting&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; ADD_SORT (Parameter POSITION)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SET_POSITION&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forbid Changes&lt;/P&gt;&lt;P&gt;By default, the user can change sort settings that you have specified using the application. However, you are able to expressly forbid this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Forbid changes to sort object &lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; ADD_SORT &lt;/P&gt;&lt;P&gt;(Parameter OBLIGATORY)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CL_SALV_SORT&lt;/P&gt;&lt;P&gt; SET_OBLIGATORY&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Check whether user is able to make changes to the sort object&lt;/P&gt;&lt;P&gt; CL_SALV_SORT&lt;/P&gt;&lt;P&gt; IS_OBLIGATORY&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Highlight Control Level Change&lt;/P&gt;&lt;P&gt;If a value changes in a sorted column between two data records, this is called a control level change. You are able to highlight the control level change in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You separate the group levels with a horizontal line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        You start a new page for each control level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisite&lt;/P&gt;&lt;P&gt;·        You have activated grouping of the ALV output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt; Class&lt;/P&gt;&lt;P&gt; Method&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Activate grouping of the ALV output&lt;/P&gt;&lt;P&gt; CL_SALV_SORTS&lt;/P&gt;&lt;P&gt; SET_GROUP_ACTIVE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Check whether grouping of the ALV output has been activated.&lt;/P&gt;&lt;P&gt; IS_GROUP_ACTIVE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Set display of control level change&lt;/P&gt;&lt;P&gt; ADD_SORT (Parameter GROUP)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CL_SALV_SORT&lt;/P&gt;&lt;P&gt; SET_GROUP&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Get display of the control level change&lt;/P&gt;&lt;P&gt; GET_GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/e5eb40c4f8712ae10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e9/e5eb40c4f8712ae10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id64.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id64.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sapgenie/docs/Using%20ALV.pdf" target="test_blank"&gt;http://www.erpgenie.com/sapgenie/docs/Using%20ALV.pdf&lt;/A&gt;&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;Jagadish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 04:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863160#M928534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T04:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: SLIS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863161#M928535</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;Declaration: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : ig_sort type slis_t_sortinfo_alv,&lt;/P&gt;&lt;P&gt;         wg_sort type slis_sortinfo_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the column to be sorted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wg_sort-fieldname = 'MAKTX'.&lt;/P&gt;&lt;P&gt;wg_sort-tabname = 'MAKT'.&lt;/P&gt;&lt;P&gt;append wg_sort to ig_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the internal name in ALV GRID DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...............&lt;/P&gt;&lt;P&gt;............&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IT_SORT                           = IG_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;...........&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 04:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slis/m-p/3863161#M928535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T04:18:15Z</dc:date>
    </item>
  </channel>
</rss>

