<?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: Convert a DB-table to structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624301#M1863877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do a where used for that DB table and change the existing code according to the structure definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;And when you delete it delete it using SE14 also , it will carry out the changes in DB as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 10:23:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-30T10:23:07Z</dc:date>
    <item>
      <title>Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624296#M1863872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discovered a db-tab in our system which is used only as a structure (in interfaces, table-types,...), but has no content. So i wanted to change it to a structure. &lt;/P&gt;&lt;P&gt;Sadly I found nothing to "convert" it to a structure. This means i will have to delete it and create it again as a structure.&lt;/P&gt;&lt;P&gt;But because it is used so often, i can't simply delete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is: &lt;/P&gt;&lt;P&gt;Is there any other way to convert an (empty) db-tab to a ddic-structure than deleting and creating it?&lt;/P&gt;&lt;P&gt;It would be also a possible solution to force to delete it although it is used by other ddic-objects and create it afterwards with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624296#M1863872</guid>
      <dc:creator>oliver_elias90</dc:creator>
      <dc:date>2014-09-29T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624297#M1863873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the problem with that database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot always replace a database table with a structure in your code.&lt;/P&gt;&lt;P&gt;Standard tables may not have data unless our business is covered in that sector today, however, you need that for future purpose.&lt;/P&gt;&lt;P&gt;System maintenance will be another BIG thing that you need to consider when we do something with SAP standard objects.&lt;/P&gt;&lt;P&gt;And, list goes on to keep that table in your system &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1024/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Inuganti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624297#M1863873</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2014-09-29T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624298#M1863874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Naveen Inuganti,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems I need to tell you more details:&lt;/P&gt;&lt;P&gt;1) The table is a customer table. So basically I am able to delete it. But because it is used in programs, interfaces, ... I can't. &lt;/P&gt;&lt;P&gt;2) I have the same table (design) two times in my system. Once used as data storage with content and once used only as a structure type. What I want is converting the db-table which is used as a structure to a structure. So noone is confused by the type of the db-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624298#M1863874</guid>
      <dc:creator>oliver_elias90</dc:creator>
      <dc:date>2014-09-30T07:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624299#M1863875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is an way without changing all the programs where this table is in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would create the structure with a slightly different name than the table and then go ahead and change all the programs to the new structure.&lt;/P&gt;&lt;P&gt;(Be aware that the where-used list does not cover dynamic assignments with field symbol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once all are changed you can finally delete the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624299#M1863875</guid>
      <dc:creator>DominikKraemer</dc:creator>
      <dc:date>2014-09-30T07:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624300#M1863876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oliver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, you need to delete this table from DD to delete from actual database. I see your problem, it is preventing you to do that by showing where-used-list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can build some queries (like custom code maintenance in solution manager) if you should deal with many things like this. But, as this is just for one table, you should go for some manual work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Especially, if there is any SELECT, FETCH, UPDATE, MODIFY or DELETE queries on this table then edit it manually. I think you just need to comment those lines as you are not going to keep this a table any more. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, you can download list of objects from where used list and complete your task (delete table &amp;amp; create structure with same name). And then, activate (or check) all your where used objects - if there is any error then simply comment that code. I don't see any issue with replacing table with structure in interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624300#M1863876</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2014-09-30T07:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624301#M1863877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do a where used for that DB table and change the existing code according to the structure definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;And when you delete it delete it using SE14 also , it will carry out the changes in DB as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 10:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624301#M1863877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-30T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624302#M1863878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it matter? A database table with no content doesn't take up much space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 11:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624302#M1863878</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-09-30T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624303#M1863879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SE11 menu, navigate to Extras, Change Table Category, there you could change an empty table to a structure. (Of course any program with an update data statement will get into trouble...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624303#M1863879</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-30T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624304#M1863880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you! I knew there must be some way without changing the reference in code, interfaces, ....&lt;/P&gt;&lt;P&gt;It was exactly what i looked for. Sure I checked where it is used (by where-used-list and by code scan for dynamic uses).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624304#M1863880</guid>
      <dc:creator>oliver_elias90</dc:creator>
      <dc:date>2014-09-30T12:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624305#M1863881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the space doesn't matter. But if it is used as a structure, it should be a structure. In addition the table exists two times. Once with and once without data. A new employee might be confused an he/she might use the wrong table. That is why i wanted to declare it correct. But that is done now (see correct answer). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624305#M1863881</guid>
      <dc:creator>oliver_elias90</dc:creator>
      <dc:date>2014-09-30T12:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a DB-table to structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624306#M1863882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I entirely agree that structures should be structures and tables, tables. I wasn't aware of the simple solution provided by Raymond .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 13:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-a-db-table-to-structure/m-p/10624306#M1863882</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-09-30T13:07:02Z</dc:date>
    </item>
  </channel>
</rss>

