!--a11y-->
Mobile
Web Dynpro 
The SAP Web Application Server allows direct online access to Web Dynpro applications using mobile devices. As part of the SAP Web Application Server, Web Dynpro provides a development and runtime environment with which you can quickly and simply create professional user interfaces for desktop PCs or for mobile devices. An appropriate infrastructure and renderer classes are provided for developing mobile Web Dynpro applications for pocket PCs as well as for BlackBerry Wireless Handhelds.
No additional installations are necessary. You develop using the same development environment – the SAP NetWeaver Developer Studio – that you use to program Web Dynpro applications for a desktop browser. In most cases, you can adapt the user interface to fit the small screen of a mobile device. All other functions that provide support – such as context mapping, connecting a back end using RFC, or data binding – are used in the same way.
For the development of mobile Web Dynpro applications, the application development therefore uses:
The individual mobile components are:
Web Dynpro applications for pocket PCs and BlackBerry Wireless Handhelds are always online applications that run on the J2EE Engine and are displayed in the Web browser of these mobile devices.
Pocket PC users require a suitable network or internet access that enables access to the J2EE Engine. This can be implemented using LAN, WLAN, Bluetooth, GSM, or GPRS, for example. Additional hardware is required as well as a service contract with a telecommunications provider. More information is available at http://www.microsoft.com/windowsmobile/.
Users of BlackBerry Wireless Handhelds will generally already have a service contract that includes internet access via a cellular network. Users of such devices need only ensure that all network and technical prerequisites for accessing the J2EE Engine are met. More information is available at the manufacturer’s web site http://www.rim.net/.
A range of user interface elements can be used for developing mobile Web Dynpro applications. These include:
UI elements for the mobile development of Web Dnypro applications
UI Element |
Pocket PC |
BlackBerry Wireless Handheld |
Button |
R |
R |
Caption |
R |
R |
CheckBox |
R |
R |
CheckBoxGroup |
R |
R |
DropDownByIndex |
R |
R |
DropDownByKey |
R |
R |
Group |
R |
R |
Image |
R |
R |
InputField |
R |
R |
Label |
R |
R |
LinkToAction |
R |
R |
LinkToURL |
R |
R |
RadioButton |
R |
R |
RadioButtonGroupByIndex |
R |
R |
RadioButtonGroupByKey |
R |
R |
TabStrip |
R |
No |
Table |
R |
R |
TextEdit |
R |
R |
TextView |
R |
R |
TransparentContainer |
R |
R |
Tray |
R |
No |
ViewContainerUIElement |
R |
R |
Detailed
information about the individual user interface elements is available in the
relevant API descriptions (see
Web Dynpro UI Element
Reference Guide).

For testing and developing mobile applications, the use of emulators is recommended – for example, the Pocket PC emulator (www.microsoft.com/pocketpc) or the BlackBerry Emulator (http://www.blackberry.com/developers/). These emulators imitate the behavior of mobile devices and be downloaded from the Web pages of the device manufacturers. The application development can thus monitor and test the results of your development without actually using a mobile device for the development or testing. However, you should always test applications on a real mobile device as well.
You can use a URL parameter to force the rendering for a specific device type. To do so, add the following parameter to the URL for calling the Web Dynpro application:
?sap.session.client=PieClient for Pocket PC
?sap.session.client=WmlClient for BlackBerry Wireless Handheld.
