How to Guide to create Sample Application in IOS using SUP ODP 2.2

Similar documents
Configuring relay server in Sybase Control Center

Single Sign-on For SAP NetWeaver Mobile PDA Client

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

How to Handle the System Message in SAP NetWeaver Mobile 7.1

How to Enable Single Sign-On for Mobile Devices?

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

Installing SAP NetWeaver Mobile Client (eswt) on a Storage Card

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

How to Find Suitable Enhancements in SAP Standard Applications

Visual Composer Modeling: Data Validation in the UI

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider Microblog: Why Is There No Inbox?

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Enterprise Search Extension for SAP Master Data Governance

Visual Composer for SAP NetWeaver Composition Environment - Connectors

DEV523 Customizing and Extending PowerDesigner

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider: Understanding Quick View Configuration

Visual Composer Modeling: Migrating Models from 7.1.X to 7.2.0

Using Default Values in Backend Adapter

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

MDG100 Master Data Governance

Testing Your New Generated SAP NetWeaver Gateway Service

AFA461 SAP Afaria 7.0 System Administration (SP03)

ADM900 SAP System Security Fundamentals

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

Manual Activities of SAP Note Globalization Services, 2012/06/05

How to Download Software and Address Directories in SAP Service Marketplace

BC430 ABAP Dictionary

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Using JournalEntries and JournalVouchers Objects in SAP Business One 6.5

SAP Afaria Post- Installation Part 1

BC480 PDF-Based Print Forms

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

HA150 SQL Basics for SAP HANA

BW Text Variables of Type Replacement Path

SMP521. SAP Mobile Platform - Native and Hybrid Application Development COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

TBIT44 PI Mapping and ccbpm

BC405 Programming ABAP Reports

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

EDB785 SAP IQ Administration

ADM100 AS ABAP - Administration

Message Alerting for SAP NetWeaver PI Advanced Adapter Engine Extended

Visual Composer s Control Types

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

BC400 Introduction to the ABAP Workbench

Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

LO Extraction - Part 6 Implementation Methodology

BC490 ABAP Performance Tuning

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Check or Derive an Attribute Value in MDG using BRFPlus

Personalizing SAP BusinessObjects Explorer Information Spaces

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

Working with Data Sources in the SAP Business One UI API

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

TBW30 SAP BW Modeling & Implementation

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

ADM920 SAP Identity Management

Quick View Insider: How Do I Set Quick View as SNC s Entry Screen?

SAP BusinessObjects Dashboards 4.0 SAP Crystal Dashboard Design 2011 SAP Crystal Presentation Design 2011

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

OData Service in the SAP Backend System for CRUDQ Operations in Purchase Order Scenario

EDB377. Fast Track to SAP Replication Server Administration COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Building a Real-time Dashboard using Xcelsius and Data Integrator

Web Dynpro: Column Coloring in ALV

How to Work with Analytical Portal

Remote Monitoring User for IBM DB2 for LUW

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

The Dbmlsync API. A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 30 th, 2008

SAP ME Build Tool 6.1

How to Integrate Microsoft Bing Maps into SAP EHS Management

Business Objects Integration Scenario 2

Extending DME Transfer Files According to Spanish Banking Control Council to Support Non- Euro Payments

Automatic Deletion of Similar/Identical Requests from InfoCube after Update

Upgrading to CR 2008 V1 / SP1

How to Setup a Simple Scenario Using SAP Records Management

TBIT40 SAP NetWeaver Process Integration

How to Access Images of SAP Netweaver Demo Model JAVA

Learning Series: SAP NetWeaver Process Orchestration, business to business add-on 2g Archiver Module and Archiver Mapping

SAP Plant Connectivity 2.2

What s New / Release Notes SAP Strategy Management 10.1

How can a Reference Query Be used?

Transcription:

How to Guide to create Sample Application in IOS using SUP ODP 2.2 Applies to: SUP ODP 2.2. Summary This document provides a step-by-step description on how to use the IOS sample application using SUP ODP 2.2. Author: Manjunath. Company: SAP LABS. Created on: 22-NOV-2012 Author Bio Manjunath is working as a Quality Engineer at SAP Labs India Pvt. Ltd. He is based out of Bangalore and works in the Mobile Platform Team. He is part of the SUP ODP from few Months. 2012 SAP AG 1

Table of Contents Pre-requisites... 3 Setting up the application... 3 Run the application... 5 SSO Onboarding... 5 Manual Onboarding... 6 Certificate Onboarding... 6 Onboarding user to the server... 7 GET Operation... 8 PUT Operation... 8 POST Operation... 9 DELETE Operation... 10 Refresh Data... 10 View Source... 11 PUSH Notification... 12 DELETE User... 12 Related Content... 13 2012 SAP AG 2

Pre-requisites 1) SUP ODP server should be installed and running. 2) SCC and relay server settings should be done. Setting up the application 1) Download the IOS library to your host development system. 2) Import the sample project into Xcode 3) Copy the required Libraries into the libs folder of the project. The list of the required Libraries can be found below: libsupproxyclient.a libafariasll.a libdatavault.a libmo.a libperformancelib.a libsdmconnectivity.a libsdmparser.a libsdmsupportability.a libsupclientutil.a libsupsupportability.a 4) For Certificate Onboarding,rename your certificate as Certificate.p12 and include the Certificate.p12 in Xcode in Reference Area under Supporting Files and Reference Areas as shown below.and change the password in the below API in ODPReferenceAPP.m file in ButtonReg Method NSString *base64 = [ODPCertificateManager getsignedcertificatefromfile:path password:@"password" error:nil]; 2012 SAP AG 3

5) Once you load the Project, We have to include the libraries in Reference Areas as shown below. 6) Include below Frameworks in Xcode Project to Run the Application. 2012 SAP AG 4

Run the application 1) Deploy the application on the simulator/ device 2) Sample application should be launched as shown below. Click On-Board Type (Manual, SSO, CERT) for On-Boarding the user to SUP server SSO Onboarding 1) Select SSO On-Board Type and enter the Server configuration, Gateway credentials, and click on On-Barding Button. 2012 SAP AG 5

Manual Onboarding Select Manual On-Board Type and enter the Server configuration, username created in the SCC and activation code and Gateway credentials. Certificate Onboarding Select Certificate On-Board Type and enter the Server configuration, Gateway and path to the 2012 SAP AG 6

Onboarding user to the server 1) Select anyone of the registrations, enter appropriate data. 2) Click on the Onboarding Button. After successfully onboarding, popup should be displayed with success message. If for any reason, onboarding fails, then the popup should be displayed with the error message. 2012 SAP AG 7

GET Operation After successful onboarding, Click on Collection Item List. All the available entries should be listed (GET Operation) PUT Operation Select one of the entries from the above list. Details of the selected entry will be displayed in Edit Mode. Edit any field except the primary key field (its Readable only). Click on Save button. Based on the response from the gateway, a success or failure message will be displayed. 2012 SAP AG 8

POST Operation 1) From List View screen, click on Create Record Button. 2) In the Create Screen give all the values and click on Save button. Based on the response from gateway a success or failure message will be displayed and the list of entries will be displayed. 2012 SAP AG 9

DELETE Operation To do a delete operation, click on button. Select ( ) Delete Symbol at Corresponding List Item. Delete Button will be appeared. Then click on Button. Based on the response from gateway, a success or failure message will be displayed. Refresh Data In the entries list screen click on Refresh Button to get the latest set of data after doing any Operation (Post or Delete). 2012 SAP AG 10

View Source 1) From any screen in the application, select the View Source option to get the list of features implemented in the application. 2) Click on any option to get reference to its implementation in the application. 2012 SAP AG 11

PUSH Notification In any screen of the application, whenever a notification comes, popup will be displayed based on the type of notification (Payload/Native) DELETE User An on-boarded user can be deleted by selecting the Delete User option in the menu in the settings screen. A message will be displayed with success or failure response. 2012 SAP AG 12

Related Content SUP 2.2 - ODP Beginners Guide for IOS Application Development: http:///docs/doc-33516 2012 SAP AG 13

Copyright Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Oracle Corporation. JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. 2012 SAP AG 14