Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all 5806 articles
Browse latest View live

Enabling Automatic Registration in SMP3.0 onpremise server.

$
0
0

Hi,

 

I have created a native application by using SMP3 SDK. I have configured the application in my SMP3 on-premise server with No Authentication Challenge in Security Profile Properties.  In the backend, I have a fixed number of users. But now I am able to onboard any number of users with wrong username and password. I will not get data from the backend since the user or password is wrong.

My question is how to restrict wrong user or wrong password from onboarding in my SMP3 server?

In SMP2.3 we have Application Users tab inside Applications where I can define the users.

Is there an alternative for this in SMP3.0 on-premise server?

 

Expecting your replies.

 

Thanks in advance.


SMP 3.0 OData Offline Create/Update/Delete

$
0
0

Hello,

 

We are experiencing issues related to SAP Mobile Platform 3.0 OData Offline functionalities.

The development scenario is Android native with SAP Mobile Platform 3.0 SDK SP06.


After succesfully implementing user onboarding/registration, creating the offline store and reading data from an SAP ERP back-end system using delta tokens, we seem to have difficulties with Create/Update/Delete operations.

 

The Create/Update/Delete operations were implemented according to SAP documentation and examples using the following SMP SDK functions:

  • ODataOfflineStore.scheduleCreateEntity
  • ODataOfflineStore.schedulePatchEntity or ODataOfflineStore.scheduleUpdateEntity
  • ODataOfflineStore.scheduleDeleteEntity


When testing the functions, we get the following 403 Forbidden error (at SMP server level):


#2.0#2015-02-02 12:02:47.472#+0:00##Proxy####1422878567458001#ee1c9f3f-aaf4-11e4-8000-be50499ead5a#com.fv.zsfasrv#DirectProxy:handle#smpAdmin#######284###Finished OData Proxy Request:https://smp3.mobile.local:8083/gateway/odata/SAP/ZSFA_SRV/PersonCollection('T-S62C19')#

#2.0#2015-02-02 12:02:47.47#+0:00#FATAL#Proxy####1422878567458000#ee1c9f3f-aaf4-11e4-8000-be50499ead5a#com.fv.zsfasrv#DirectProxy:handle#smpAdmin#######284###Response code from Backend403Forbidden#

#2.0#2015-02-02 12:02:47.454#+0:00##Proxy####1422878566278000#ee1c9f3f-aaf4-11e4-8000-be50499ead5a#com.fv.zsfasrv#DirectProxy:handle#smpAdmin#######284###Finished OData Proxy Request:https://smp3.mobile.local:8083/gateway/odata/SAP/ZSFA_SRV/$metadata#


After testing and investigation of the matter, we have reasons to believe the error might be related to the X-CSRF token.

Considering we were led to believe that the Offline SDK handled tokens and cookies automatically, we are unsure about how to proceed in solving the issue.


Consequently, we would appreciate some help regarding Create/Update/Delete operations on an ODataOfflineStore and X-CSRF token/cookies management.


- EDIT 1

After further tweaking, we managed to get a more detailed log, please see attached TraceFile.txt.



Thank you.

Regards,

~ Valentin Alexandru Tudorache

Time confirmation issue in SAP Syclo Workmanager

$
0
0

Hello All , I have issued with operation confirmation . Issue : Syclo when doing 2 times partial confirmation of time  , After the second partial confirmation, the order is moved to CNF and therefore removed from the tablet. Vesrion : 6.0.22.0 can you provide some suggestion on it ? Thanks & Regards, Kunal Varaiya

How to deploy HTML5 project to SMP3.0

$
0
0

Hi experts,

 

I have written in HTML5 application and would like to "deploy" the javascript, css and html files to SMP3.0. Are there any step-by-step guides and/or best practices how to do this? It would be fantastic if someone could provide a link to any documents available. I have been searching the web and scn but cannot really find anything.

 

Thank you very much!

 

Nils

Can i connect Agentry server with SAP PI system

$
0
0

Hi

 

IS it possible to connect Agentry server to SAP PI system.

 

if it is possible what changes i have to do to make it work.

 

Please share with me if any documents available.

 

Regards,

Ragavie

SMP 3.0SP05 - not Starting - smpServiceUser

$
0
0

Hi SCN,

 

I am running a fresh install of SMP3 SP05 in Windows Server 2008

 

I just faced this issue after stopping SMP and trying to start it again.

 

The system will not come up and i cant really find any information. I am asking the question if anyone faced this issue before and how he/she could resolve it.

 

Basically, I run as an admin and the system just fails with "Attempt to start SAPSMP3Service failed please check the logs."

The SMP logs do not have any ifnormation since they system is not running.

Checking the Windows Event Viewer I can see that the system is failing with an error code 5  (vendor code as it is specified)

 

Please check the attached .doc for screenshots.

 

1.png2.png3.png4.PNG5.png6.png

Issue in FIORI Launchpad (Tile )

$
0
0

Hi Experts,

 

I am facing an issue like below in my FIORI Launchpad. I have tried to remove the tile by drag and drop method. But after refresh the browser facing the same issue and meanwhile I have checked the roles for the user also.

 

tile issue_production.JPG

 

Can anybody please let me know for any suggestions.

 

Thanks in advance,

Bhaskar N

Agentry Configuration - No runtime change

$
0
0

Hi Community,

 

within Config Panel for Agenty within SAP I can set for each entry „no runtime change“. Then the server will cache the value and not look at each time the user syncs for the corresponding value. I would think best practice is to use „no runtime change“ as much as possible to increase performance.

 

Am I right or there are things to consider / any best practices?

 

Regards,

Michel


Afaria access control for email

$
0
0

Hi,

 

I'm looking into the configuration of access control for email.

What i haven't understand is if a user is still able to install a third-party email app on his MDM device like Outlook for iOS and synchronize company account with it.

Is Afaria/Exchange capable of seeing the difference between this requests? 

enrollment incomplete on automated enrollment policy

$
0
0

Hello everyone,

 

We are trying to create enrollment policy (Android)  using APIs.

We are specifying parameters such as tenantid, data column (device serial no), gcm project id, group .

 

We have linked only 1 Application policy to the group.(No config policy linked)

 

We are using the domain controller to create the automated enrollment policy .

We are able to successfully create the enrollment code and tenant.

 

But when we enroll using that enrollment code, the device enrolls, but the entries in Afaria server and Package server are missing.

 

Only the Enrollment server shows the correct server address.

 

Because of this, the device cannot connect to the server again. (taking address 0.0.0.0/XNET)

 

So to test it, We  created an enrollment code manually on the same enrollment policy.

 

We used the automated enrollment code to re-enroll the device.

 

To our surprise, the devices gets enrolled successfully and we are able to connect back to the server.

 

The afaria, enrollment and package components are on same server and we use a Relay server.

 

Are we missing out on something? What all more parameters are required for full enrollment?

 

 

Any help/suggestions would be appreciated.

 

Attached are the screenshots on client after enrolling using the automated enrollment code.

 

Regards,

Suraj

Download all attachments in Work Manager

$
0
0

Hi,

 

I am trying to implement an enhancement to download attachments for a work order in Work Manager all at once.

 

I could send the push request in a bundle, however, the http callback returns one by one, which starts the document push one by one and "confirmations - You have received document(s)" popup one after another on the device. I need to send the request all at once and user gets confirmation once all documents are downloaded.

 

Any ideas or better ways of doing that?

 

Thanks.

 

Kevin Hu

ASSIGN_TYPE_CONFLICT - /UI2/CL_LPD_UTILS=============CP

$
0
0

Hi All

 

Is anyone else experiencing a similar issues with the latest launchpad release?

 

All tiles are working one day, and then a day later they were not.  A message would appear suggesting that the app configuration was incorrect.

 

The Web Inspector in chorme was pointing to an issue with /INTEROP service, which was unable to resolve the application link

 

My investigation revealed the following:

 

Several dumps were being registered in  ST22.

 

ASSIGN_TYPE_CONFLICT - /UI2/CL_LPD_UTILS=============CP

 

After spending some time debugging this class, it turns out that the ABAP may be incorrect... pointing to a  type conflict a method that determines if LPD_CUST settings have changed. (I.e. The transaction in SAP GUI where we register new apps).  Basically if we keep changing the settings every day it will be fine. Once the settings are over a day old, the class will reach the point in the code that throws the illegal conflict.

 

 

 

Sergio

Agentry client crashes after GIS

$
0
0

Hi;

 

I am working on implementing the GIS functionality on SAP Work Manager 6.2 on an Android client 4.2.2 using SMP 3.0 SP05, SDK 6. I have implemented the steps as per the SAP EAM and Service Mobile App SDK guide. I have also imported all the GIS projects and the ESRI sdk into Eclipse as per the guide. I am currently sitting on the step as shown by the screenshot below:

 

AndroidClient.png

After this step I export a signed application package from Eclipse to get an apk file. I can install this file with no issues on an android device 4.2.2, but when I try to start it, it crashes with a message "Unfortunatley, Agentry Client has stopped". I'm using ArcGIS sdk version 10.2.3 together with the Mobile Apps Open UI SDK 1.0. What could possibly be causing this crash, there is no errors on the eclipse side.

 

Much appreciated!

 

Thanks and Regards;

 

Sizo Ndlovu

Work Manager 6.2: Adding custom field for notification creation

$
0
0

Hello Experts &

Marçal Oliveras

 

I have similar problem which Marcal posted

http://scn.sap.com/thread/3597335

 

Please let me know if anything wrong i am doing in java code.

 

 

I have added work center field in EditTransaction which was not in screenset but its there in object and transaction property , i have extended two java classes.

     1. NotificationEdit

     2. NotificationPostBAPI

 

But work center does not seems to be populated in my SAP BAPI

 

public class ZNotificationEdit extends NotificationEditBAPI{

  public ZNotificationEdit(User u, SAPObject obj) throws Exception {

        super(u, obj);   

    }

 

   @Override

   protected void setHeaderParameters(Logger log) throws Exception {

  

         JCO.Structure header = _imports.getStructure("IS_NOTIF_HEADER");

         JCO.Structure xStruct = _imports.getStructure("IS_NOTIF_HEADER_X");

         setEditValue(header, xStruct, log, "PM_WKCTR", _notification.getWorkCenter());

 

         //PM_WKCTR

     }   

  @Override

   public ArrayList<SAPObject> processResults() throws Exception {

         return super.processResults(); 

  }

}

 

 

 

 

public class ZnotificationPostBAPI extends NotificationPostBAPI{

  public ZnotificationPostBAPI(User u) throws Exception {

  super(u);

  }

 

  @Override

    protected void setHeaderParameters(Logger log) throws Exception{

    if (_bapiType.equals("CREATE")) {

    if (_notification.getIsLocal()) {

         JCO.Structure header = _imports.getStructure("IS_NOTIF_HEADER");

         setValue(header, log, "PM_WKCTR", _notification.getWorkCenter());

    }   

  

    }

    else if (_bapiType.equals("UPDATE")) {

       JCO.Structure header = _imports.getStructure("IS_NOTIF_HEADER");

         JCO.Structure xStruct = _imports.getStructure("IS_NOTIF_HEADER_X");

         setEditValue(header, xStruct, log, "PM_WKCTR", _notification.getWorkCenter());

      

           }       

  }

}

 

 

Regards

Manish

SAP Work Manager 6.2 GIS/Location tab activation on Android devices

$
0
0

Hi;

 

I am working on a SAP Work Manager 6.2 implementation. I would like to find out, besides the guide for activating GIS on a WPF client (SAP Note: 2071498), is there any other documentation out there that outlines/hints how the Locations tab/GIS can be activated or made to render on Android devices? I am running android version 4.2.2. Our environment is SMP 3.0 SP5.

 

Any hints direction wise would be very much appreciated.

 

Thank and Regards;

 

Sizo Ndlovu


Afaria Samsung MMEP (Galaxy S5) vs Android Lollipop 5.0

$
0
0

Dear all,

 

I've been trying to get new devices enrolled, Galaxy S5 with Android 5.0 Lollipop, but it will fail to properly finish the installation as Afaria Samsung MMEP won't install even thought untrusted apps are allowed to be installed.

 

Tap installInstallation in progressInstallation failed

 

Is there anyway to get this Afaria Samsung MMEP installed on an Android 5.0 Samsung Device?

 

Thank you in advance.

 

Regards,
Cairo

Status button in Notification Screen in WM 6.2

$
0
0

Hello Experts,

I want to add status button in Notification screen in Android, which screenset should i use, I tried following screensets NotificationView, NotificationTileView, NotificationTileListview.

 

Regards

Manish

Background transmission is differnent in ANGEL and Websocket connection?

$
0
0

Hi All,

 

I have configured background transmission in the Service Manager application . The same configuration was working with SMP 2.3 but the same configuration is not working in SMP 3.0 where websocket connection is used.

 

 

Background-Transmission.png

 

Is there a difference in configuring the background sending in case of websockets? Please advise

 

Thanks and Regards

Neha Mahanty

SMP3 - AppDevelopment (Agentry):Bundles (and their services) not yet initialized

$
0
0

Hi, I found this in the log, what could be the cause ?

I attached the part of the log since the SMP server restarted along with the startup and event log.

I am not getting any data from the backend.

Thank you for any input.

 

19:06:29#+1100#ERROR#org.osgi.service.log.LogService##anonymous#org.eclipse.virgo.medic.log.osgi.OSGiLogServiceListener@12312aaa###Bundle org.eclipse.osgi_3.8.1.v20120830-144521, SMPServerStatusManager: 2015 02 11 19:06:29.108 Bundles (and their services) not yet initialized: com.sap.mobile.platform.server.agentry.core <-- Issue

SMP 3.0 Security Transport Protocol

$
0
0

I was wondering if someone from the product team that understands security transport protocols used in SMP could answer my question...

 

I would like to verify that all communications between SMP and the device doesn't work over any proprietary protocols (like Agentry does using the ANGEL protocol).

 

We need to ensure all traffic can be inspected through our firewall and with proprietary protocols this is not possible.

 

I found a old document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a26401-c905-3110-ec9a-80c41edb0b17?QuickLink=index&overridelayout=true&58695023095134 which makes reference to the communication layer using a 'compressed & encrypted binary protocol' which we need to verify this doesn't used anything that is proprietary to SAP.

 

Thanks in advance

Viewing all 5806 articles
Browse latest View live


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