<?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 Table maintenence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523278#M1262286</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 have a custom table for which the table maintenence is maintanied. Now I would like to wipe of the coplete data fropm this table so that I can upload it with fresh new data . When I go through SM30 and prints the table name and click maintain , it takes me intio runtime error. I would like to clean up the table for new records to be inserted . How do i go about cleaning the old data in teh table . SM30 is not working for me , it given em runtime error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; Program............. "SAPLZWELL"
 Screen.............. "SAPLZWELL 0001"
 Screen line......... 6



ormation on where terminated
 Termination occurred in the ABAP program "SAPLZWELL" - in "LISTE_SHOW_LISTE"
 The main program was "SAPMSVMA ".

 In the source code you have the termination point in line 248
 of the (Include) program "LSVIMOXX".



rce Code Extract

e  SourceCde

18       screen-intensified = 1. vim_modify_screen = 'X'.
19     ENDIF.
20     IF vim_special_mode EQ vim_delimit AND
21        screen-name EQ vim_begdate_name.
22       screen-request = 1. vim_modify_screen = 'X'.
23     ENDIF.
24 *   IF X_HEADER-RDONLYFLAG = 'X' AND                      "Subviews ..
25 *      X_HEADER-MAINTVIEW &amp;lt;&amp;gt; X_HEADER-VIEWNAME.
26     IF vim_objfield &amp;lt;&amp;gt; space AND vim_object = x_header-maintview.
27       LOOP AT x_namtab WHERE viewfield = vim_objfield AND
28                           ( texttabfld = space OR keyflag = space ).
    IF x_namtab-readonly = vim_hidden.
      screen-active = '0'. vim_modify_screen = 'X'.
    ELSEIF x_namtab-readonly = rdonly.
      screen-input = '0'. vim_modify_screen = 'X'.
    ENDIF.
    EXIT.
  ENDLOOP.
ENDIF.
ENDIF.                                                  ".. Subviews
IF vim_modify_screen = 'X'.
  MODIFY SCREEN.
ENDIF.
DLOOP.
 vim_special_mode EQ vim_delete.
SET CURSOR FIELD f LINE 1 OFFSET o. "Always just 1 line in TC
DIF.
 status-action EQ kopieren.
neuer = 'N'.
DIF.
ODULE.                    "liste_show_liste OUTPUT

------------------------------------------------------------------*
    MODULE LISTE_INITIALISIEREN OUTPUT                            *
------------------------------------------------------------------*
    ........                                                      *
------------------------------------------------------------------*
LE liste_initialisieren OUTPUT.
 vim_called_by_cluster &amp;lt;&amp;gt; space.                        "SW CTRL ..
PERFORM vim_vcldocking_control.
DIF.                               ".. SW CTRL
atus-mode = list_bild.
tle-mode  = list_bild.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2009 20:22:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-17T20:22:18Z</dc:date>
    <item>
      <title>Table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523278#M1262286</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 have a custom table for which the table maintenence is maintanied. Now I would like to wipe of the coplete data fropm this table so that I can upload it with fresh new data . When I go through SM30 and prints the table name and click maintain , it takes me intio runtime error. I would like to clean up the table for new records to be inserted . How do i go about cleaning the old data in teh table . SM30 is not working for me , it given em runtime error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; Program............. "SAPLZWELL"
 Screen.............. "SAPLZWELL 0001"
 Screen line......... 6



ormation on where terminated
 Termination occurred in the ABAP program "SAPLZWELL" - in "LISTE_SHOW_LISTE"
 The main program was "SAPMSVMA ".

 In the source code you have the termination point in line 248
 of the (Include) program "LSVIMOXX".



rce Code Extract

e  SourceCde

18       screen-intensified = 1. vim_modify_screen = 'X'.
19     ENDIF.
20     IF vim_special_mode EQ vim_delimit AND
21        screen-name EQ vim_begdate_name.
22       screen-request = 1. vim_modify_screen = 'X'.
23     ENDIF.
24 *   IF X_HEADER-RDONLYFLAG = 'X' AND                      "Subviews ..
25 *      X_HEADER-MAINTVIEW &amp;lt;&amp;gt; X_HEADER-VIEWNAME.
26     IF vim_objfield &amp;lt;&amp;gt; space AND vim_object = x_header-maintview.
27       LOOP AT x_namtab WHERE viewfield = vim_objfield AND
28                           ( texttabfld = space OR keyflag = space ).
    IF x_namtab-readonly = vim_hidden.
      screen-active = '0'. vim_modify_screen = 'X'.
    ELSEIF x_namtab-readonly = rdonly.
      screen-input = '0'. vim_modify_screen = 'X'.
    ENDIF.
    EXIT.
  ENDLOOP.
ENDIF.
ENDIF.                                                  ".. Subviews
IF vim_modify_screen = 'X'.
  MODIFY SCREEN.
ENDIF.
DLOOP.
 vim_special_mode EQ vim_delete.
SET CURSOR FIELD f LINE 1 OFFSET o. "Always just 1 line in TC
DIF.
 status-action EQ kopieren.
neuer = 'N'.
DIF.
ODULE.                    "liste_show_liste OUTPUT

------------------------------------------------------------------*
    MODULE LISTE_INITIALISIEREN OUTPUT                            *
------------------------------------------------------------------*
    ........                                                      *
------------------------------------------------------------------*
LE liste_initialisieren OUTPUT.
 vim_called_by_cluster &amp;lt;&amp;gt; space.                        "SW CTRL ..
PERFORM vim_vcldocking_control.
DIF.                               ".. SW CTRL
atus-mode = list_bild.
tle-mode  = list_bild.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 20:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523278#M1262286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T20:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523279#M1262287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SE14 transaction. Choose adjust by deleting data to delete all records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 20:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523279#M1262287</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-04-17T20:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523280#M1262288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you have 2 options, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Delete the existed table maintenance generator and recreate it again. (Before you delete existed check why it was not working now? did it work previously in prod box?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Since you are planning to delete the entire table &amp;amp; since it is custom table then you can develop small program to delete the data from the table (first discuss with the functional guy).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 20:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523280#M1262288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523281#M1262289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have recreated the table maintenence generator and it now the sm30 opens up teh records for one of the table which has 130,882 records but dosent open and goes into another runtime error msg saying the size of the file is larger than the permitted internal table size. &lt;/P&gt;&lt;P&gt;This table has 700,675 records. Is it due to teh isze of the data records that this table dosnet open in sm30?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 21:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenence/m-p/5523281#M1262289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T21:28:55Z</dc:date>
    </item>
  </channel>
</rss>

