Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete complete package and its content

Former Member
0 Likes
16,585

Hello,

I want to delete am complete package and its content in one step. Are there any programs or function modules or ... by SAP that could help me to achieve this goal?

Thanks

Andreas

Hello,

I want to delete am complete package and its content in one step. Are there any programs or function modules or ... by SAP that could help me to achieve this goal?

Thanks

Andreas

5 REPLIES 5
Read only

Former Member
0 Likes
7,421

Hi

Please use the following approach to solve the problem.

1) Look at the TADIR entries and try to find out what all objects are present inside the package. You can narrow down the TADIR entries by giving the package name in DEVCLASS field. You can alternatively use the function module RS_GET_OBJECTS_OF_DEVCLASS to get all the sub-objects of the package (dev class).

2) Create a request in the system and then re-create all the previously deleted objects and save it to the above request. After this, delete all those objects one by one. You should not try to delete the package at this time. Make sure that you have saved all the deleted objects to the request. Now, release the request.

3) This should have removed all the sub-objects of the package from the TADIR table.

4) Create another request. Delete the package and save the same to this request. Release the request.

The above steps should solve the problem.

Regards,

jothi.

P.S : Award Pts if helpful.

Read only

0 Likes
7,421

Hello,

step 1 is clear. But how to do step 2 and three. Are ther e any tools (transaction, function modules, ...) provided by SAP to do this in mass processing?

Thanks

Andreas

Read only

Former Member
7,421

Hi,

from SE80 you can do that, but not in one Shot. it may be two shots. first delete the subobjects using CTRL button in the keyboard select all the subobjects right click and choose Delete . and then now delete the Package. this will be in two steps. some times may be three or four.

Regards

vijay

Read only

0 Likes
7,421

<b>The package still contains subobjects</b>

Message no. PACKAGE_BUILDER01406

<b>Diagnosis</b>

The package you entered still contains subobjects. (This message may be displayed if all development objects in a package have been deleted but the deletions have not been transported).

<b>System Response</b>

The system cannot delete the package.

<b>Procedure</b>

Delete the content of the package first and release the relevant transport request.

Rgds,

Jothi.

Award pts if helpful.

Read only

Former Member
0 Likes
7,421

transaction: SE21