10-26-2007 3:26 PM
Hi
If we display a Data Element in SE11 and click the 'Documentation' button, we are able to see its long text. Can we retieve the same long text in an ABAP program through SELECT from some table or through a function module call?
Similarly, for any Function Module, the long texts can be viewed in SE37 for the Import, Export, Changing, Tables and Exceptions parameters and also the Function Module documentation. Can all these long texts be retrieved in an ABAP Program?
Thanks
AV
10-26-2007 3:29 PM
Hi,
Use Function Module READ_TEXT to retrive the long text.
Pass below values for parameters
text name - <data element name>
text id - 'TX'.
text object - 'DOKU'.
<b>Reward points for helpful answers</b>
Satish
Message was edited by:
Satish Panakala
10-26-2007 3:45 PM
Use RFC_FUNCTION_DOCU_GET to get function module documentation and use DOCU_GET and pass ID = 'DE', LANGU = sy-langu and OBJECT = your data element. You can use this same function module to get the documentation of function modules as well. Pass ID = 'FU' and OBJECT = your function module.