2020 Mar 09 6:55 AM
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
2020 Mar 09 12:36 PM
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
2020 Mar 09 6:57 AM
Did you check to used directly ABAPGit ? you could create a ZIP package directly
2020 Mar 09 7:00 AM
Hi Frederic, thanks for the info. Unfortunately, I cannot install ABAP git on the customer system. Even if it were the best solution.
2020 Mar 09 7:03 AM
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 ?
2020 Mar 09 7:37 AM
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.
2020 Mar 09 7:57 AM
So do you want to export the actual objects (tools: STMS, ABAPGit, SAPLink, ...) or just a list of the objects ("TADIR SE16 approach")?
2020 Mar 09 7:59 AM
Just a list would be enough. In principle, the tadir also works well. But I don't get all objects displayed 🙂
2020 Mar 09 8:26 AM
Don't worry TADIR contains only and every main object. The secondarty objects are included in the main object and will be transported together.
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?)
2020 Mar 09 9:02 AM
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.
2020 Mar 09 9:29 AM
2020 Mar 09 8:26 AM
2020 Mar 09 8:30 AM
Hi Daniel,
FM: RS_FUNCTION_POOL_CONTENTS will give you the list of FMs in a function group.
2020 Mar 09 9:20 AM
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.
2020 Mar 09 10:50 AM
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.
2020 Mar 09 11:09 AM
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.

2020 Mar 09 12:12 PM
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.
2020 Mar 09 12:24 PM
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
2020 Mar 09 12:28 PM
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".
2020 Mar 09 12:36 PM
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