
Developing an Internet Service from a Transaction
Prerequisites
You have created a Web transaction from a task or a workflow, as described in the previous steps.
- You know the task/workflow and the name of the transaction with the associated module pool. If you do not know the transaction and module pool, you can find out their names from the definition of the single or multiple step tasks by choosing Goto ®
Web transaction.
Procedure
Call the Object Navigator. For more information on operation, see
Object Navigator.
Generate an Internet Service. Also choose
Edit object. Change to the tab page Web objects, select ITS Service, and choose
.
The Web Application Builder dialog box is displayed: Create Internet Service.
Enter the task ID for the name of the Internet service, select Easy Web transaction, enter the code of the Web transaction generated as the transaction code, and choose Continue.

If you have generated a Web transaction for the workflow
WS12345678 and have defined AB as the namepsace template, then the generated web transaction has the transaction code YABWS12345678H. Enter WS12345678 in the Internet service field and YABWS12345678H in the Transaction code field.
Save the Internet service in the same package as the Web transaction.

For more information, see
Create Internet Service.
The Web Application Builder screen is displayed: Change Internet Service.
Enter a short text for the Internet service on the properties tab page. You can define additional parameters on the parameter tab page. Here you should at least select the ~LOGIN and ~PASSWORD parameters. Use the F4 possible entries for parameter input.
If the Internet service that you just created is not displayed in the object lists selection, select it there.
Theme 99 is displayed in the object service for your Internet Service. All HTML Templates are assigned to a theme.
Create a HTML template for each screen of your web transaction. Select the Internet service in the object list, and choose Create ®
Template in the context menu.
The Web Application Builder dialog box is displayed: Create HTML Template. If necessary, enter
99 in Theme, select Generate HTML from screen, and enter the number of the screen for which you want to generate an HTML template in Screen number. Choose HTML Business as Generation style. Repeat the procedure for all screens of the web transaction (50, 100, 150 and 200). For more information, see
Creating HTML Templates.
Revise the HTML templates. For more information, see
Extending HTML Templates and Generating HTML Templates.
Publish the Internet Service on the requested instance(s) of the Internet Transaction Server. For more information, see
Publishing Service.
Result
All of the files required by this service have been copied to your ITS server and, therefore, can be called when necessary.