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: 

How to Make The Program Sound

keke8015
Discoverer
0 Kudos

Hi experts

I wonder know is it possible for the program to read the specified words.

For example:

If sy-subrc = 0.

I want to program can read the word 'Yes' to the user.

else.

I want to program can read the word 'No' to the user.

endif.

1 ACCEPTED SOLUTION

iftah_peretz
Active Contributor

See this blog.

3 REPLIES 3

raymond_giuseppi
Active Contributor

You could use method CL_GUI_FRONTEND_SERVICES=>EXECUTE or OLE2 functions to read some standard sound files or even call the Speak text-to-speech command (e.g. application.speech.speak)

iftah_peretz
Active Contributor

See this blog.

Hi Lftah Peretz

Thanks for your information and it's really very helpful.:)