2007 Oct 22 10:36 AM
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
2007 Oct 22 10:56 AM
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.
2007 Oct 22 11:39 AM
Read_text will return table TLINE. in order to avoid formats use contents of TDLINE and do not use TDFORMAT field of structure TLINE.
2007 Oct 22 12:26 PM
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^
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |