2015 Oct 08 10:25 AM
Hi,
Is there a standard FM or table to find out which header objects (TADIR entries) may hold a given partial object (LIMU).
For example for a partial object of type LIMU METH (method), we would get R3TR CLAS and R3TR INTF as header objects and then use FM TR_READ_TADIRS to find out which header object really exists in the system.
Thanks in advance.
2015 Oct 09 10:57 AM
2015 Oct 09 12:26 PM
Hi Raymond,
I'm using FM TR_CHECK_TYPE, but it doesn't always give the good result.
For example for an object of type METH you will always get CLAS as its header object which could be wrong, because it may be INTF and not CLAS ...
2015 Oct 09 12:37 PM
AFAIK the INTF can only contain the "signature" of the method, the code in the method is always a subobject of the class.
Question: were you actually able to generate a transport entry LIMU METH from an interface modification?
I agree that the method has two parents CLASS for implementation and CLASS or INTF for signature, but I won't expect any FM related to TADIR to return two values, more some where-used FM ?
Regards,
Raymond
2015 Oct 09 12:49 PM
My requirement is to find the header object of a given partial object and then do some process on the header object.
By using FM TR_CHECK_TYPE for an object of type METH I always get CLAS as its header object, and in one particular case it's INTF and not CLAS. So, when I call FM TR_READ_TADIRS or try to select from TADIR table I get nothing because object R3TR CLAS ... is not found !
2015 Oct 09 12:57 PM
2015 Oct 09 1:07 PM
No, I'm getting the objects from a Z program, and I need to find the header object for each partial object in order to process it.
2015 Oct 09 1:16 PM
I do not think that R3TR INTF have METH subobjects. Does it?
2015 Oct 09 1:29 PM
2015 Oct 09 1:37 PM
Are you sure?
How do you invoke LIMU METH object transport from interface? By changing of what in SE24?
Everything you can change about interface "method" is only in description of interface.
Here is some info:
Activating Classes and Interfaces - ABAP Workbench Tools - SAP Library
CLAS:
All global classes have an entry in table TADIR. The corresponding transport object for a class has the name R3TR CLAS <class name> and contains a range of components, each of which is a separate transport unit. Inactive class components are stored in the user’s inactive objects list.
INTF:
The transport object for an interface has the name R3TR INTF <interface name>. It contains a single object with the name INTF.