!--a11y-->
Generating an Internet Service and
Templates 
To make your application executable on the browser of a mobile device in the context of ITSmobile, you first need to generate the corresponding Internet service and the relevant templates.
● To be able to generate templates, you require a functioning SAP Web AS ABAP application. The screen layout of the application must be designed for mobile devices and their limited visualization functions.
○ The maintenance size of the screen must be adjusted to the screen size of the mobile device. The HTML template generator uses the maintenance size of the screens (number of rows / columns) to build an HTML table with a character matrix.
○ The application should use only screen elements that are supported by ITSmobile. For a list of supported elements, see Supported Screen Elements.
● On the SAP Web AS ABAP, you require the following Service/Patch status:
○ SAP Web AS ABAP 620, Basis Support Package 63
●
● You also require an ITS standalone with the following patch status:
○ ITS 6.20, Patch Level 27
○
To create an Internet service with the relevant templates, proceed as follows:
...
1. In transaction SE80, select the package in which you want to create the Internet service.
2. In the tree structure of the package, select the ITS Services entry, and choose Create from the context menu.

If you have newly created a package, choose Create ® More ® Internet Service.
The screen for creating an Internet service appears.
3. 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.
4. 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).
5. Enter the name of the previously created service and a theme (such as 99) and selection Mobile Devices as the generation style.
6. 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. |
7.
8. 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:
9. In transaction SE80, switch back to your Internet service.
10. Select the service and choose Publish ® Entire Service from the context menu.
11. 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.
This completes the generation of the service and the templates.