Skip to Content
avatar image
Former Member

How to Make The Program Sound

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 21, 2017 at 11:34 AM

    See this blog.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2017 at 08:07 AM

    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)

    Add comment
    10|10000 characters needed characters exceeded