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

Read_text

Former Member
0 Likes
312

Hi Friends,

I am using FM to read texts entered in Purcahse Order

Header and ITem level. My problem is that when text is not mentained i am getting error message "text does not exist"

Is there any alternative way to get the test or any solution for the above problem.

with regards,

Pravin

1 REPLY 1
Read only

Former Member
0 Likes
280

1. You can trap the exception using SY-SUBRC of the function so that you know when the error happens.

2. You can fire a select on STXH table to see if the text exists and call READ_TEXT only if the select is successful.

regards,

Ravi