ABAP-ITS声音配置

1.系统有标准的声音,可以直接复制

 2.创建HTML文件

 1 ` if ( ( ~messageline != "" ) && ( ~itsmobilemsgsound == "1" ) || ( ~currdynpro.messagesound != "" ) )
 2    if ( ~messagetype == "S" || ~currdynpro.messagesound == "S" )
 3          <!-- sucess message -->
 4 `        <embed src="`mimeURL(~service="zwm011", ~theme=99, ~language="", ~name="sounds/all/sapsound1.wav")`" loop="1" hidden="true" />
 5 `  elseif ( ~messagetype == "I" || ~currdynpro.messagesound == "I" )
 6          <!-- information message -->
 7 `        <embed src="`mimeURL(~service="zwm011", ~theme=99, ~language="", ~name="sounds/all/sapsound1.wav")`" loop="1" hidden="true" />
 8 `  elseif ( ~messagetype == "W" || ~currdynpro.messagesound == "W" )
 9          <!-- warning message -->
10 `        <embed src="`mimeURL(~service="zwm011", ~theme=99, ~language="", ~name="sounds/all/sapsound1.wav")`" loop="1" hidden="true" />
11 `  elseif ( ~messagetype == "E" || ~currdynpro.messagesound == "E" )
12          <!-- error message -->
13 `        <embed src="`mimeURL(~service="zwm011", ~theme=99, ~language="", ~name="sounds/all/sapsounderr.wav")`" loop="3" hidden="true" />
14 `  end;
15 end;

 3.SICF配置字段

~ITSMOBILEMSGSOUND

posted @ 2023-09-22 10:57  TigerMan  阅读(48)  评论(0编辑  收藏  举报