From SAP to app using rhomobile
-
Upload
mark-teichmann -
Category
Technology
-
view
1.435 -
download
2
description
Transcript of From SAP to app using rhomobile
![Page 1: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/1.jpg)
© INFO AG | April 13, 2023 | page 1
Mark Teichmann, Info AG
From SAP to app using Rhomobile
![Page 2: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/2.jpg)
© INFO AG | April 13, 2023 | page 2
Mobile Application Development Platforms
=> Suite of products and services that enable development of mobile applications
Typical Features
• Cross-platform support
• Middleware for Data Sync, Security, App Provisioning
• Graphical Editor / Code generation
What is a MADP?
![Page 3: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/3.jpg)
© INFO AG | April 13, 2023 | page 3
Mobile Application Development Platforms
• Antenna Software
• Appcelerator
• IBM Worklight
• Kony Solutions
• Rhomobile
• Sybase Unwired Platform
• Syclo (will be merged into Sybase Unwired Platform)
• Verivo
• …
Overview of well known Vendors
•Rhomobile
![Page 4: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/4.jpg)
© INFO AG | April 13, 2023 | page 4
Components of RhomobileSource: http://www.rhomobile.com/products/
![Page 5: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/5.jpg)
© INFO AG | April 13, 2023 | page 5
Mobile ProcessApproval of a Purchase Requisition
![Page 6: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/6.jpg)
© INFO AG | April 13, 2023 | page 6
Live Demo
![Page 7: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/7.jpg)
© INFO AG | April 13, 2023 | page 7
Livedemo continued…
![Page 8: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/8.jpg)
© INFO AG | April 13, 2023 | page 8
Livedemo continued…
![Page 9: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/9.jpg)
© INFO AG | April 13, 2023 | page 9
Components of Rhomobile
• Design mobile apps using Ruby and Eclipse
• Synchronize data with backend systems
• Build apps for all platforms in the cloud
Rhodes
RhoConnect
RhoHub
RhoStudio
![Page 10: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/10.jpg)
© INFO AG | April 13, 2023 | page 10
Rhodes
• Open Source Framework for building mobile applications
• Ruby MVC
• Rhom Database Object Mapper
• UI is HTML5/CSS/JS
• Rendered in native browser app
• Available for Android, iOS, Blackberry, Windows Phone
![Page 11: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/11.jpg)
© INFO AG | April 13, 2023 | page 11
Rhodes Framwork ArchitectureSource: http://docs.rhomobile.com/rhodes/introduction#framework-architecture
![Page 12: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/12.jpg)
© INFO AG | April 13, 2023 | page 12
Ruby MVC• Mode
l
• View• Cont
roller
• Model
• View• Cont
roller
• Model
• View• Cont
roller
![Page 13: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/13.jpg)
© INFO AG | April 13, 2023 | page 13
Rhom
• Easy data handling
• No database schema
• No data migrations needed
• Data model extendable by code
Mini Database Object Mapper
![Page 14: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/14.jpg)
© INFO AG | April 13, 2023 | page 14
Rhom Example CodeAdded Property get_banfpos_list to the model
Built-in Sync functionality
Model is easily expandable
![Page 15: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/15.jpg)
© INFO AG | April 13, 2023 | page 15
Usage of Workflow.get_banfpos_listSource code of View index.rb
![Page 16: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/16.jpg)
© INFO AG | April 13, 2023 | page 16
<li><div data-role="collapsible”>
<h3>Bestellpositionen</h3>
<ul data-role="listview" data-inset="true" >
<% @workflow.get_banfpos_list.each do |pos| %>
<li data-role="list-divider" >Position <%= pos['bnfpo'].to_i %>
<span class="ui-li-count"><%= pos['menge'] %></span>
</li>
<li>
<p><strong>Material: <%= pos['matnr'] %></strong></p>
…
…
Source code
Corresponding View
![Page 17: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/17.jpg)
© INFO AG | April 13, 2023 | page 17
RhoConnectSource: rhomobile.com
![Page 18: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/18.jpg)
© INFO AG | April 13, 2023 | page 18
RhoConnectData Synchronization with Source Adapters
![Page 19: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/19.jpg)
© INFO AG | April 13, 2023 | page 19
Source Adapter for Workflow object
![Page 20: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/20.jpg)
© INFO AG | April 13, 2023 | page 20
SAP Business Workflow One-Step PR Approval Workflow
![Page 21: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/21.jpg)
© INFO AG | April 13, 2023 | page 21
SAP Objects
![Page 22: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/22.jpg)
© INFO AG | April 13, 2023 | page 22
RESTful Controller
SDN blog by Uwe Kunath
![Page 23: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/23.jpg)
© INFO AG | April 13, 2023 | page 23
REST Service in SAPTransaction SICF
rest_result = RestClient.get("#{@base}/sap/zrest/banfdemo/workflows/#{current_user.login.upcase}").body
![Page 24: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/24.jpg)
© INFO AG | April 13, 2023 | page 24
Workflow document in Browser
![Page 25: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/25.jpg)
© INFO AG | April 13, 2023 | page 25
Workflow document stored in RhoconnectRedis based NoSQL Sync Server
![Page 26: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/26.jpg)
© INFO AG | April 13, 2023 | page 26
RhoHub
• Git Repository for your source code
• RhoHub Editor for working in the Cloud (optional)
• Build app for different Mobile Platforms
Build native apps for all platforms
![Page 27: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/27.jpg)
© INFO AG | April 13, 2023 | page 27
![Page 28: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/28.jpg)
© INFO AG | April 13, 2023 | page 28
Example iOS Build
![Page 29: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/29.jpg)
© INFO AG | April 13, 2023 | page 29
RhoHub Editor
![Page 30: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/30.jpg)
© INFO AG | April 13, 2023 | page 30
RhoGalleryApp Store in the Cloud
![Page 31: From SAP to app using rhomobile](https://reader033.fdocuments.in/reader033/viewer/2022052601/558b0aa5d8b42ae4758b4625/html5/thumbnails/31.jpg)
© INFO AG | April 13, 2023 | page 31
Lessons learned
• Learning Ruby is straight forward
• Implementing SAP backend needs manual work
• Documentation of Rhomobile could be better and more up to date
• Good support via Google Group and @adamblum (CEO)
• jQuery Mobile slows apps down -> jqMobi is possible but much manual work needed