<?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 table maintenance? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755973#M36598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this side effect may occur since it may backup the content at the beginning. It is the original code and you can modify to some extend...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Sep 2004 13:12:17 GMT</pubDate>
    <dc:creator>ssimsekler</dc:creator>
    <dc:date>2004-09-12T13:12:17Z</dc:date>
    <item>
      <title>sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755965#M36590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I wanted to add sort functionality in table maintenance.&lt;/P&gt;&lt;P&gt;I just don't know how to do it, why?&lt;/P&gt;&lt;P&gt;I founf there is a table called extract in PBO just b4 the loop with table control. The table is dynamic (??) and is defined as 128 char without fields so sort will not wotk .&lt;/P&gt;&lt;P&gt;moreover when I try to define a routine I can't access this 'EXTRACT', for some reason I can't find where it is defined, or how can I access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel Fisher&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;the solution of building dialog from scratch seemed to be tedious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2004 06:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755965#M36590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-07T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755966#M36591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess , it's an extract defined with field-groups (-&amp;gt; F1 field-groups; extract) - pl. post a piece of code !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grx Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2004 08:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755966#M36591</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2004-09-07T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755967#M36592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare a global internal table with structure of the database table you are maintaining.&lt;/P&gt;&lt;P&gt;2. In your PBO before the loop on table control, call a module pool, name it SORT for example.&lt;/P&gt;&lt;P&gt;3. In this module port, copy EXTRACT to the global internal table you declared in 1. You can do GT_TAB[] = EXTRACT[].&lt;/P&gt;&lt;P&gt;4. Sort this global internal table according to the key you like.&lt;/P&gt;&lt;P&gt;5. Copy back the global internal table to EXTRACT. You can do something like this: EXTRACT[] = GT_TAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You extract internal table is now sorted accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2004 20:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755967#M36592</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-09-07T20:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755968#M36593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Via transaction SE54 enter the name of your table, select the 'Generated Objects' radiobutton and hit 'Change'.&lt;/P&gt;&lt;P&gt;In the next screen use the menu to navigate to Environment -&amp;gt; Modification - &amp;gt; Events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More than 30 events have been defined to which you can react with your own coding. You might want to use event 'AA' to replace the standard reading routine with your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might solve your problem?&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2004 14:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755968#M36593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-10T14:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755969#M36594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACTs are special structures used in ABAP programming.&lt;/P&gt;&lt;P&gt;Since internal tables have fixed line structures, they are not suited to handle data sets with varying structures. Instead, you can use extract datasets for this purpose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extract is a sequential dataset in the memory area of the program. You can only address the entries in the dataset within a special loop. The index or key access permitted with internal tables is not allowed. You may only create one extract in any ABAP program. The size of an extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating system files. The practical size of an extract is up to 2GB, as long as there is enough space in the filesystem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;About your problem:&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;So, you can add a sorting statement to the generated screen. Here is the procedure about sorting an extract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Sorting an Extract&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can sort an extract dataset in much the same way as an internal table by using the following statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT [ASCENDING|DESCENDING] [AS TEXT] [STABLE]&lt;/P&gt;&lt;P&gt;      BY &amp;lt;f1&amp;gt; [ASCENDING|DESCENDING] [AS TEXT] &lt;/P&gt;&lt;P&gt;       ...&lt;/P&gt;&lt;P&gt;         &amp;lt;fn&amp;gt; [ASCENDING|DESCENDING] [AS TEXT].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SORT statement terminates the creation of the extract dataset of a program and, at the same time, sorts its records. Without the BY option, the system sorts the dataset by the key specified in the HEADER field group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can sort an extract dataset as often as you like in a program, using any number of different keys. The only prerequisite is that all fields by which you want to sort are contained in the HEADER during the extraction process. You must not use the SORT statement between LOOP and ENDLOOP. However, you can sort and read the extract dataset in any sequence. No further EXTRACT statements may occur after the sort statement, otherwise a runtime error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more information at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9f1235c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9f1235c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Sep 2004 09:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755969#M36594</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-09-11T09:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755970#M36595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is I didn't find any field groups .&lt;/P&gt;&lt;P&gt;The EXTRACT is definietly a TABLE it is defined in the include LSVIMFTX..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More in detail:&lt;/P&gt;&lt;P&gt;1st it fills a table TOTAL (include LSVIMFTX)&lt;/P&gt;&lt;P&gt;  SELECT * FROM (X_HEADER-MAINTVIEW) INTO TABLE TOTAL.&lt;/P&gt;&lt;P&gt;2nd it call the function&lt;/P&gt;&lt;P&gt; ....   WHEN 'MIDDLE'.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION FUNCTION_NAME&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                FCODE                    = TCF_FCODE&lt;/P&gt;&lt;P&gt;                VIEW_ACTION              = MAINT_MODE&lt;/P&gt;&lt;P&gt;                VIEW_NAME                = X_HEADER-VIEWNAME&lt;/P&gt;&lt;P&gt;                CORR_NUMBER              = CORR_NBR&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;                UCOMM                    = FUNCTION&lt;/P&gt;&lt;P&gt;                UPDATE_REQUIRED          = TCF_UPD_FLAG&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                DBA_SELLIST              = DBA_SELLIST&lt;/P&gt;&lt;P&gt;                DPL_SELLIST              = DPL_SELLIST&lt;/P&gt;&lt;P&gt;                EXCL_CUA_FUNCT           = EXCL_CUA_FUNCT&lt;/P&gt;&lt;P&gt;                X_HEADER                 = X_HEADER&lt;/P&gt;&lt;P&gt;                X_NAMTAB                 = X_NAMTAB&lt;/P&gt;&lt;P&gt;                CORR_KEYTAB              = E071K_TAB&lt;/P&gt;&lt;P&gt;                EXTRACT                  = EXTRACT_M&lt;/P&gt;&lt;P&gt;                TOTAL                    = TOTAL_M&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                MISSING_CORR_NUMBER      = 01&lt;/P&gt;&lt;P&gt;                SAVING_CORRECTION_FAILED = 03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;definition of extract_M: (include LSVIMTDT)&lt;/P&gt;&lt;P&gt;  BEGIN OF EXTRACT_M OCCURS 0,&lt;/P&gt;&lt;P&gt;        LINE(128),&lt;/P&gt;&lt;P&gt;      END OF EXTRACT_M,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the function name is the one defined in se54 under generated function modules -&amp;gt; edit data.&lt;/P&gt;&lt;P&gt;The EXTRACT table is the 1 defined in the function above.&lt;/P&gt;&lt;P&gt;It is not an EXTRACT with field groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to rephrase the question.&lt;/P&gt;&lt;P&gt;The table is char 128 and there are no fields !!!&lt;/P&gt;&lt;P&gt;I want to sort this table using "keys"(as if there were real table keys).&lt;/P&gt;&lt;P&gt;I found the above line and I can't really understand it.&lt;/P&gt;&lt;P&gt;SORT extract BY &amp;lt;vim_extract_key&amp;gt;.&lt;/P&gt;&lt;P&gt;when i looked at the contents of &amp;lt;&amp;gt; it contained values of one line ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it was enough info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ariel Fisher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Sep 2004 11:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755970#M36595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-12T11:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755971#M36596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel&lt;/P&gt;&lt;P&gt;Here is what I did.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step 1:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Insert a module line after the module "LISTE_INITIALISIEREN" .&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE LISTE_INITIALISIEREN.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; MODULE sort .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;LOOP AT EXTRACT ...&lt;/P&gt;&lt;P&gt;...&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step 2:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;In your new module (in my example "sort"), do the sorting as follows. I will sort my table by the field "f3" .Thank God because ABAP gives assignment regardless of structures of both sides. Here what I mean: &lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;MODULE sort OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA gt_ztest LIKE ztest OCCURS 1 WITH HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Getting the content of extract in an internal table &lt;/P&gt;&lt;P&gt;*-having the structure of my table.&lt;/P&gt;&lt;P&gt;  gt_ztest[] = extract[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Sorting it&lt;/P&gt;&lt;P&gt;  SORT gt_ztest BY f3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Restoring extract from my sorted table&lt;/P&gt;&lt;P&gt;  extract[] = gt_ztest[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " sort  OUTPUT&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Sep 2004 12:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755971#M36596</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-09-12T12:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755972#M36597</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;I did use the events and changed the reading and added order by in the select clause, and it looked GR8! &lt;/P&gt;&lt;P&gt;BUT...&lt;/P&gt;&lt;P&gt;When I edited records sometimes it told me the record allready been saved and just didn't take my changes.&lt;/P&gt;&lt;P&gt;I guess that it didn't know on the new order, and the index is now not the same ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel Fisher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Sep 2004 13:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755972#M36597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-12T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755973#M36598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this side effect may occur since it may backup the content at the beginning. It is the original code and you can modify to some extend...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Sep 2004 13:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755973#M36598</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-09-12T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755974#M36599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been a great help to me, as all the tips given by Nablan, John, Serdar were very useful. Thanks for the question and the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Nov 2004 09:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755974#M36599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-26T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755975#M36600</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;extract] = gt_ztest[ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_ztest] = extract[ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is showing error, 'The field "EXTRACT[" is unknown, but there is a field with the similarname "EXTRACT". .'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can I do..&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;Lakshmikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 11:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755975#M36600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-21T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755976#M36601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;    Thanks To ALL , &lt;/P&gt;&lt;P&gt;    My same proble solved I did the same as mentioned above .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Write code as mentioned below , it will definately solve your problem for sorting of maintanance table depends upon fields of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert " Module sort "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE LISTE_INITIALISIEREN.&lt;/P&gt;&lt;P&gt;   MODULE sort .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module SORT output.&lt;/P&gt;&lt;P&gt;data : gt_ztable like ztable OCCURS 1 WITH HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_ztable[] = extract[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort gt_ztable by  field1 field2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACT[] = gt_ztable[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " SORT  OUTPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 10:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755976#M36601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-03T10:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755977#M36602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is [] medium bracket not  open bracket  -[- .  &lt;/P&gt;&lt;P&gt; symbol not coming properly check out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vishwassap on Jun 3, 2010 12:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 10:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755977#M36602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-03T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: sort in table maintenance?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755978#M36603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The abovementioned code gives a problem when clicking the button "New Entries". To prevent sorting when this button is clicked, instead use this code:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; module SORT_EXTRACT &lt;SPAN class="L0S52"&gt;output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data: &lt;/SPAN&gt;gt_zarea &lt;SPAN class="L0S52"&gt;like &lt;/SPAN&gt;zarea &lt;SPAN class="L0S52"&gt;OCCURS &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;HEADER &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINE .&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;not &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ucomm &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'NEWL'.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gt_zarea[] &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;extract[].&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;sort &lt;/SPAN&gt;gt_zarea &lt;SPAN class="L0S52"&gt;by &lt;/SPAN&gt;Z_AREA VKORG &lt;SPAN class="L0S52"&gt;COUNTRY &lt;/SPAN&gt;ZIPCODE_FROM ZIPCODE_TO.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXTRACT[] &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gt_zarea[].&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endmodule.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" SORT_EXTRACT&amp;nbsp; OUTPUT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;Tim van Steenbergen&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-in-table-maintenance/m-p/755978#M36603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-04T15:26:57Z</dc:date>
    </item>
  </channel>
</rss>

