ITSmobile简介
- ITSmobile (Internet Transaction Server for Mobile) 是新一代实现手持、移动设备(如RF)应用的SAP技术,用于连接手持、移动设备与SAP系统。
- ITSmobile应用Dynpro编程模式。
- ITSmobile代替了WEB SAPConsole,SAPConsole NW7.1 之后将被逐渐淘汰。
- ITSmobile适用于SAP Netweaver 7.10,7.0和SAP Netweaver 2004。
- ITSmobile是Netweaver和ITS集成的一部分。它可以用来创建一个可以通过手持、移动设备的游览器登入的SAP应用程序(有网络功能的SAP应用程序)。
Generated HTML acts as 'Templates' for further customization.ITSmobile模板技术使用了HTML模板概念,创建可视化在浏览器中为SAP屏幕的应用。
动态内容/数据可以包含在模板运行时使用HTMLBusiness(HTMLB)。
(备注: ITSmobile模板生成器允许你生成一个模板或直接创建屏幕。)
ITSmobile在开发上有以下几个优点:
- 可以使用ABAP语言进行开发和调试
- 可以使用SAPGUI基于windows的调试
- 快速初始化模板和可视化的HTML
- 可以编辑模板生成的HTML,达到需求
- HTML 或者 JavaScript可以简单的集成
ITSmobile支持1维和2维的Barcode。
支持语音拣选(pick by voice),XHTML+Voice ,ITS XV Template generator
支持RFID (Radio-frequency identification)
How to Develop a ITSmobile Application
工具要求:
- SAP Web AS ABAP development workbench
- Web application Builder which has 2 components :
- Internet Service creator.
Service Parameters
Theme / Topic
HTML Templates
- HTML Template Generator
- ICM Status -shoul be in Running status(Needs to be checked in Transaction SMICM).
- HTTP Service - should be Active(In transaction SMICM,GOTO-->Services)
- Published Internet Service(In transactions SE80 and SICF)
- ITS own Services
ITSmobile体系结构 (Architecture of ITSmobile)
Steps to create Mobile ITS application:1. 生成Internet Service和模板
- Create the Application(that needs to dispalyed in handheld device) in SAP Web AS ABAP development workbench in SE80.
- In transaction"SE80", select the "Package" in which you want to create the Internet Service (ITS).
- In the tree structure of the package, select "ITS Services".
- Right click the mouse and select "Create".
- If you have created "Package", right click "Create" > "More" > "Internet Service".
- Enter an "Internet Service" name and a "Transaction code" 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.
- Generate HTML Mobile template for all the screens of the ABAP application from "SE80"
- Publish the Internet Service from "SE80"
- 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.
- Creating an ICF Service with the same name (as in Step-2) from Transaction "SICF" under the folder: "default_host/sap/bc/gui/sap/its"
- Activate the service created from "SICF". The service can be tested from the context menu of the Service.
Development Guidelines for Mobile Applications:
- Keep the UI simple by design
- Keep in mind the limited screen sizes of handheld devices
- It is recommended to limit the UI elements to: "Text Box", "I/O
Fields", "Checkboxes", "Radio Buttons" and "Pushbuttons" Refer Supported
Screen Elements for more details
Frames, Tab strips, Table Controls are not supported - GUI Status not to include any Buttons. Instead include it on the Screens
Error/Warning/Status/Information messages should be handled on an output field. That means, "Message" statement or calling a Function Module to show a popup message / confirmation prompt, should not be used
Steps to create Internet service in SE80.
- In SE80 choose Internet service from the dropdown and give an internet sevice name.
- Give the transaction name of the program.
- Create template by right clicking on the internet service CREATE->TEMPLATE.Give the theme as 99,enter the screen no for which template needs to created and the generating style should be Mobile Gerate.
- Double click on the Internet service name.In the parameters section give ~transaction = transaction name of the program and ~generateddynpro = 1.
- Save the service.Right click on the Internet service select PULISH->COMPLETE SERVICE.You should get a success message like this.
Steps to create Service in SICF transaction.
- In SICF transaction,execute the report to get into the second screen.Navigate to the path default_host/sap/bc/gui/sap/its and right click and select New sub element.
- Give the same Internet service name as given in SE80.In the sevice tab for GUI LINK drop down select YES.In the GUI configuration tab give the following parameters.
- In the Logon Data tab choose Procedure as Alternative logon procedure.
- Delete other types of logon procedures retaining only Fields Authentication.
- In the Handler list tab give the class name as CL_HTTP_EXT_ITS.
- In the error pages tab choose the last radio button system login.
- Click the configuration button.
- Click the check boxes : System ID,client,Language,system messages.
- Give the user specific class as 'CL_MOBILE_SYSTEM_LOGIN'.
- save the internet service,right click and activate it.Then right click and Test Service.
- It will open a webpage and will display the application as seen in handheld device.
http://help.sap.com/saphelp_nw70/helpdata/en/46/668d4b72255de4e10000000a1553f6/frameset.htm
No comments:
Post a Comment