<?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 Remove subpackage from package hierarchy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457428#M1650078</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've embedded a package as subpackage in a package hierarchy, which was a mistake. Is it possible to remove this subpackage from the package hierarchy? The subpackage should not be deleted because it already contains objects. Thanks for a tip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 07:45:07 GMT</pubDate>
    <dc:creator>Sheng</dc:creator>
    <dc:date>2012-01-17T07:45:07Z</dc:date>
    <item>
      <title>Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457428#M1650078</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've embedded a package as subpackage in a package hierarchy, which was a mistake. Is it possible to remove this subpackage from the package hierarchy? The subpackage should not be deleted because it already contains objects. Thanks for a tip!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 07:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457428#M1650078</guid>
      <dc:creator>Sheng</dc:creator>
      <dc:date>2012-01-17T07:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457429#M1650079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheng Gong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this note helps you:&lt;/P&gt;&lt;P&gt;[Note 1156585 - How to delete packages|https://service.sap.com/sap/support/notes/1156585]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bruno Xavier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 11:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457429#M1650079</guid>
      <dc:creator>brunobex</dc:creator>
      <dc:date>2012-01-17T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457430#M1650080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you! But I don't want to delete the package. I want to remove the package from the package hierarchy so it is stand alone again, and no more subpackage from the main package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sheng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457430#M1650080</guid>
      <dc:creator>Sheng</dc:creator>
      <dc:date>2012-01-17T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457431#M1650081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a reply to your solution,but could you please let me know how you were able to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I am not able to find any option for such a thing neither in SE80 nor in SE21.Just curious to know how you were able to change the package hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457431#M1650081</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2012-01-17T12:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457432#M1650082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheng Gong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not find any standard solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a test scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario:&lt;/P&gt;&lt;P&gt;Transaction: SE80&lt;/P&gt;&lt;P&gt;package: ZTESTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB "Package Hiearchy"&lt;/P&gt;&lt;P&gt; -ZTESTE&lt;/P&gt;&lt;P&gt; --ZTESTE3 (Embedded Packages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Package ZTESTE3 contain program test: ZPROG_TEST2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message before create implicit enhancement: (Button Delete in TAB "Package Included").&lt;/P&gt;&lt;P&gt;"Package ZTESTE3 still contains development objects or other packages"&lt;/P&gt;&lt;P&gt;"Message no. PAK051"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Two Palliative solution non-standard SAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;Create a implicit enhancement the end of the method M_CHECK_PACKAGE_IS_EMPTY class CL_PACKAGE and put "X" in the variable e_package_empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2 ) Class CL_PACKAGE, Method 
M_CHECK_PACKAGE_IS_EMPTY, End                                                                                D
*$*$-Start: (2 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 1  ZEI_PACKAGE.    "active version
 if me-&amp;gt;package_name = 'ZTESTE3'.
    e_package_empty = 'X'.
 endif.
ENDENHANCEMENT.
*$*$-End:   (2 )--------------------------------------------------------------------------------$*$*
ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction SE80 again, show the package ZTESTE and delete the Embedded Packages ZTESTE3 in TAB "Package Included".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attention: Package ZTESTE3 will be deleted, but not its objects. &lt;STRONG&gt;Recreate the package ZTESTE3 and all objects will appear again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After DELETE Embedded Packages , do not forget to delete implicit enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) OR Bypass message e051(pak) in debug mode. Method: IF_PACKAGE~DELETE Class: CL_PACKAGE&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please use this information as you want, I am not responsible for consequence just did a test.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bruno Xavier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 14:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457432#M1650082</guid>
      <dc:creator>brunobex</dc:creator>
      <dc:date>2012-01-17T14:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457433#M1650083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheng Gong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you found a way to remove the subpackage? I'm just curious as I have the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Beate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 03:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457433#M1650083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-17T03:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457434#M1650084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP stores package assignment in table TDEVC-PARENTCL field for the embedded package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed this via SE16, then in SE80 I have rebuilt the object list of the parent package, and the assigment gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also not found a standard solution for that, but this workaround was good for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 10:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457434#M1650084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-01T10:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove subpackage from package hierarchy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457435#M1650085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is described in OSS note 636704 - Undo embedding into a surronding package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tobias Trapp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 19:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-subpackage-from-package-hierarchy/m-p/8457435#M1650085</guid>
      <dc:creator>ttrapp</dc:creator>
      <dc:date>2015-06-02T19:36:44Z</dc:date>
    </item>
  </channel>
</rss>

