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

Reading Standard Texts

Former Member
0 Likes
524

Hi all,

I am using the FM READ_TEXT to read the standard text, but it also reads the tags Character formats alongwith the text as

<B> Header Text </>

Is there any FM which can be used to read the text without the formats <B>..</>,

<RX> ...</> etc.

Else how to achieve it?

Apreciate your ideas.

Regards,

Stock

Hi all,

I am using the FM READ_TEXT to read the standard text, but it also reads the tags Character formats alongwith the text as

<B> Header Text </>

Is there any FM which can be used to read the text without the formats <B>..</>,

<RX> ...</> etc.

Else how to achieve it?

Apreciate your ideas.

Regards,

Stock

3 REPLIES 3
Read only

Former Member
0 Likes
503

Hi,

In FM READ_TEXT, use the table parameter. Pass a internal table of type

DATA: BEGIN OF TXTLIN .

INCLUDE STRUCTURE TLINE.

DATA: END OF TXTLIN.

DATA: I_TXTLIN type standard table of TXTLIN.

Use i_txtlin in table parameter which gets the header information has text format and text line seperately.

Reward if it is useful.

Thanks,

Muthu.

Read only

Former Member
0 Likes
503

Read_text will return table TLINE. in order to avoid formats use contents of TDLINE and do not use TDFORMAT field of structure TLINE.

Read only

Former Member
0 Likes
503

hi

good

try this function module otherwise

CALL FUNCTION 'READ_TEXT_INLINE'

EXPORTING OBJECT = ?...

NAME = ?...

ID = ?...

LANGUAGE = ?...

INLINE_COUNT = ?...

IMPORTING HEADER =

TABLES LINES = ?...

INLINES = ?...

EXCEPTIONS ID =

LANGUAGE =

NAME =

NOT_FOUND =

OBJECT =

REFERENCE_CHECK =

http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8d5494511d182b70000e829fbfe/content.htm

reward point if helpful.

thanks

mrutyun^