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
546

Hi Gurus,

In my smartform am using the read_text FM to retrieving the long text from ME21n tcode. when we creating the po if we give long text means the FM is retrieving the long text. Suppose if we didnt give the long text means my smartform giving the error that object is not defined. How to avoid that error if the long text is not there? If it is means i have to retrieve that long text other wise i have to skip that FM. How to check whether the long text is there or not? Please give me solution for this.

Points will be awarded.

Thanks

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
512

Open the exception in the function module.

Call function 'Read_text'

Exceptions

1.

Mallick

3 REPLIES 3
Read only

Former Member
0 Likes
513

Open the exception in the function module.

Call function 'Read_text'

Exceptions

1.

Mallick

Read only

Former Member
0 Likes
512

HI

just uncomment the exceptions

thanks

vivekanand

Read only

former_member799868
Participant
0 Likes
512

in READ_TEXT FM in exceptions we find one exception i.e NOT_FOUND (Text not found) (sy-subrc = 4.).