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

Former Member
0 Likes
790

Moderator message: please use a meaningful subject in future

Hi,

How to read a long text from a screen developed in EP.

Should I go with read text ??? if Yes how do i know the parameters that need to be passed to READ_TEXT function module.

Regards,

Mr.A

Edited by: Matt on Dec 2, 2008 2:13 PM

7 REPLIES 7
Read only

Former Member
0 Likes
763

hi,

i dont have much knowledge on EP, but see whether u can able to find

tdid, tdname and tdobject for that long text...

if u can able to find this, it is definitely possible.. hope u know that...

Rgds.,

subash

Read only

Former Member
0 Likes
763

hi

To get the parameter of this function Module, you have to go to the text you want, diplay it in plain page mode and then via the menu 'GO TO' --> 'HEADER' .

A popup window give you : object id, name, ...

The table "t_tdline" contains the entire text .

CALL FUNCTION 'READ_TEXT'

EXPORTING*

CLIENT = SY-MANDT

id = w_id

language = sy-langu

name = w_name

object = w_object*

ARCHIVE_HANDLE = 0*

LOCAL_CAT = ' '

IMPORTING

HEADER = tables

lines = t_tdlines

hope it helps

regards

Aakash Banga

Read only

0 Likes
763

hay aakash,

I am talking about the screen developed on EP.

Read only

0 Likes
763

Hi,

check this table STXH and STXL may be useful in finding the id , name , object.

Rhea.

Read only

matt
Active Contributor
0 Likes
763

Please use a meaningful subject in future

Read only

Former Member
0 Likes
763

http://www.sapdev.co.uk/sapscript/sapscript_texts.htm

or

FM:- SAVE_TEXT to save long text.

Read only

Former Member
0 Likes
763

Functional consultant should be able to tell you in which SAP transaction that long text get originated or get saved.

Only from there you can go to HEADER & find ID & other info.