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

Long text for object type.

parshuram_kokare
Explorer
0 Likes
2,444

Hi,

Is there any table which stores long text for object type?

I am fetching list of objects from table TADIR for particular user, I am getting objects as DOMA, TABL, PROG ..etc But I want long text for these object type for eg. Domain for DOMA, Program for PROG and so on.. Is there any method to get the long text for object type?

Regards,

Parshuram.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,793

Did you tried function module TRINT_OBJECT_TABLE ?

9 REPLIES 9
Read only

Former Member
0 Likes
1,794

Did you tried function module TRINT_OBJECT_TABLE ?

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,793

Execute the function TR_OBJECT_TABLE without any inputs. You will get it. found in search help exit TRINT_F4_EXIT_OBJECT

Vinod - Anyways the fm is internally called in this

Edited by: Keshav.T on Jan 13, 2012 4:25 PM

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,793

Hello,

You can check the FM 'DOCU_READ' to read the documentation on the objects programmatically.

BR,

Suhas

Read only

Former Member
0 Likes
1,793

Something interesting(?) in TRINT_OBJECT_TABLE. Refer to include LTR_OBJECTSF02 which is used to fill the details of SYSTEM types (Called from Line 33 of FM) where list of system object types are hard-coded with text-elements. That means there is no SAP tables which stores this information ?

Regards, Vinod

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,793

Hello Vinod,

Looks like the FM 'TRINT_OBJECT_TABLE' is tightly coupled to SAP CTS & hence the hard-coding! Also i don't see where the long text of the object is returned.

On the contrary if you check the FM 'DOCU_READ' you've the table DOKTL which stores the long text(or the documentation) of the object.

Btw, i'm not sure what did the OP actually mean by "long-text". Does he mean the documentation?

Dammit! I get it now. Imho, "description" should have been a more appropriate word

BR,

Suhas

Edited by: Suhas Saha on Jan 13, 2012 4:57 PM

Read only

0 Likes
1,793

When I first checked it through SE03, the report program actually uses the text elements for initially displaying object type texts, but later I thought that for the rest it would be maintained somewhere as the input uses a search help. :)..You are right Vinod

Kesav

Read only

0 Likes
1,793

Hi Sushas,

long text means i need only the long name for the Object maintained in table TADIR.. Firstly i was planning to maintain text element for the same. Now, FM 'TRINT_OBJECT_TABLE' giving me the ouput i expected ( its also maintaining the text element only )..

Regards,

parshuram.

Read only

0 Likes
1,793

Hi,

Long-text is some thing different, What you need was description

Read only

parshuram_kokare
Explorer
0 Likes
1,793

Problem Solved!!!

Thank you all for your help.