Application Development 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: 

FM 'Read_Text' error

former_member211589
Participant
0 Kudos
81

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

rthoodi
Active Participant
0 Kudos
49

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

rthoodi
Active Participant
0 Kudos
50

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