‎2022 Feb 24 7:36 PM
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é
‎2022 Feb 24 9:00 PM
Is that what you're looking for? https://answers.sap.com/answers/13592224/view.html
‎2022 Feb 25 7:27 AM
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)
‎2022 Feb 25 4:01 PM
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.
‎2022 Feb 25 6:43 PM
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.
‎2022 Feb 28 10:55 AM
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.
‎2022 Feb 28 3:00 PM
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.