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

Deleting a Package

Former Member
0 Likes
1,063

Hi All,

I have a package which has an embedded package in it

The embedded packge is nothing but the same package

this formed a infinite loop.Hence i couldnt delete the package

as the package has a subobject under it(same package)

Please help me how to delete the package Or

any solution to delete the entire package

Regards

Simin.R

Hi All,

I have a package which has an embedded package in it

The embedded packge is nothing but the same package

this formed a infinite loop.Hence i couldnt delete the package

as the package has a subobject under it(same package)

Please help me how to delete the package Or

any solution to delete the entire package

Regards

Simin.R

2 REPLIES 2
Read only

Former Member
0 Likes
505

Hi

Use this FM and pass the dev class

it will list all the objects in that class

<b>RS_GET_OBJECTS_OF_DEVCLASS</b>

or table TADIR to get the list

regards,

Vasanth

Read only

uwe_schieferstein
Active Contributor
0 Likes
505

Hello Simin

Call transaction SE80, double-click on your package and switch to register <i>Packages Included</i>. If you package is indeed displayed on the table control try to remove it.

2nd possibility: use function module TRINT_MODIFY_DEVCLASS.

If this is not possible then could directly update the corresponding entry in table TDEVC:

DATA:
  ls_tdevc   TYPE tdevc.


  SELECT SINGLE * FROM tdevc INTO ls_tdevc
    WHERE devclass = <my package>.
  IF ( syst-subrc = 0 ).
    ls_tdevc-parentcl = ' '.  " parental package
    UPDATE tdevc FROM ls_tdevc.
    
    IF ( syst-subrc = 0 ).
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.

  ENDIF.

Regards

Uwe