分享

创建ITS mobile 应用程序步骤

 一骑当千_30 2018-05-15

开发步骤

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需要在输出字段上做处理,不支持弹出式窗口。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章