<?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: Sort in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997401#M406263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;y&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2007 08:49:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-23T08:49:06Z</dc:date>
    <item>
      <title>Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997397#M406259</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;can u plz tell me the diffrence between sort and order by&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;prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997397#M406259</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-03-23T08:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997398#M406260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SORT is for Internal tables.&lt;/P&gt;&lt;P&gt;ORDER BY is used in context of a DATABASE table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER BY is obsolete. Use SORT statement instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both does the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:33:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997398#M406260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T08:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997399#M406261</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;  Order by is included in select statement while fetching records from internal table.&lt;/P&gt;&lt;P&gt;An intenral table is sorted by using Sort statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order by statement in Select will deprove the performance. so, better not use it.&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;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997399#M406261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997400#M406262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER BY Clause is used in the SELECT Statement when retrieving the data from the data from database.&lt;/P&gt;&lt;P&gt;if we use ORDER BY Clause the data is sorted at the database server level and brought to the application server...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT is used to sort the contents of the Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommended to use SORT than ORDER BY Clause because we need to reduce the load on the database server so we have to read the data from the database and then sort it using SORT  .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful......&lt;/P&gt;&lt;P&gt;Suresh......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997400#M406262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T08:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997401#M406263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;y&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997401#M406263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997402#M406264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;order by claus is used in select statement in this form.&lt;/P&gt;&lt;P&gt;SELECT result &lt;/P&gt;&lt;P&gt;       FROM source &lt;/P&gt;&lt;P&gt;       INTO|APPENDING target &lt;/P&gt;&lt;P&gt;       [[FOR ALL ENTRIES IN itab] WHERE sql_cond] &lt;/P&gt;&lt;P&gt;       &lt;A href="GROUP BY group"&gt;&lt;/A&gt; &lt;A href="HAVING group_cond"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;       &lt;A href="ORDER BY sort_key"&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/ENDSELECT"&gt;&lt;/A&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;SELECT - sort_key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;... ORDER BY { {PRIMARY KEY} &lt;/P&gt;&lt;P&gt;             | { {col1|a1} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;/P&gt;&lt;P&gt;                 {col2|a2} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; ...} &lt;/P&gt;&lt;P&gt;             | (column_syntax) } ... . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatives: &lt;/P&gt;&lt;P&gt;1. ... ORDER BY PRIMARY KEY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... ORDER BY {col1|a1} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;/P&gt;&lt;P&gt;               {col2|a2} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... ORDER BY (column_syntax) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;The addition ORDER BY sorts the resulting set by the content of the specified column. The order of the rows in the result set refers to all columns that are not listed after ORDER BY, is undefined, and can be different in repeated executions of the same SELECT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition ORDER BY can only be used with the addition PRIMARY KEY at the same time as the addition FOR ALL ENTRIES of the WHERE condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;If a sorted resulting set is assigned to a sorted internal table, the internal table is sorted again according to the sorting instructions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative 1 &lt;/P&gt;&lt;P&gt;... ORDER BY PRIMARY KEY &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;Effect: &lt;/P&gt;&lt;P&gt;If all columns are specified (by the entry of * after SELECT), and a single database table is specified after FROM (rather than a view or a join expression), the addition PRIMARY KEY can be used to sort the resulting set in ascending order according to the content of the primary key of this database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition PRIMARY KEY cannot be specified if a view or a join expression is statically specified after FROM. If a view or a join expression is specified after FROM in the dynamic specification dbtab_syntax, the data is sorted by all columns of the resulting set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative 2 &lt;/P&gt;&lt;P&gt;... ORDER BY {col1|a1} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;/P&gt;&lt;P&gt;             {col2|a2} &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&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;Effect: &lt;/P&gt;&lt;P&gt;For any column specifications after SELECT, a list of columns can be entered after ORDER BY, by which the resulting set should be sorted. Only columns that are listed after SELECT can be entered. Columns can be specifieddirectly using the column names col1 col2 ..., or the alternative column names a1 a2 .... The latter is required if you want to sort by columns that are specified as aggregate expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additions ASCENDING and DESCENDING determine whether the rows are sorted in ascending or descendding order. If neither addition is specified, the sorg is performed in ascending order. The priority of sorting is based on the order in which the components col1 col2... or a1 a2 ... are specified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled and cluster tables cannot be sorted by all types of column. Columns specified after ORDER BY cannot be of the type LCHAR, LRAW, STRING, or RAWSTRING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;If single columns are specified in the addition ORDER BY, the statement SELECT bypasses the SAP buffering. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative 3 &lt;/P&gt;&lt;P&gt;... ORDER BY (column_syntax) &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;Effect: &lt;/P&gt;&lt;P&gt;As an alternative to static column specification, a bracketed data object column_syntax can be specified, which either contains the syntax of the list of columns or is initial when the statement is executed. The addition PRIMARY KEY cannot be specified in column_syntax. For column_syntax, the same applies as for the dynamic specification of columns after SELECT. If the content of column_syntax is initial, the addition ORDER BY is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;For performance reasons, sorting should only be performed in tha databases system if the sort is supported by an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selecting the database table SFLIGHT in a method, whereby the sort criterion is transferred as an input parameter. In this case, the user must enter the criterion using the correct syntax on the selection screen/&amp;gt;. In a proper application, you would normally prepare an input help using a selection list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES sflight_table_type TYPE TABLE OF sflight. &lt;/P&gt;&lt;P&gt;CLASS handle_sflight DEFINITION. &lt;/P&gt;&lt;P&gt;  PUBLIC SECTION. &lt;/P&gt;&lt;P&gt;    CLASS-METHODS select_sort_sflight &lt;/P&gt;&lt;P&gt;          IMPORTING sort_crit TYPE string &lt;/P&gt;&lt;P&gt;          EXPORTING sflight_tab TYPE sflight_table_type &lt;/P&gt;&lt;P&gt;                  RAISING cx_sy_dynamic_osql_error. &lt;/P&gt;&lt;P&gt;ENDCLASS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS p_sort(40) TYPE c. &lt;/P&gt;&lt;P&gt;DATA: s_sort TYPE string, &lt;/P&gt;&lt;P&gt;      result_tab TYPE sflight_table_type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY. &lt;/P&gt;&lt;P&gt;    s_sort = p_sort. &lt;/P&gt;&lt;P&gt;    handle_sflight=&amp;gt;select_sort_sflight( &lt;/P&gt;&lt;P&gt;      EXPORTING sort_crit = s_sort &lt;/P&gt;&lt;P&gt;      IMPORTING sflight_tab = result_tab ). &lt;/P&gt;&lt;P&gt;  CATCH cx_sy_dynamic_osql_error. &lt;/P&gt;&lt;P&gt;    MESSAGE `Wrong sort criterium!` TYPE 'I'. &lt;/P&gt;&lt;P&gt;ENDTRY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS handle_sflight IMPLEMENTATION. &lt;/P&gt;&lt;P&gt;  METHOD select_sort_sflight. &lt;/P&gt;&lt;P&gt;    SELECT * &lt;/P&gt;&lt;P&gt;           FROM sflight &lt;/P&gt;&lt;P&gt;           INTO TABLE sflight_tab &lt;/P&gt;&lt;P&gt;           ORDER BY (sort_crit). &lt;/P&gt;&lt;P&gt;  ENDMETHOD. &lt;/P&gt;&lt;P&gt;ENDCLASS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the sort is &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to the locale of the current text environment. If AS TEXT is not specified, text-type components are sorted according to the coding in the code page of the current text environment. This specification can be overwritten for individual text-type components in the explicit sort key sort_key. The text environment is set when an internal session is opened, or using the statement SET LOCALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Sorting without the AS TEXT addition is considerably faster than sorting using the addition. If text-type components only contain characters of the ASCII character set, both sort options result in the same sort order and the addition AS TEXT is not necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of lexicographic sorting depends on the operating system of the application server. While the sequence of the individual letters that belong to the activated language is the same for all operating systems, there are differences in the characters that do not belong to the alphabet of the activated language. When sorting whole words, there are also slight differences even if only using letters from the alphabet of the activated language. The order of upper and lower case letters also depends on the operating system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the AS TEXT addition to function correctly, the profile parameter install/collate/active must not have the value 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the AS TEXT addition normally renders the statement CONVERT TEXT superfluous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;...STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use STABLE to ensure a stable sort order. This means that the order of lines, which is the same in the sort key, remains unchanged after sorting. Without the STABLE addition, the order is not preserved and repeated sorting of a table by the same sort key changes the order each time the table is sorted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Sorting a hashed table text_tab by the order in the code page and according to the locale of the current text environment. If a Western European text environment is set, sorting results in the orders Miller, Moller, Muller, Möller, or Miller, Moller, Möller, Muller (also see the example for SET LOCALE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text_tab TYPE HASHED TABLE OF string &lt;/P&gt;&lt;P&gt;              WITH UNIQUE KEY table_line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT: `Muller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Möller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Moller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Miller` INTO TABLE text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab AS TEXT. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM write_text_tab. &lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS TYPE string. &lt;/P&gt;&lt;P&gt;  LOOP AT text_tab ASSIGNING  . &lt;/P&gt;&lt;P&gt;    WRITE /  . &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;  SKIP. &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab - sort_key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;... BY comp1 &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;A href="AS TEXT"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;       comp2 &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;A href="AS TEXT"&gt;&lt;/A&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;Extras: &lt;/P&gt;&lt;P&gt;1. ... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If you specify a sort key with the addition BY, sorting is not done according to the table key, but according to the comp1 comp2 ... component specified after it. The components are specified as described under specification of components, with the limitation that the number of coponents that can be specified is limited to 250. The sort priority is according to the sequence in which the components comp1 comp2 ... are specified from left to right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of internal tables with a header line, field symbols can also be specified outside of classes for comp1 comp2 .... If a component of the header line or the entire header line is assigned to a field symbol during execution of the statement, sorting will take place according to the respective component or the entire line. If no data object is assigned to a field symbol, sorting will take place according to the respective component or the entire line. If no data object is assigned to a field symbol, the specification will be ignored. If a different data object is assigned to a field symbol, there will be an exception that cannot be handled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using field symbols for dynamic component specifications, you should use the option to specify bracketed, character-type data objects that contain the name of the components. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If, after a component comp1 comp2 ..., none of the additions ASCENDING or DESCENDING is specified, the predefined sort sequence is adopted. If one of the additions ASCENDING or DESCENDING is specified, it will override the specification for this component. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If, after a text-type component comp1 comp2..., the addition AS TEXT is not specified, the predifined specification is adopted. If, after a text-type component, the addition AS TEXT is specified, it overrides the predefined specifcation for this component. In the case of non-text-type components, AS TEXT cannot be specified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is complete information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 08:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1997402#M406264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T08:55:53Z</dc:date>
    </item>
  </channel>
</rss>

