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

Export/Show all objects in a develompent package

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes
11,202

Hello experts, i am currently in the process of exporting all objects associated with a package. I have chosen the approach with the table tadir se16 approach. But now I noticed that only the function group is displayed without the function modules. Is that supposed to be the case? If I had to do all this manually, it would be a lot of work. Does anyone have any idea what you can do here? I also tried this but the report dumps. I need to export the objects from the system, so I cannot use the SE80.

Best regards

Daniel

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
9,643

I am lost in what you are trying to do .

--> E071 / E071K will work only if your objects have been integrated in a transport request.

If you only want to see the list of the objects link to a package

--> Trans SE03 > Change Object Directory Entries > Enter only the package name in the second part of the screen > Execute

Hello experts, i am currently in the process of exporting all objects associated with a package. I have chosen the approach with the table tadir se16 approach. But now I noticed that only the function group is displayed without the function modules. Is that supposed to be the case? If I had to do all this manually, it would be a lot of work. Does anyone have any idea what you can do here? I also tried this but the report dumps. I need to export the objects from the system, so I cannot use the SE80.

Best regards

Daniel

18 REPLIES 18
Read only

FredericGirod
Active Contributor
9,643

Did you check to used directly ABAPGit ? you could create a ZIP package directly

Read only

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes
9,643

Hi Frederic, thanks for the info. Unfortunately, I cannot install ABAP git on the customer system. Even if it were the best solution.

Read only

9,643

Second option, create a transport request & export the files. But you will be able to import it only in the same system version.

If you cannot create temporary program, how would you export the data ? manualy ?

Read only

Abinathsiva
Active Contributor
9,643
Hi Daniel,

Hope this will help to pullout all relevant object of package, or transport request. Table E070, E071 will have most of the details, further by using E07T object text.

SELECT       e71~trkorr
             e71~pgmid
             e71~object
             e71~obj_name
             e71~lockflag
             e70~trfunction
             e70~trstatus
            e70~as4user
             e70~as4date
             e70~as4time
            e70~strkorr
*            e70~AS4TEXT
    FROM e070 AS e70 INNER JOIN e071 AS e71 ON e70~trkorr = e71~trkorr
                    INTO TABLE it_e7071t
                    WHERE    e70~trkorr   IN tr_reqst
                     AND e70~strkorr  IN request
         AND e70~as4user  IN username
         AND e70~as4date  IN date
         AND e71~object   IN object
         AND e71~obj_name IN obj_name.
Read only

ThomasZloch
Active Contributor
9,643

So do you want to export the actual objects (tools: STMS, ABAPGit, SAPLink, ...) or just a list of the objects ("TADIR SE16 approach")?

Read only

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes
9,643

Just a list would be enough. In principle, the tadir also works well. But I don't get all objects displayed 🙂

Read only

RaymondGiuseppi
Active Contributor
9,643

Don't worry TADIR contains only and every main object. The secondarty objects are included in the main object and will be transported together.

  • Check your previous transport requests (or table E071) main objects have a Program ID 'R3TR' and subobjects have a program id 'LIMU'.
  • Transporting the R3TR FUGR function group will implicitly transport every Function Module LIMU FUNC, include LIMU REPS, FG text LIMU FUGT, etc.
  • In the same way transporting a program R3TR PROG or class R3TR CLAS will carry every subobject.

NB: Did you try to generate the transport request from transaction SE80, display/select the package and ask for transport in contextual menu, a pop-up will ask transport 'the Package' or 'All of the objects in the Package' (What do you mean with 'I need to export the objects from the system, so I cannot use the SE80.' are you working from a console of the Application server, is there a legitimate reason for that?)

Read only

0 Likes
9,643

Raymond, thanks for the info. So the whole context is that I'm performing a namespace convention. For this I need all objects of the packages and transfer them into Excel. The solution with the tadir is therefore so nice, because I get the type displayed next to the object name. In Excel I then calculate the "new" names and transfer them back to SAP using SAP Script. The best way to do this would really be SAP Git but as I said before, I can't just use that.

The other possibility is to unfold the package in the SE80 and then simply copy everything with copy past. The problem with this is that I then don't get the object types displayed, for example.

Read only

9,643

So you have also to rename some subobjects as function modules. Does your new convention require also other objects?

  • You can find the FM from a FG within table TFDIR or directly from a package within view INFO_FUNC.
Read only

FredericGirod
Active Contributor
9,643

The E071 E071K is the best option so

Read only

Sathya_Gunasekaran
Contributor
9,643

Hi Daniel,

FM: RS_FUNCTION_POOL_CONTENTS will give you the list of FMs in a function group.

Read only

ThomasZloch
Active Contributor
9,643

If you are allowed to type in some code at all, then use function module SVRS_RESOLVE_E071_OBJ to convert the R3TR main objects from TADIR into their LIMU ingredients and display the list via SALV for easy excel export.

Read only

BiberM
Contributor
9,643

What level of the objects do you need exactly?

In TADIR you will find all registered main objects. As thomas.zloch already mentioned you could resolve the main objects to the sub objects by using a function module. But that way you will also get all methods and includes of a class.

That is why I am questioning what exactly you need. You should either list all sub objects or the main objects only. But mixing this up (e.g. Function Modules and classes only) would be somehow incomplete and not consistent.

Read only

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes
9,643

So I'm good with the names of the objects. There would be no need for me to obtain individual methods. As marked in the picture I would like to "export" all objects from one package. So I need the "names" of the dictionary objects the class names, interfaces, function groups, function modules, message classes, Enhancement objects.... I do not need objects from the source code.

Read only

9,643

How do you want to export? Would a transport request sufficient? In that case that main objects are all that you need. So a function group transports all function modules and a report transports the source, the text objects and so on.

Read only

0 Likes
9,643

If the objective is only to create a transport request with all the objects of a package, you don't need all these.


SE80 > Package > Right click > write transport entry > ALL OBJECTS

Read only

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes
9,643

Sure the transport request contains all objects but how do I get them from the transport request in e.g. a text file? I'm a little confused right now. Furthermore I am not allowed to create transport request myself. So I know which request the packages are hanging on, just how do I get them from there to a txt. With table E071 I still don't get any further and the function module throws me the error "not versionable".

Read only

FredericGirod
Active Contributor
9,644

I am lost in what you are trying to do .

--> E071 / E071K will work only if your objects have been integrated in a transport request.

If you only want to see the list of the objects link to a package

--> Trans SE03 > Change Object Directory Entries > Enter only the package name in the second part of the screen > Execute