Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all 6147 articles
Browse latest View live

[Agentry 6.0.46] Glitch at user switch with unsynced transactions

$
0
0

hi Guru,

 

I noticed a different behavior at user switching if there is unsynced transaction from previous user.

 

The behavior is the same on both iOS and Android client. I use iPad version in the example.

 

 

 

Step1. Remove the previous user name and type in new user and password.

 

 

 

Step 2. A message pops up. Click Ok to confirm the user verification at the server.

 

 

Step 3. The previous user login failed. Click OK.

 

 

Step 4. A different message showing the previous user login failed. Click OK. And cancel the transmission.

 

 

Step 5. Now back to the login screen with the warning message. This time, click "Yes" to choose to exit.

 

 

 

Step 6. The previous login info is cleaned up. The new user account/password will be accepted and the transaction from previous user WILL be synced.

 

 

I tested the user switch case before. The process usually finishes at Step 2 with previous user's transaction synced as well. I am not sure why Step 3 to 6 occurs.

 

I set the following in my Agentry.ini

 

enablePreviousUserAuthentication=true

 

And here is my client setting in the application.

 

What shall I do avoid the extra Step 3 to 6?

 

Thanks a lot.

 

-Yang


Move Afaria Client to Another Afaria Server

$
0
0

Hi

I İnstall a new Afaria with SQL Anywhere.

I also have Afaria with MS SQL.

Now I need to move my client to new afaria.

How can I do  this?

DecryptPasswordError

$
0
0

Hi Experts,

 

I have finished configuring the Work Manager 6.1 application production mode on the SMP 3.0.

Now, when I try to connect to the backend using the ATE, I am getting the following error:

DecryptPasswordError.

Decrypt Password Error.jpg

 

The logs are the following:

Events.log:

 

11/17/2014 16:20:36, 1,         3,        12, Thr       9076, Unable to decrypt data: com.sap.mobile.platform.server.agentry.cluster.CryptoException: Unable to decrypt data using the RSA private key, , ..\agentry\server.cpp#2356:ARLoginExRequest::bitRestoreFrom

 

Do you have an idea how to solve this issue?

Thanks in advance.

 

Best Regards,

Emanuel

SMP 3.0 Enablement - Events

$
0
0

Free webinars on SAP Mobile Platform and its latest features: to enable you to build your own, beautiful apps!

OverviewAdmin & ArchitectDeveloperIntegrationEvents

 

With version 3.0 of the SAP Mobile Platform, SAP has taken a huge step to further simplify and unify the mobile experience. SMP 3.0 gives you more flexibility, productivity and scalability, so that you can create beautiful user-centric employee, business and consumer mobile apps. A full-spectrum, open standards-based platform architecture and one common SDK is it the core of this release!

 

In a series of SCN pages, we drill down into the key focus areas. You'll find links to White Papers, How-To Guides, recorded presentations and demos, blogs and other resources that dive deep into any of the five selected topics.

 

 

Webinar Series on SAP Mobile Platform 3.0

In addition to published assets on SCN, we - the Customer Experience Group (CEG, ex RIG) - will yet again embark in a series of free webinars.

 


RegistrationWill be added no later than 1 week before the event

Recordings:   Will be added about 1 week after the event

 

 

 

Autumn 2014 Webinars (SMP 3.0 SP4/SP5)

 

Links to Registrations & Recordings

Sep

Oct

Nov

Dec

What’s new with SMP 3.0 Server SP4 & SDK SP5 (recording)

1600000000000000

JG

Developing Offline Apps with Kapsel (recording)07JG

Developing mobile apps with SMP SDK for Windows (recording)

14

MC

Developing mobile apps with SMP SDK for iOS(recording)

28

KU

Developing mobile apps with SMP SDK for Android(recording)

11

CP

SMP 3.0 Server - Managing Clustered System Landscapes

18JP

SAP Fiori and SMP 3.0: the Fiori Client

09JW
Securing your Data: SMP 3.0 and Security Concepts16DO

 

 

 

Summer 2014 Webinars (SMP 3.0 GA)

 

Links to Registrations & Recordings

Jun

Jul

Aug

Overview of new release SMP 3.0 (recording)100000000000

JG

SMP 3.0 Architecture & Administration (recording)

24

JP

Developing Mobile Apps with SMP (recording)08JG

Integration Gateway - Connecting Mobile Apps (recording)

22

MS

SMP 3.0 and Agentry - Now fully Integrated (recording)

19

MV

 

 

 

 

 

Customer Experience Group - Webinars:    SAP Mobile Secure | SAP Web IDE | SAP Lumira |BI Upgrade

SMP 3.0 for Developers - Native Apps

$
0
0

Building Native Apps with SAP Mobile Platform - Enablement Resources

OverviewAdmin & ArchitectDeveloperIntegrationEvents
Native Apps
iOS | Win | Android
Kapsel Apps

 

 

 

Developing Native Mobile Apps with SMP

The SDK of the SAP Mobile Platform  provides you with tools that streamline the development. One of the most common types are Native Apps: mobile apps developed specifically for one device operating system.

 

 

Native apps typically perform better than other application types and provide full access to a device's hardware.

They are often used for consumer facing apps - when branding and customer satisfaction are of highest priority. As a draw back, native apps have to be re-written for different device technologies, therefore can come at a higher cost.

 

With Support Package 5 for the SMP 3.0 SDK, we have released significant enhancements to our solution


Our harmonized OData SDK provides an open and flexible framework for native OData application development for both online and offline applications for the most popular devices OS's: Android, iOS and Windows.

The name "Harmonized" comes from the concept that you can use very similar APIs across different platforms for native and cross-platfom apps, which run on either on-premise version or HANA Cloud Platform Mobile Services. We have different programming languages but ideally we want to use the very similar APIs - hence "harmonized"!

 

 

 

 

Native Apps by Operating System

 

idevices_48.png


iOS Apps

 

As always, the Documentation (SMP 3.0 SDK SP5) is a great start to get going.

 

Next, Ken Unnai wrote an excellent blog series on how to develop native iOS apps with the SMP SDK, including both online and offline scenarios.Read his Introductionand then dive deep:

 

Online APIs for iOS Apps

 

Onboarding

 

Offline APIs for iOS Apps

 

Stan Stadelman has authored a number of technical blogs, one focusing on iOS: In Introduction to HttpConversationManager, and SAML2 Auth in Mobile SDK, Stan describes how this provides a flexible framework for enterprise authentication in your apps.


Webinar: Online and Offline Apps

In his webinar, Kenichi Unnai covers how to develop online & offline mobile apps for iOS apps (pdf available).

 

1) Theory - How does the oData Store work

  • Online - 2:20  -  Offline - 5:20

2) How to Implement the oData Store API

  • Online 11:30  -  Offline 15:00
  • Read Entity, Request Fail 19:00
  • Create, Update, Refresh & Flush 23:30

3) Demo

  • Online Store 28:00  - Offline Store 31:00

 

 

 

 

windows_8_smartphone_48.png


Windows Apps

 

With SMP 3.0 SDK SP5, we have introduced the SDK for Windows apps. Check out the detailed SDK SP5 blog by Product Manager  Kiran Karunakaran, in which he lists the main components:

 

  • SecureStore Library
    Used for storing user credentials and other important information in the data vault
  • LogonCore Library / LogonCoreJS library
    Used in conjunction with SecureStore library to provide login functionality
  • OData API Library
    Interfaces and default implementation which can be inherited by 3rd parties to create their own implementation
  • OData Online API
    Specific online implementation of the OData API. Internally uses Microsoft OData parser
  • Supportability Library
    Log messages, End 2 End tracing functionality

 

Naturally, the Windows SDK will be evolving in the future!

 

 

Introduction to Developing Windows Apps with SMP

 

Introduction Video

Recorded Webinar

 

 

In this short video, Milton Chandradas shows how to build an app for Windows devices.

Milton goes into more detail in this webinar (Oct 2014), by adding demos and process flow charts to the presentation (pdf available).

  • Overview - SMP & Windows Apps
  • Demo: Setting up the SDK - 10:20
  • On-Boarding Users (Demo) - 14:00
  • HTTP GET Requests (Demo) - 23:00
  • Binding to UI Controls - 34:30
  • CRUD Operations - 37:00
  • Login Operations (Demo) - 43:00

 

 

android_48.png


Android Apps

Alongside iOS and Windows, the SAP Mobile Platform supports development of native Android Apps with its SDK.

 

Claudia Pacheco helps you getting started with online/offline and the logon component.

On-boarding Users onto the SAP Mobile Platform
Before any communication with the SAP backend systems can take place, a mobile app needs to on-board users onto SMP. We support two ways of doing so, and Claudia describes them in her How-To Guides:

  1. The Mobile Application Framework (MAF) contains the MAF logon component that provides easy integration for applications that use logon UI behavior: check Claudia's How To... Guide and her blog
  2. Certain use cases require more control over the look and feel of the logon screen or don’t require the logon UI behavior. In these cases, developers can use the SMP 3.0 OData SDK to onboard users: Claudia has a How To... guide for this as well!


Additional Links

 

 

Webinar: On-boarding & Developing Online and Offline Apps

 

In her webinar, Claudia Pacheco covers how to onboard users with the MAF Logon component, and how to develop online & offline mobile Android apps (pdf available soon).

 

  • Architecture Overview 0:50
  • Onboarding users with MAF 5:00
  • Harmonized OData API
    • Overview 8:40
    • Online 11:30
    • Offline 24:10
  • Demo 42:00

 

 

 

SSL Signature verification failure:Communication Error(14)

$
0
0

Hello,


I am trying to run Agentry client on Android device but getting problem. The client that we trying to install on device (Motorola ET1 version android 4.0+) gives : "SSL Signature verification failed: Communication Error(14)".


We have created certificates and that runs on ATE with no problem. Same CA certificate i install on device and i can see it on trusted certificates. I created also PIN for device as it requires.
But no luck same error i receive.

 

 

Syclo Work Manager Version : 6.0
The client i use : Agentry_6.1.3.10212_Client-Android
Android version : 4.1.1

 

 

Kind Regards,

Tahir ÖZ

My SHopping Cart Fiori App Implementation

$
0
0

Hello All,

 

This is regarding the implementation of My Shopping Cart App. We have added the add ons and the app is currently seen in the Fiori Logon Pad. However i am unable to see any items when I login to the app to be added to the Shopping Cart.

 

I was just looking at the prerequisites / limitation of this app and it states that it is possible to add items only by using the cross catalog feature of SRM UI Add-on 1.0.

 

Does this mean that it is not possible to add items through any of these options

1. Old Shopping Cart / Templates

2. With Free Description

3. Catalog which do not have Cross Catalog Search Feature checked in SRM.

 

Also I have enabled the Cross Catalog Search Feature in the external Webservices customization for one of the Catalogs and this catalog is added to the User Attributes. Even with this i am unable to see the items in the My Shopping Cart app. Is this the only relevant customizations or we have to do anything else to get the items listed in the app.

 

Any pointers on why the issue is occurring is very welcome.

 

Thanks & Regards

Pramod

 

Tags edited by: Michael Appleby

SMP 3.0 Agentry/WM 6.1: NetMotion Issues?

$
0
0

Hello Mobile Experts - We are preparing to migrate our Agentry/WM 5.3 apps to SMP 3 SP04 with Agentry 6.1. We use Agentry client version 70.5.1.10.  We are also using a VeriSign certificate on the SMP server.  All goes well when Agentry clients connect to the SMP server using a laptop or workstation.  But for our mobile devices (Windows OS) the initial server connect fails with the error:
Certificate received is not found in the trusted list, nor can it be traced to a trusted root.
Communications error (14)

 

Agentry_Cert_Error.jpg

 

 

However, when we disable NetMotion the server connect works fine.  After the initial connect, NetMotion can be re-enabled on the mobile device and all works ok going forward.

 

Does anyone use SMP with NetMotion on mobile devices?  If so can you provide any further information?

 

Thanks and Best Regards - Jeff


Does SMP 3.0 support wildcard certificates?

$
0
0

Folks,

 

I have successfully imported a wildcard certificate and corresponding root/intermediate certificates into the keystore for an Odata service.

The endpoint resides at *.sapdemocloud.com, so my "smp_keystore.jks" should look like this:

 

kse.png

The wildcard certificate imported looks like this:

democloud_crt.png

After creating a hybrid app configuration on my local SMP 3.0 I am not able to ping the OData service residing on this site which uses wildcard certificates.

 

PingFail.png

The log file tells me that SSL failed to validate the certificate:

2014 11 18 11:37:31#0-200#DEBUG#org.apache.tomcat.util.net.jsse.JSSESupport##anonymous#http-bio-8083-exec-9###Error trying to obtain a certificate from the client javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421)

        at org.apache.tomcat.util.net.jsse.JSSESupport.getX509Certificates(JSSESupport.java:99)

        at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:156)

        at org.apache.coyote.http11.Http11Processor.actionInternal(Http11Processor.java:256)

        at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:848)

        at org.apache.coyote.Request.action(Request.java:346)

        at org.apache.catalina.connector.Request.getAttribute(Request.java:956)

        at org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:284)

        at javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:120)

        .......

        at org.apache.cxf.transport.https.SSLUtils.propogateSecureSession(SSLUtils.java:555)

        at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:374)

        at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:87)

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)

        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:120)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:758)

 

I have created a different hybrid app with the backend Odata just like explained here: Getting Started with Kapsel - Part 1 and the ping works.

PingOK.png

Basically the same steps to create both apps were taken. The only difference is the fact that the second one uses wildcard certificates.

Which leads me into thinking that SMP 3.0 doesn't handle this type of certificate.

 

I am using SMP 3.0 SPS04 PL02:

version.png


Any ideas?

 

BR,

Ivan

Assigning Notification in Syclo work manager based on roles

$
0
0

Can we do filter in following way in syclo configuration. Syclo User1 : Receives Notification based on plant, he then assign works center, notification is removed from Syclo user1. Syclo User2 : Now User2 should download same notification which is assigned by user1. Regards Manish

Customizing Work Manager 6.1 to create notification and attachments

$
0
0

Hi Experts,

 

I have a requirement in Syclo to customize locally created notifications to upload attachments in single transmit. For this my idea would be

 

  1. Modify rules in Agentry to enable attachment for notifications not posted
  2. create custom notification post steplet and stephandler. Stephandler will contain standard NotificationAddPostBAPI
  3. Stephandler run() method will also include Document Capture BAPI that will be triggered multiple times based on the number of attachments per notification
  4. BAPI's will remain same (Standard) for Notification create and attachment upload at ABAP layer

 

I would need correct direction to get this achieved. Any other options too are welcome.

Dynamic Id in XML view

$
0
0

Experts,

 

I need to declare an dynamic ID into a XML view in my extended Fiori app. I need this because I need to set an image src based on Item value.

 

Is there a way to do something like this?

 

<Image id="myImage{MyModelProperty}" />

 

Regards,

Andre

Fiori Leave Request 400 Error

$
0
0

Hi,

 

While executing Leave request App, I am getting following error.

 

" Your user might not be configured properly; contact your administrator."

 

In Chrome console there are following services showing response code 400.

 

1) http://<server name >:port/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/ConfigurationCollection?$select=DefaultAbsenceTypeCode&sap-client=210

 

2) http://<server name >:port/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/AbsenceTypeCollection?$select=AbsenceTypeName,AbsenceTypeCode,AllowedDurationPartialDayInd,AllowedDurationMultipleDayInd&sap-client=210

 

3) http://<server name >:port/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/LeaveRequestCollection?$filter=StartDate%20eq%20datetime%272014-10-01T00:00:00%27%20and%20EndDate%20eq%20datetime%272015-01-01T00:00:00%27&$select=StatusCode,StatusName,AbsenceTypeCode,AbsenceTypeName,StartDate,StartTime,EndDate,EndTime&sap-client=210



Both system ECC backend and Gateway has trusting each other and has current user check box checked.


Logged in User is created as ESS user and has allocated leaves in the system.


I have following role in Backend system :

1) SAP_GBHCM_LEAVE_REQUEST_EMPL


Can anyone help me to troubleshoot the issue ?



- Shrikant Kamble

Rebranding SMP Agentry Client for Android

$
0
0

We need to install 2 Agentry clients on the same Android tablet (Dell Venue 8) in order to be able to run SAP Work Manager 6.1 and SAP Inventory Manager 4.0 on the same device. The dedicated clients from the Google Play store cannot be used as they cannot be installed on this device as per Google Play message during install and they do not work with multiple apps deployed on the same SMP server, the functionality added in SMP 3.0 SP4 and SDK SP5. This is why we are using the latest Agentry_70.5.3_Client. Following the developer guide we set up ADT and the SMPAgentryClientFramework-Android-70.5.3 within it. Changing the app name or swapping out resources is not an issue. However, in order to install more than just 1 client, the package name must be changed or the generated apk file will fail to install with an "already exist" error. There is no clear procedure documented anywhere on how to do create a new client with a changed package name, at least not the latest OpenUI version. Changing the AndroidManifest.xml in both AgentryAndroidClientResources and AgentryAndroidClientSolution projects/folders has no effect and the INSTALL_FAILED_ALREADY_EXISTS error occurs during apk installation. We have also tried changing the package name in the build-android-common.xml as suggested in the comments within that file:

<!-- Change this value if you want to have multiple installs of the Agentry Android client.  Android installs by unique ID.  That ID is the

  package name.  This is the default name.  Change it for each instance of the client you want to install and build each one. -->

<propertyname="package.name"value="com.test.im.client.android"/>

With this change, the app can be successfully installed on the device alongside another (standard) client. Unfortunately, the app fails to start. There is a series of errors in the ADT LogCat but the first one says:

11-17 21:52:31.094: E/AndroidRuntime(8308): java.lang.NoClassDefFoundError: com.syclo.agentry.client.android.R$raw

So it seems that it is looking for the original source and classes but cannot find them anymore after the package name has been changed. This is where we're stuck.

Please help us get over that hump by sharing the correct and proven procedure to carry out the above-mentioned task.

Your help will be greatly appreciated.

 

Cheers,

 

Lukasz

Display customer details in the same screen (syclo agentry)

$
0
0

Hello experts,

 

I have a requirement wherein the screen should be divided.

The first half should show the customer list and when, clicking on some id, the customer details should be displayed on the second half.

I have created a screen which is showing the  customer list and a double click action has been triggered which will navigate to the customer detail screen.

But I have to show the details in the same screen.

Can anyone help me on this?

 

Regards,

Bino


SAP Fiori 'My Lead' extension/Enhancement

$
0
0

Hello All,

 

In 'My Leads' fiori app , I wanted to have an enhancement like 'Add Lead' as an option in footer of Master List pageadd_lead_option.png

 

Like we have in 'My Opportunity' app,

add_opportunity.png

 

To start with I created extension project with parent application as 'My Lead' from remote SAP UI5 Netweaver Gateway Repository in SAP Web IDE.

In the the project I created extension for controller , S2 (as this has the definations for header and footer). and added following code in it just to see if button appears at desired place.

 

sap.ui.controller("cus.crm.lead.CRM_LEADSExtension.view.S2Custom", {

// Add Lead Button

getHeaderFooterOptions: function() {

    var h_ext = { oAddOptions: {

  sId: "BTN_S2_ADD",

  onBtnPressed: function() {

    // alert("add create lead view");

             }

                }

        };

return h_ext;

}

}

Okay , In web IDE preview I see the  '+' button but previous icons for Filter and Sort icon got dissapeared.

add_lead_enhanced.png

 

I assumed the controllers get extended , what am I doing wrong ? and what after the plus icon gets added, What would be the ideal direction to move ahead like:

  • Creating a view like form to take Lead related values
  • '+' icon to navigate to that form
  • form to submit the value to a oData
  • and is oData already there  realize this creation option? as in my SAP system  I see there is already methods for Lead_Create etc in the class which is responsible for oData for My Lead app .

 

I'm more looking into best practices , what is the standard way of doing such enhancements. Resources in internet provide for simple enhancement like hiding a field or something like that only.

How to remove search Button from launchpad

$
0
0

Dear All

Customer in this case is on SAP UI5 SP08 and they want to remove search from the Launchpad.

 

Please see attachment

 

Are there any guidelines (using manual steps ) on how this can be accomplished

 

Best Regards

Gaurav

SAP Afaria SP5, HF5 - Restricting the number of devices per user ID

$
0
0

Dear All,

 

I have installed SAP Afaria 7.0 SP5 on premise version which is integrated with Windows Active Directory. Can we control the enrollment with  number of devices per user ID? Is there any way to restrict this?

 

Can we extend the specific user group from AD to SAP Afaria, using user group creation from the admin console.?

 

 

Thanks in Advance.

 

 

Abu Sandeep

CA association with SAP Afaria on cloud

$
0
0

Dear All,

 

How Certificate Authority Integration works with SAP mobile secure on cloud ? We have a requirement to validate the devices from NAC ( Network Access Control) by validating the certificate which installed on the mobile devices.

 

I couldn't find any document related to this topic.

 

Kindly help, if anyone done this already.

 

 

Thanks in Advance

 

Abu Sandeep.

Android for Work support

$
0
0

Hi

 

The first devices with Android 5.0 are now rolling out. Android 5.0 should support the same MDM APIs as devices with Samsung SAFE. The big question is: when will Afaria support the new MDM APIs including the separation of private and work data?

Viewing all 6147 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>