on 04-12-2013 8:50 AM
Hi,
I am trying to run an MAktiHTML5 mobile application through SUP2.2
by refering the below mentioned site which contains MAKitHTML5
mobile app already build in SUP2.1.2.
Refer site:-
http://www.slideshare.net/SyambabuAllu/html5-ma-kit-hwc-code-example-tutorial
I am performing the following steps in SUP2.2 workspace:-
1.Making MAKit connection.
2.Importing MAKithtml5 project folder.
3.Deploying project to server.
4.Deploying workflow to server.
But when I am running my app through ios device its unable to show me charts
as shown in tutorial.
Can anyone help me on this???
Thanks & Regards,
Anjali Agrawal
If you are using SUP 2.2 SP02, the following is a sample showing its new features including a section on how to use the new MAKit control in a Hybrid App.
SUP 2.2 SP02 New Hybrid App Designer Features https://cw.sdn.sap.com/cw/docs/DOC-152841
See also this post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Thanks 4 your reply.Its really helpful for me.
And also I have the another question if can help me out then it will be very beneficial for me.
My question is:-
I am using SUP2.2 SP02. I want to build and HWC application and run it through desktop browser.
But after building workflow and using the path for hybrid_jqm.html with ?screentoshow=Screen_key on google chrome I am able to see the screen but unable to have a switch to another screen.Means if it is an application to extract employees list then clicking on open tab its not showing the list of employees on another screen.
Encounterring error:-XMLHTTPLoadRequest error.
So Can u give me some suggestion how to run HWC application on desktop browser.
Are you attempting to call an MBO's findAll or findBy method to return the list of employees from the SUP server?
It is not possible to run execute MBO operations running in a browser. These must be executed while running in the Hybrid Web Container on a device.
It is possible for debugging purposes to place the content of a workflow message into an xml file and execute the operation. See the section Simulating a Workflow Message in the sample Debugging a Mobile Workflow https://cw.sdn.sap.com/cw/docs/DOC-150957
Hope that helps,
Dan van Leeuwen
Hi Daniel,
Yes I am using findAll method of MBO's to return list of employees from SUP server.
Even we have ask this question in SAP call to Craig also that whether we can run HWC application from the desktop browser so he said no but still has given with the 2nd option for trying a doc to refer.
It include following:-
Creation of SAP connection.
Creating two MBO's using flight BAPI.
Deploy MBO to server.
Generate Hybird App.
Now the Generate Hybrid app folder contains only js folder with Workflowclient.xml file.
And after that certain steps have to be perform:-
But I am unable to understand these steps.
So can u help me plz...
Anjali Agrawal
It might help if you restate your basic requirements and what you are wishing to accomplish.
If you are using SUP, Mobile Business Objects (MBOs) and the Hybrid Web Container then the generated app must be run inside of the Hybrid Web Container which only runs on an Android, iOS, BlackBerry or Windows Mobile device or simulator.
If instead of using Mobile Business Objects, you use OData to access your backend data, then the app can run in a regular browser.
Here are a few more samples that may be of interest.
Mobile Workflows in an Occasionally Disconnected Environment https://cw.sdn.sap.com/cw/docs/DOC-151623
Using Sencha Touch and OData in a Hybrid App https://cw.sdn.sap.com/cw/docs/DOC-152564
Hi Daniel,
Sorry,for writing HWC because we are not making workflow we are creating SAPUI5 HTML file to call js file created by clicking on Generated Hybrid App option.So we are building an application on SUP2.2 SP02 for running it from desktop browser which include following:-
Creating SAP connection.
Creating MBO's by using Flight BAPI.
Deploying it to server.
Right click on project and click on Generate Hybrid App which creates js and Workflowclient.xml file.
Now as per document we have to perform further steps:-
So can u plz help me out because not able to understand how to perform above mentioned steps or send me any tutorial if you have for:-
How To create a SAPUI5+MBOs+JavaScript APIs app for SUP 2.2
If you use MBOs or Mobile Business Objects in a Workflow or Hybrid App, then the resultant app must be run in the Hybrid Web Container which only runs on devices or simulators.
If you wish to have an app that runs on devices and on the desktop, then I would suggest using OData instead of MBO's.
Here are some other samples that may be helpful.
SAPUI5 OData SUP 2.2 HWC App https://cw.sdn.sap.com/cw/docs/DOC-152610
SAPUI5 OData SUP 2.2 HWC App (UI5-Eclipse archive) https://cw.sdn.sap.com/cw/docs/DOC-152611
Whitepaper: Hybrid App Consuming OData Using SAPUI5 Eclipse Plugin https://cw.sdn.sap.com/cw/docs/DOC-152612
If you would like to use MBO's and SAPUI5, the following sample may be helpful
SAPUI5 MBO Data Binding https://cw.sdn.sap.com/cw/docs/DOC-152686
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.