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 unwanted programs

Former Member
0 Likes
2,285

Hi guyz,

Wanted to delete unused programs knew theres a function module which does it (RS_DELETE_PROGRAM), but the thing is wanna create a transport which includes all this deletion programs so when I release that to other systems it automatically deletes the programs in it.Please advise?

Thanks

13 REPLIES 13
Read only

ThomasZloch
Active Contributor
0 Likes
2,158

If you have a list of programs that you want to delete, paste the selection values in SE90 "program library -> programs", execute, check all entries, select "programs -> delete" from the menu, then click "delete all" on the subsequent popup. No program necessary for this purpose, I guess. A transport is being generated.

Thomas

Read only

0 Likes
2,158

Hi Thomas,

Ive tried yours but when creating the transport its not accepting sayin..<program cant included to the transport>

thanks

Read only

0 Likes
2,158

Is there a long text for this error message? What does it say? Are you trying to include transportable objects in a local request or local objects in a transportable request or development objects in a customizing request?

Thomas

Read only

0 Likes
2,158

well , i will tell u step by step wot i have done..

1.created a test program

2.goto se90

3.programming>programming library->programs

4.enter the program name

5.execute

6.click on transport

7.workbench request

8.created transport then message comesup sayin(ZPROGRAM CANNOT BE INLCUDED IN REQUEST /TASK)

Edited by: BrightSide on Mar 18, 2009 4:15 PM

Read only

0 Likes
2,158

Did you create it as a local program in package $TMP? This cannot be transported.

Also, you did not actually delete it in your steps, was that intended? (step 5 should be "delete", not "transport").

Thomas

Read only

0 Likes
2,158

This means that ZPROGRAM is flagged as local object and can't be assinged to anyy transport request. You can only transport non-local ones.

Regards

Marcin

Read only

0 Likes
2,158

OK..I see what you mean about program saved in local objects.Anyway could you please tell me when you create transport before deleting or after deleting..

Thanks

Read only

0 Likes
2,158

System will prompt you to enter transport each time you do a change to a Repository object. As deletion the program is kind of change, it will pop up after it.

Regards

Marcin

Read only

0 Likes
2,158

When mass deleting through SE90 as described, the system will ask you for a transport request as part of the processing. Just try it out.

Thomas

Read only

0 Likes
2,158

Hello,

Its not allowing me to delete 2 programs at one time..

Read only

MarcinPciak
Active Contributor
0 Likes
2,158

Hi,

Try doing this:

- attach all components of the program (program itself and its includes) to your transport using write trasnport entry option in se80

- use your program to delete it in DEV system

- send your transport to QUA system. As you removed the program each change will be noticed in the transport entry you did, hence this should send its deletion.

Try that out with one program first. If works, proceed with the rest.

Regards

Marcin

Read only

0 Likes
2,158

Hey Marcin..

Same error with yours aswell..

Read only

Former Member
0 Likes
2,158

bdc program does that