一. ITSmobile簡介
ITSmobile( Internet Transaction Server for Mobile)是新一代實現移動設備(如RF)應用的SAP技術,基於廣泛應用Dynpro編程模式,ITSmobile代替了WEB SAPConsole,SAPConsole NW7.1 之后將被逐漸淘汰。ITSmobile適用於SAP Netweaver 7.10,7.0和SAP Netweaver 2004。ITSmobile是集成的一部分,基於Netweaver和ITS。
你可以使用ITSmobile讓一個應用程序或部分的應用程序執行在移動設備的瀏覽器上。
ITSmobile模板技術是很完善的,這項技術基於HTML模板的概念,提供可視化在瀏覽器中為每一個屏幕(dynpro)的應用。動態內容/數據可以包含在模板運行時使用HTMLBusiness(HTMLB)。
ITSmobile模板生成器允許你生成一個模板或直接創建屏幕,
ITSmobile在開發上有以下幾個優點:
Ø 可以使用ABAP語言進行開發和調試
Ø 可以使用SAPGUI基於windows的調試
Ø 快速初始化模板和可視化的HTML
Ø 可以編輯模板生成的HTML,達到需求
Ø HTML 或者 JavaScript可以簡單的集成
有兩種服務,itsmobile00和itsmobile01,在你的系統,你可以用來測試ITSmobile功能。
ITSmobile支持1維和2維的Barcode。
支持語音揀選(pick by voice),XHTML+Voice ,ITS XV Template generator
支持RFID (Radio-frequency identification)
http://help.sap.com/saphelp_nw70/helpdata/en/46/668d4b72255de4e10000000a1553f6/frameset.htm 更多的help
http://wiki.sdn.sap.com/wiki/display/HOME/ITSmobile
二、生成Internet Service和 模板
版本要求:SAP Web AS ABAP 620, Basis Support Package 63
Ø 執行 SE80,選擇 package創建Internet service.
Ø 在樹形結構包中選擇 ITS Services並且右擊選擇Create ,
Ø 假如你已創建package ,擊右Create ® More ® Internet Service.
Ø Enter a service name and a transaction that is to be linked to the service. Leave the ITS Mixed Mode option unselected and save your entries.
A Theme 99 folder is created for the service at the same time as the service.
Ø In transaction SE80, switch to your ABAP application and select all of the screens for which you want to create a template, and choose Create Template from the context menu (if necessary, through More Functions).
Ø Enter the name of the previously created service and a theme (such as 99) and selection Mobile Devices as the generation style.
Ø On the Parameters tab page, enter all of the required parameters. If you have created the service as screen-based and have already specified the associated transaction during the creation process, the parameter ~TRANSACTION is predefined.
Parameter |
Value |
Detail |
~ITSMOBILE |
1 |
Defines the service as a mobile service and sets the corresponding ITS standards. |
~TRANSACTION |
<your transaction> |
Specifies the transaction to be executed. |
~THEME |
<your theme> (for example, 99) |
Specifies the desired theme for your service. |
Ø Confirm by choosing Save.
You have now generated an ITS template for every selected screen. You now need to publish your newly-created Internet service on the ITS:
Ø In transaction SE80, switch back to your Internet service.
Ø Select the service and choose Publish ® Entire Service from the context menu.
Ø Note at this point, that to publish the entire service, you need to select at least one ITS instance (ITS site). To do this, in the ABAP Workbench, choose Utilities ® Settings. Choose the Internet Transaction Server tab page, and then choose Publish. At this point, you can decide the instances (sites) on which your service is to be published.
A message in the status line shows whether the publishing was successful.