一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

Internet Transaction Server (ITS) mobile

 一騎當(dāng)千_30 2018-05-15

Internet Transaction Server (ITS) mobile – Developing ITS templates from scratch

ITSmobile is a SAP technology to connect mobile devices to a SAP system in order to run applications based on the widely used Dynpro programming model. In simple terms, it used to run a dynpro-based application on a browser-based mobile device such as a handheld mobile device or forklift.

            mobile devices.jpg

ITSmobile replaces the Web SAPConsole which will be phased out with SAP NW 7.10.

ITS templates:

ITSMobile features HTML generation of SAP Screens through its Template Generator. The generated HTML acts as a ‘Template’ for further customization as per the flexible user requirements.

Tools required:

The Application design tools required for developing a Mobile ITS application are:

1.    ABAP development workbench.

2.    Web application Builder (Internet Service creator & HTML template generator).

Scenarios when ITS templates need to be generated:

1.    In case, you have custom business requirement, you need to create custom programs for it. This is done by creating a module pool program with the required logic considering all the constraints of designing your screens (given below).

2.    A lot of standard transactions like LM00, LM01, LM02, LM27, LM71, etcetera are available for which ITS templates need to be generated, if not already present.

Custom Development Screen Guidelines for ITS Applications:

1.    Keep the UI simple by design.

2.    Limit the height and width of the screens such as that the mobile device can handle. It is usually around 20 characters by 16 rows.

3.    It is recommended to limit the UI elements to: “Text Box”, “I/O Fields”, “Checkboxes”, “Radio Buttons” and “Pushbuttons”. Frames, Tab strips, Table Controls are not supported.

4.    Do not include any Buttons in GUI Status. Instead, include them on the Screens.
Error/Warning/Status/Information messages should be handled on an output field such as a ‘Textbox’ for displaying only messages. That means, “Message” statement or calling a Function Module to show a popup message / confirmation prompt, should not be used.

Overview of steps involved in creating ITS templates from scratch:

1.    Create an Internet Service

2.    Create an ICF service for the above Internet Service

3.    Generate ITS templates for each screen.

Example hierarchy of ITS Applications:

Snap48.jpg

Create an Internet Service:

1.    In SE80, choose Internet service from the dropdown and give an internet service name. 

  Snap14.jpg

2.    Give an internet service name & name of the transaction to be called when running the ITS application. Save it.

Snap15.jpg

Here, ZUK_DEMO is a dialogue transaction for a module pool program.

3.    Give a short text for the internet service.

Snap16.jpg

4.    Give the parameters as follows:

Snap39.jpg

For parameter ‘Transaction’, give the transaction name of the program. Parameter ‘Service’ denotes the name of the ICF service created in Transaction SICF(given below).

  1. Save.

5.    Create template by right clicking on the internet service CREATE->TEMPLATE.

Snap17.jpg

6.    Give the theme as 99, enter the first screen number for which template needs to created and the generating style should be Mobile Devices (without HTML tables). Save.

Snap18.jpg

7.    HTML template gets generated as:

Snap19.jpg

Click on ‘Publish template’.

8.    Right click on the Internet service, select PULISH->COMPLETE SERVICE.

Snap21.jpg

You should get a success message like this:

Snap22.jpg

Create an ICF Service:

1.    Go to SICF transaction; execute the report to get into the second screen.

2.    Navigate to the path default_host/sap/bc/gui/sap/its and right click and select ‘New sub-element’.

Snap23.jpg

3.    You will get the following message:

Snap24.jpg

Click on the tick .

4.    Give the same Internet service name as given in SE80.

Snap25.jpg

5.    In the service tab for GUI LINK drop down, select YES. In the GUI configuration tab give the following parameters:

Snap53.jpg

6.    In the Logon Data tab choose Procedure as Alternative logon procedure. Delete other types of logon procedures retaining only Fields Authentication.

Snap27.jpg

7.    In the Handler list tab give the class name as CL_HTTP_EXT_ITS.

Snap28.jpg

8.    In the error pages tab, choose the last radio button system login. Click on the configuration button. Click the check boxes: System ID, client, Language. Change the  protocol to ‘Do Not Switch’ & click the checkboxes as per your requirement as shown below:

Give the user specific class as ‘CL_MOBILE_SYSTEM_LOGIN’. Click on the tick.

Snap30.jpg

9.    Save the service, right click and activate it.

Snap31.jpg

Generate ITS templates for each screen.

1.    In se80, to generate ITS template for each screen of your program (only if it’s not already generated), right click on the screen number -> Go to ‘Create template’. Usually, the HTML template for the first screen gets generated while creating the Internet Service itself.

  Snap50.jpg

2.    Select the service that was created, Theme as 99 & select the Generating style as Mobile devices (Without HTML tables).

Snap34.jpg

3.    An HTML template is generated as shown below:

Snap35.jpg

This is open to any modification to suit the user’s requirements.

4.    Save & publish the template by clicking on ‘Publish Template’ button.

5.    Repeat Steps 1-4 for all the screens of the program. A hierarchy of HTML templates is created as shown below:

Snap37.jpg

Generating ITS templates for existing transactions:

The HTML templates for the screens of standard transactions are not already available in the system. Here, HTML templates can be generated either by using the default template generator or by creating your own Generation Style.

1.    If you are using the default template generator, you do not have to generate the templates for all the RF screens of standard transactions. All you need to do is, add the parameter ~generateddynpro = 1 in the parameter list of the Internet Service.

generatedDynpro.jpg

This will enable automatic generation of HTML templates for the screens for which they’re not already generated. Also, these screens will have standard SAP look.

            For performance enhancement, it is better if the HTML templates are generated explicitly for each screen of standard TCodes in se80 as shown above.

2.    If you want to create your own template generation style, you need to derive your own class from the existing class CL_ITS_GENERATE_HTML_MOBILE & then while creating the template for each screen, under ‘Generation style’, select your newly-generated style.

To run the ITS application:

Option 1:

In Transaction SICF, Right click on the service that is created and Test Service.

Snap32.jpg

Option 2:

In se80, Right click on the Internet Service that is created & click on ‘Start Service’.

Snap40.jpg

After asking for the credentials, it will open a webpage and will display the application as seen in a handheld device: 

/wp-content/uploads/2013/01/final_172849.jpg

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類(lèi)似文章 更多

    亚洲少妇人妻一区二区| 欧美午夜色视频国产精品| 国产免费无遮挡精品视频| 免费大片黄在线观看国语| 风韵人妻丰满熟妇老熟女av| 日韩欧美一区二区不卡看片| 国产肥妇一区二区熟女精品| 东京热男人的天堂一二三区| 国产精品国产亚洲区久久| 国产日产欧美精品大秀| 国产不卡视频一区在线| 亚洲最新av在线观看| 情一色一区二区三区四| 欧美日韩国产精品自在自线| 99精品国产自在现线观看| 老鸭窝精彩从这里蔓延| 国产免费一区二区不卡| 亚洲中文字幕亲近伦片| 国产激情一区二区三区不卡| 亚洲欧美日韩中文字幕二欧美 | 精品一区二区三区中文字幕 | 中文字幕高清不卡一区| 粉嫩国产一区二区三区在线| 视频在线播放你懂的一区| 日韩黄片大全免费在线看| 日韩高清毛片免费观看| 99久久国产综合精品二区| 日本少妇三级三级三级| 欧美韩日在线观看一区| 爽到高潮嗷嗷叫之在现观看| 99久久国产综合精品二区| 亚洲中文字幕剧情在线播放| 小黄片大全欧美一区二区| 少妇人妻无一区二区三区| 亚洲午夜精品视频在线| 欧美日韩精品一区二区三区不卡| 男人的天堂的视频东京热| 91久久精品在这里色伊人| 少妇人妻精品一区二区三区| 少妇人妻无一区二区三区| 日韩熟妇人妻一区二区三区|