<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Playing sounds through ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694026#M889500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wandering if there is a way to play a WAV sound-file through ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way to add such kind of file to the Business repository (Transaction 0FPM002) and by double-clicking it SAP knows to play it, like it knows to display a GIF object by double clicking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how to implement it in the UI.&lt;/P&gt;&lt;P&gt;The GIF object I'm implementing through a Custom-container that hosts the object, but this of course, does not work for the WAV object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ideas will be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 13:10:14 GMT</pubDate>
    <dc:creator>yes_sapteam</dc:creator>
    <dc:date>2008-04-14T13:10:14Z</dc:date>
    <item>
      <title>Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694026#M889500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wandering if there is a way to play a WAV sound-file through ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way to add such kind of file to the Business repository (Transaction 0FPM002) and by double-clicking it SAP knows to play it, like it knows to display a GIF object by double clicking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how to implement it in the UI.&lt;/P&gt;&lt;P&gt;The GIF object I'm implementing through a Custom-container that hosts the object, but this of course, does not work for the WAV object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ideas will be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 13:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694026#M889500</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2008-04-14T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694027#M889501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have played sound using two techniques.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To play a wav you must envoke media player and have the wav on the PC's which will play it. This code opens media player plays the wav and then closes the player. I haven't figured out to get media player just to execute in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'GUI_EXEC'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            command = 'mplay32.exe /play /close c:\temp\info.wav'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694027#M889501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694028#M889502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joseph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your response were very helpfull. &lt;/P&gt;&lt;P&gt;I don't know if I can use it since we need a quick response (The scenario: employee scan products and need to know if they are in warranty or out of warranty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we could load the program, even in the foregroud, and just send files to it, that would be much faster I believe.&lt;/P&gt;&lt;P&gt;I'll keep testing and will update post if I'll make progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 07:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694028#M889502</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2008-04-15T07:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694029#M889503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you work a solution that plays wav without a foreground application, I would be most interested as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some of my sound requirements I needed to make a beep below is code on just envoking a single beep from the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  type-pools:&lt;/P&gt;&lt;P&gt;    ole2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;    return  type i,&lt;/P&gt;&lt;P&gt;    sapinfo type ole2_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;    begin of command,&lt;/P&gt;&lt;P&gt;      command(12)           type c value 'cmd /c echo ',&lt;/P&gt;&lt;P&gt;      hex07(1)              type x value '07',&lt;/P&gt;&lt;P&gt;    end of command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create object sapinfo 'SAPINFO' no flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method of sapinfo 'EXEC' = return&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      #1 = command&lt;/P&gt;&lt;P&gt;      #2 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  free sapinfo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694029#M889503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694030#M889504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 11:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694030#M889504</guid>
      <dc:creator>sarat_malladi</dc:creator>
      <dc:date>2015-12-28T11:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Playing sounds through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694031#M889505</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I tried to use the code echo above but cannot play a sound...I'm using windows 10.&lt;/P&gt;&lt;P&gt;hope you can help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 17:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/playing-sounds-through-abap/m-p/3694031#M889505</guid>
      <dc:creator>jeff_broodwar</dc:creator>
      <dc:date>2019-08-02T17:05:04Z</dc:date>
    </item>
  </channel>
</rss>

