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

Header object of a partial object

former_member355261
Participant
0 Kudos
961

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.

9 REPLIES 9
Read only

RaymondGiuseppi
Active Contributor
0 Kudos
613

Use TR_CHECK_TYPE

Regards,

Raymond

Read only

0 Kudos
613

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 ...

Read only

0 Kudos
613

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

Read only

0 Kudos
613

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 !

Read only

0 Kudos
613

Did you find this LIMU METH in E071 (in a transport request) for a method implemented in no class ?

Read only

0 Kudos
613

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.

Read only

0 Kudos
613

I do not think that R3TR INTF have METH subobjects. Does it?

-- Tomas --
Read only

0 Kudos
613

Yes it has METH subobjects

Read only

0 Kudos
613

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.

-- Tomas --