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

How to modify a ABAP program when its package was deleted?

Former Member
0 Likes
4,932

Hello experts.

I'm trying to update an ABAP program but its package was deleted.

When I've tried to update, a dialog window appears with the next message:

Package ZBASIS does not exist

Also after make click in this dialog window in the question button, the next message appears:

Message no. TR414

I've tried to update the package for this program with the option "Object direct entry" for "Goto" item in the main menu of SE38 tcode. But every field in this new dialog window is read-only.

Really, I don't know that have to do to resolve this issue.

Regards in advanced.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,687

Well, if you were able to delete a non empty package, you should be able to change an entry in object directory .

Close every session that could lock the program, and execute transaction SE03 to change the entry R3TR PROG <program>. Also lock for a pencil icon to switch from display to change on any popup screen.

Regards,

Raymond

Hello experts.

I'm trying to update an ABAP program but its package was deleted.

When I've tried to update, a dialog window appears with the next message:

Package ZBASIS does not exist

Also after make click in this dialog window in the question button, the next message appears:

Message no. TR414

I've tried to update the package for this program with the option "Object direct entry" for "Goto" item in the main menu of SE38 tcode. But every field in this new dialog window is read-only.

Really, I don't know that have to do to resolve this issue.

Regards in advanced.

6 REPLIES 6
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,688

Well, if you were able to delete a non empty package, you should be able to change an entry in object directory .

Close every session that could lock the program, and execute transaction SE03 to change the entry R3TR PROG <program>. Also lock for a pencil icon to switch from display to change on any popup screen.

Regards,

Raymond

Read only

Former Member
0 Likes
2,687

Hi ,

Check my reply in this discussion http://scn.sap.com/thread/3416324 .

and use below information ...

Program ID : R3TR

Object Type : PROG

Program name :  ZTEST  " Your Custom Program Name

Regard's

Smruti

Read only

former_member209120
Active Contributor
2,687

Hi Manuel,

Package ZBASIS does not exist

Then assign new package like this and modify your program...

Follow this procedure :

In SE38, enter your program name.

Then use the menu option "goto -> object directory entry". Click on "Change", and you can enter the new package.

You'll be prompted for a workbench request number also. The same technique can be used to change packages in other objects.

You can also use transaction SE03 (or the tools option from SE09/SE10), but access is sometimes restricted.

Regards,

Ramesh.T

Read only

satyabrata_sahoo3
Contributor
0 Likes
2,687

Change the package of the program first then make changes in the codes..

Read only

Former Member
0 Likes
2,687

hi ,

Unless you delete the objects which were saved under this package, it won't allow you to delete the package....So check the package name once again.

Create a new package in (se80) and assign the package to the program. as below :

Goto TCode : Se38

Enter your program .

Click on "Goto " ->object directory entry".  Click on "Change"  You get like Screen shot

and Give the package name and save it. and modify your program.

  .

Regards

Divakar

Read only

Former Member
0 Likes
2,687

This message was moderated.