‎2007 Mar 20 9:44 AM
Hi All,
I am using READ_TEXT to read header text for RFQs. TC ME43.
But it reads text with tags like <H>DEAR PHIL,</>
I want to avoid printing of these extra tags and only display text.
Please provide solution.
Thanks,
Pratibha.
‎2007 Mar 20 9:47 AM
Hi Pratibha,
While passing the parameters to that FM make sure with the internal table data what it have. Just debug and make sure from where that TAG is coming. Hope this helps you.
Regards,
Kumar.
‎2007 Mar 20 10:07 AM
Hi,
Make sure u call the FM correctly as below.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'HR_G'
LANGUAGE = 'E'
NAME = 'ZSAM'
OBJECT = 'TEXT'
* ARCHIVE_HANDLE = 0
IMPORTING
HEADER = HTEXT
TABLES
LINES = LTEXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.In this case it will not give u any extra characters..
Cheers,
Sam