‎2007 Jul 26 7:45 AM
Hi,
I want to retieve the text of a customer sales area , change it and save through a custom program. I am using LOAD_TEXT then SAVE_TEXT.
LOAD_TEXT is giving "not found" error though the text-id exist. If i use READ_TEXT instead of LOAD_TEXT gives the same error.
How can I do it?
Useful answers will be rewared.
Regards,
Tanmay
‎2007 Jul 26 7:49 AM
hi,
Goto that Line editor of that texts fromthe tasaction, then Goto --> header then you will find all the attributes of that texts, pass these attributes in READ_TEXT then you will get the texts
Regards
Sudheer
‎2007 Jul 26 7:51 AM
Hi Tanmay,
When u r using READ_TEXT, r u passing test-id as constant value,
check it.
Rewards points.
Regards
shiv.
‎2007 Jul 26 2:34 PM
NO,
Check it.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = wa_thead-tdid
language = wa_thead-tdspras
name = wa_thead-tdname
object = wa_thead-tdobject
TABLES
lines = it_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Regards,
Tanmay