研究、分享我学习零售业SAP的历程
------------打造中国第一个零售SAP博客

开发步骤

1)在ABAP开发工作台SE80创建应用程序(需要在手持上运行)

2)在SE80中创建一个Internet Service,并分配事务代码保存到package中

3)在SE80里为所有屏幕生成HTML模板

4)在SE80里发布Internet Service

5)创建ICF服务与Internet Service一样的名称,事务:SICF,"default_host/sap/bc/gui/sap/its"

a) 执行SICF transaction,default_host/sap/bc/gui/sap/its,右击并且选择sub element

b) 输入service名称,sevice tab GUI LINK 下拉选择YES,GUI configuration输入下面参数。

c) Logon Data选择Procedure as Alternative logon procedure,Delete other types of logon procedures retaining only Fields Authentication.

d) Handler list tab class name as CL_HTTP_EXT_ITS

e) In the error pages tab choose the last radio button system login.

       i. Click the configuration button.

       ii. Click the check boxes : System ID,client,Language,system messages.

      iii. Give the user specific class as 'CL_MOBILE_SYSTEM_LOGIN'.

f) save the internet service,right click and activate it.Then right click and Test Service.

6)在SICF中激活这个服务,右击这个服务即可以测试

开发时应该注意的地方:

1. UI设计要简单

2. 要有限制的屏幕大小,手持屏幕一般很小

3. 推荐使用标准的控件,如Text Box", "I/O Fields", "Checkboxes", "Radio Buttons" and "Pushbuttons",不支持Tab strips, Table Controls

4. Error/Warning/Status/Information需要在输出字段上做处理,不支持弹出式窗口。

posted on 2012-02-20 15:56  会东  阅读(1710)  评论(0编辑  收藏  举报