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

Connection between E071 Objects and Master Tables

AndKob
Explorer
0 Likes
3,858

Hi,

I'm currently developing a tool which automatically documents objects or customizing activities in transport requests by comparing the objects with another system. For normal customizing it's easy, as I can see all tables with their keys in E071 and it's linked tables. So I'm able to dynamically read and compare them. No problem here.

But I'm struggeling with workbench objects. Let's take a class method as an example.
The Program ID in this case is "LIMU" with object type "METH". The table where information are stored for methods is "TMDIR".

SAP somehow knows that the combination of LIMU and METH belongs to the base table "TMDIR".
I can't find where this information is stored. I don't want to hardcode the tables for these combinations as they have to be in the depths of the system.

Does anyone know which tables of function calls I can use?


Thanks
André

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
3,457

Is that what you're looking for? https://answers.sap.com/answers/13592224/view.html

Read only

FredericGirod
Active Contributor
0 Likes
3,457

sandra.rossi I think it is more related to one program you have made, long time ago, to control consistency of transport request. (but I am not sure)

Read only

AndKob
Explorer
0 Likes
3,457

sandra.rossi Sorry, but this has nothing to do with my problem. I only used a class method as an example. Of course I also want to know where other workbench objects e.g. reports, forms etc. are stored.

Read only

Sandra_Rossi
Active Contributor
0 Likes
3,457

Okay so frdric.girod could be right. But I am not sure which master table you are looking for. Why do you want TMDIR for LIMU METH? Could you provide a precise example? Is it just to check if the object exists?

Maybe you could debug what is behind the F4 to display the list of all (?) existing objects which is possible in many ABAP Workbench screens, or Ctrl+Shift+A in ADT.

Also, maybe GET_WB_TYPE_FROM_TADIR_TYPE or GET_WB_TYPE_FROM_TADIR_TYPE could also help in some intermediate conversions.

Read only

AndKob
Explorer
0 Likes
3,457

Yes, I only want to see if an object exists. I know the TADIR table, but this is not precise enough. In this table are only the top objects, not subobjects.

For example: In TADIR are lots of entries for R3TR CLAS (top object), but none for LIMU METH (sub-object). So this table is sadly more or less useless.

Because of that I'd like to know the database table of the objects.
A few easy examples:
LIMU METH = TMDIR
R3TR CLAS = SEOCLASS
LIMU REPS = TRDIR

I'm looking for a database table which links the combination of program-id and object with the corresponding tables. I believe there have to be something like that, as the transport requests have to know where the objects are stored. Otherwise the import would not be possible.

Read only

Sandra_Rossi
Active Contributor
0 Likes
3,457

If you don't have a standard SAP application to do that, not sure that this magical thing exists. To get the "enclosing object" (R3TR) from a LIMU "sub-object", you may try these function modules: SVRS_RESOLVE_E071_OBJ, GET_R3TR_OBJECT_FROM_LIMU_OBJ, TR_CHECK_TYPE.