‎2009 Feb 21 7:19 AM
Hi All,
how to solve this error while running smart form via program when i call function module in smartform in program line CALL FUNCTION 'READ_TEXT' THEN bellow error show
TEXT R10005 IP BEST LANGUAGE EN NOT FOUND. please help me
Ketan
ABAP consultant.
‎2009 Feb 21 7:38 AM
Ketan,
The text which ur trying to read doesn't exists.
Before calling the FM read_text check the entries in Table STXH there u find the details of the long text maintained. If the record exists there then call the FM with the details in STXH such as TDID, TDOBJECT SPRAS etc.
Regards...
‎2009 Feb 21 10:38 AM
Hi,
After calling FM u must have issuied message using Message statement.
If the text u r trying to read doesn't exist u will get exception in FM call. So it is issuing error message.
Just comment the message statement and put a check for sy-subrc. If sy-subrc is 0 then do further processing else don't do any thing.
Thanks,
Vinod.