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

Including whole program object list in single request.

Former Member
0 Likes
2,266

Hello,

Does it exist standard method to include whole ABAP program object list in single request?

If I select ABAP program in SE80 and click Write Object entry in Transport the system puts only program object entry in the request . But I want to put all objects which have been created under the program (tables, structres, fields, includes,...).

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,558

Hi,

When I create a program, I often create all its new objects under a new package, so it's very easy to transport.

Coming back to your request, there is a wiki with code to get the where used list, then you can add the objects to the transport request, in the demo program, it reads only one level of used objects (you should also remove the standard objects from the list) : [SDN wiki: ABAP program to read where-used lists|http://wiki.sdn.sap.com/wiki/display/ABAP/ABAPprogramtoreadwhere-used+lists ]

Sandra

9 REPLIES 9
Read only

ThomasZloch
Active Contributor
0 Likes
1,558

There is no such functionality in the standard. This would require some sort of deep program environment analysis. The first level, i.e. the directly used objects, for a program can be found via Utilities -> environment analysis from SE38. But then the data element used in your program might be using a domain, that domain might use a check table, that check table might use...you get the idea.

If you're lucky, all relevant objects reside in the same or very few packages. You can add all objects of a package to a transport requests via the SE03 tools.

Thomas

Read only

Former Member
0 Likes
1,558

Hi

Each object is having its own object type as PROG, FUGR, CLAS, TABL,VIEW, TTYP, DTEL and etc. But you can all the objects under one TR. The TR will have all the object types

If you want to add other objects, then goto object Directory entry,assign the package and then select the same TR which is used for program.

If other objects are already assigned to different TR, then delete the object in TR and goto T code and then press it. I t will prompt for new TR, now select the same TR of Program

Shiva

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,559

Hi,

When I create a program, I often create all its new objects under a new package, so it's very easy to transport.

Coming back to your request, there is a wiki with code to get the where used list, then you can add the objects to the transport request, in the demo program, it reads only one level of used objects (you should also remove the standard objects from the list) : [SDN wiki: ABAP program to read where-used lists|http://wiki.sdn.sap.com/wiki/display/ABAP/ABAPprogramtoreadwhere-used+lists ]

Sandra

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,558

When I create a program, I often create all its new objects under a new package, so it's very easy to transport.

You create a new package for every new program o_O ??

Read only

matt
Active Contributor
0 Likes
1,558

I've worked in places where each development has it's own package. For me, I find it overkill, except for large developments encompassing many different objects. Of course, it would be essential if you're in the business of providing third party tools that aren't just made up of a single program.

Effective use of the transport system should be sufficient for keeping related objects together. I.e. one development per transport.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,558

Hello Matt,

I completely your with your view. I've seen complex apps' developement objects being allocated a separate package, but have not seen the scenario mentioned by Sandra.

Generally in my previous projects we stuck to "related-development-per-transport" approach!

BR,

Suhas

Read only

0 Likes
1,558

Hi Suhas,

You create a new package for every new program o_O ??

erm, I admit what I said is very weird, that must be because I'm always in the special context that all my projects have worked with some 10 "functional" packages (ZFI, ZMM) where we put everything inside in bulk. So, I prefer to create my own package to find easily my objects rather than participating in that disorder.

In fact, for simple developments with very few objects (1 to 3), you're right, I don't bother to create one package

Sandra

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,558

Hi Sandra,

So we have the things in perspective now.

some 10 "functional" packages (ZFI, ZMM) where we put everything inside in bulk. So, I prefer to create my own package to find easily my objects rather than participating in that disorder.

And yes i know about the choas it creates when you put your FRICEWs in module-specific packages

Have a good day!

Cheers,

Suhas

Read only

Former Member
0 Likes
1,558

Many thanks to All!

Your answers helped to clarify the issue.