
Calling the Internet Service
In order to display MiniApps in the Workplace, you publish Internet services with the ITS. The service can then be:
Up to Release 4.6C, the only way to assign a MiniApp to a role was using a URL in which the service is coded together with its parameters. Starting with Release 4.6D, you do no longer need to code the URL yourself. You simply create a MiniApp in transaction
SE80 as an object of a development class (see:
MiniApp Maintenance) and use an Internet service in this MiniApp. (An Internet service is used by several MiniApps). Then you can assign the MiniApp by its name to a role in transaction
PFCG
. The URL is then generated by the system.
See also:
Integration of Internet Services.
Structure of the URL Generated
For compatibility reasons, you can still assign a MiniApp to a role using a URL. Also, you can use the URL to test your Internet service.
Normally, the URL has the following form:
<web_protcl>://<web_server>/<web_path_prefix>/<service>/!?<CGI_parameters>

The URL section
<web_protcl>://<web_server>/<web_path_prefix> is also shortly referred to as <WEBSERVER> in this documentation .The section up to and including the exclamation mark ('
! ') describes the Internet service on the relevant ITS. Following the question mark (' ? '), there are the CGI parameters to which you assign a value directly in the URL. You separate them by an ampersand (' & ’). For example, you can use the following value for <CGI_parameters>:~language=<language>&~client=<client>

The parameters
~language and ~client can also be passed to the ITS by means of a service file.The URL in the Workplace
If you add your URL to the Workplace using transaction
PFCG , you must not resolve the string <web_path_prefix> since it is specific to the Web server. The Workplace replaces this section of the address with the correct path.Examples
Testing and Calling the MiniALV
To start the MiniALV service with a report called
enjoy on the ITS using the URL http://rosebud:1080 and the Web server prefix scripts/wgate/ (for testing purposes), you call the URLhttp://rosebud:1080/scripts/wgate/minialv/!?report=enjoy
in the Web browser. In this case,
<web_path_prefix> corresponds to scripts . In transaction PFCG , you must then enter the URLhttp://rosebud:1080/<web_path_prefix>/minialv/!?report=enjoy
for this service

In add-on systems you use the service minialv_addon instead of minialv in the URL. See also:
Testing and Calling the MidiALV
To start the MidiALV service with a report called
list on the ITS using the URL http://big:1080 and the Web server prefix scripts/wgate/ (for testing purposes), you call the URLhttp://big:1080/scripts/wgate/webrfc/!?_function=www_alv_call&_report=list
in the Web browser. In this case,
<web_path_prefix> corresponds to scripts . In transaction PFCG , you must then enter the URLhttp://big:1080/<web_path_prefix>/webrfc/!?_function=www_alv_call&_report=list
for this service.