‎2012 Jan 13 10:39 AM
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.
‎2012 Jan 13 10:50 AM
‎2012 Jan 13 10:50 AM
‎2012 Jan 13 10:55 AM
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
‎2012 Jan 13 10:57 AM
Hello,
You can check the FM 'DOCU_READ' to read the documentation on the objects programmatically.
BR,
Suhas
‎2012 Jan 13 11:06 AM
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
‎2012 Jan 13 11:22 AM
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
‎2012 Jan 13 11:23 AM
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
‎2012 Jan 13 11:32 AM
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.
‎2012 Jan 13 11:56 AM
Hi,
Long-text is some thing different, What you need was description
‎2012 Jan 13 10:58 AM