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

How to Make The Program Sound

keke8015
Discoverer
0 Likes
1,719

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
Read only

iftah_peretz
Active Contributor
1,537

See this blog.

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.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
1,537

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)

Read only

iftah_peretz
Active Contributor
1,538

See this blog.

Read only

1,537

Hi Lftah Peretz

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