It's not officially supported, but it works
A company who implemented MSOn (SAP Mobile Sales Online) contacted us with a problem - the application was not working on Windows Mobile 6.1 devices. This blog will tell you why and how we fixed the issue.
MSOn is not supported by SAP on Windows Mobile 6.1 devices. The customer had some older Windows Mobile 5 SmartPhones. On them he tested during the implementation and now for the go live he bought the latest Windows Mobile 6.1 Professional devices. Unfortunately he found very soon out that the application was not working - all links were dead. That means that if you click on a link, nothing happens.
As a workaround, the customer installed the Opera Mini browser - here we had working links, but the layout was broken. It was definitely no solution you can go live with.
When they first contacted us, we had no idea how to make this work - I asked my msc colleagues Marc Antoine and Martin who were involved in the development of MSOn when they worked for SAP - they had no idea either.
As a last resource I contacted my friend Karthik Setty, who used to work for SAP and was the Development Lead for Mobile Web DynPro. He knew the answer ...
The Web DynPro server does not recognize the Windows Mobile 6.1 user-agent String, which is send from the device to the server when it connects. Therefore we have to tell the server explicitly which client connects. We extended the URL like this:
- Original: http://sap.msc-mobile.com/webdynpro/dispatcher/sap.com/mba~com.sap.mbs.mso.main/MSOMain
- New: http://sap.msc-mobile.com/webdynpro/dispatcher/sap.com/mba~com.sap.mbs.mso.main/MSOMain?sap-wd-client=Pie03Client
The following values for the sap-wd-client are available:
- HTMLClient - for desktop machines
- NokiaS80Client - for Symbian S80 devices
- Pie03Client - for Windows Mobile (not available in NW 7.1)
- PieClient - for Windows Mobile (available in 7.0 and 7.1)
- WmlClient - for Blackberry
You can find more information about the different clients here: http://tinyurl.com/MWD-Clients
Again - this workaround is not supported by SAP! But it will help you if you plan to run a Web DynPro application on Windows Mobile 6.1
[Update] Stefan Wawrzinek asked me to add the PieClient - that's what I did.