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

Error in smartforms

Former Member
0 Likes
449

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.

2 REPLIES 2
Read only

Former Member
0 Likes
409

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...

Read only

vinod_vemuru2
Active Contributor
0 Likes
409

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.