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

FM 'Read_Text' error

former_member211589
Participant
0 Likes
381

Hello All,

i am using Read_Text to read PO text and internal text for materilas.If a material doesnt have any of this text the Fm gives error and stops there without proceessing the next material.how to overcome this?

Thanks.

Rakesh.

1 ACCEPTED SOLUTION
Read only

rthoodi
Active Participant
0 Likes
349

Hello Rakesh,

May be you are using sy-subrc check after the FM, comment that code

if sy-subrc eq 0.

comment here.

endif.

use the output parameters for error handling.

Replay me if is not suufice ur requirement

Thanks

RK

1 REPLY 1
Read only

rthoodi
Active Participant
0 Likes
350

Hello Rakesh,

May be you are using sy-subrc check after the FM, comment that code

if sy-subrc eq 0.

comment here.

endif.

use the output parameters for error handling.

Replay me if is not suufice ur requirement

Thanks

RK