Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all 5512 articles
Browse latest View live

SUP web services from iOS object api

0
0

Hello,

we created a MBO from a web service and are having trouble getting the response of the invocation made from the iOS object api. We checked the web service and it's working correctly and sending the correct response but we keep getting an error message.

 

In our android application everything works correctly so we supose it has something to do with how we are getting the response values.

We also tried it from sup workspace from the preview of the MBO and it works correctly so we don't know where to look for the error.

 

We are working with SUP 2.1.3

 

I attach a file with the code we are trying, could anyone help us? Any help would be great!

 

Thanks in advance,

Lucía Cianelli


SAP Afaria apps deployment

0
0

HI All,

 

I have installed Afaria on Amazon Web services.  I have to publish some excel spread sheets and some internal applications like office, and some software.

can i use Afaria like Citrix. 

 

Can someone help me out.

How does Windows Phone use SUP ?

0
0

Have read all the guides for SUP and I can't work out how you can get Windows phone 7.7.5 and 8 to use SUP replication.

Authentication error

0
0

Using SUP I am getting authentication errors when I use Active Directory. Help what am I doing wrong ?

WebI Geomap not displays relative value for a POI

0
0

Hello all,

 

I created a Geomap Webi with 2 reports.

The first one called "world" shows the map with differents cities (poi). the second one, called "charts" contains a chart with mesures relative to the selected city(poi) in the map.

However, when I pass the parameter "city" in the open document url, the filter does not run in the second report as it should and therefore I get the results for all countries.

I put a prompt on the second report to filter Cites. The prompt text is "City".

 

My first report "World" --> table name map_lt2_lo3_poi1_od4 :

World.PNG

 

 

My second report "Charts" --> Block name Block 1:

Charts.PNG

Thanks for your help !

 

 

Regards,

Larbi.

Netweaver Mobile 7.3 - Failed to process Inbox

0
0

Hello,

 

I am working on a Netweaver Mobile 7.3 application, and from time to time after locally deploying the DC I get the error that my inbox could not be processed and I should contact my administrator...

 

The relevant section from the trace file is this:

 

<r id="1358352753788" t="17:12:33" d="2013-01-16" s="E" c="000" u="" g="" m="Cannot find class loader for component sap.com~tc~wd~dispwda">

<f n="SourceName" v="com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject"/>

<f n="LocationName" v="com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getClassLoader"/>

<f n="ThreadName" v="Thread[Thread-3,5,main]"/>

<f n="GroupLevel" v="-1"/>

<f n="GroupIndent" v="-1"/>

<f n="MsgType" v="Java"/>

</r>

<r id="1358352759336" t="17:12:39" d="2013-01-16" s="E" c="000" u="" g="" m="Exception occurred when processing deployment inbox

[EXCEPTION]

java.lang.NullPointerException

    at com.sap.tc.mobile.cfs.deploy.impl.InstallationHelper.handleUpgrade(InstallationHelper.java:1004)

    at com.sap.tc.mobile.cfs.deploy.impl.InstallationHelper.processDeploymentStatusObjects(InstallationHelper.java:137)

    at com.sap.tc.mobile.cfs.deploy.impl.DeploymentManagerImpl.doProcessInbox(DeploymentManagerImpl.java:279)

    at com.sap.tc.mobile.cfs.deploy.impl.DeploymentManagerImpl.processInbox(DeploymentManagerImpl.java:226)

    at com.sap.tc.mobile.mwd.laptop.container.InstallationPackage.onActionInstallNow(InstallationPackage.java:230)

    at com.sap.tc.mobile.mwd.laptop.container.wdp.InternalInstallationPackage.wdInvokeEventHandler(InternalInstallationPackage.java:160)

    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)

    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:75)

    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:159)

    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:94)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)

    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)

    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:55)

    at com.sap.tc.webdynpro.clientimpl.scxml.client.SmartClient.executeTasks(SmartClient.java:691)

    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1667)

    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1481)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:899)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:871)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:355)

    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:325)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest0(WebDynproRequestHandler.java:208)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest(WebDynproRequestHandler.java:144)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.AbstractRequestHandler.handleRequest(AbstractRequestHandler.java:334)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest0(SimpleHttpServer.java:280)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest(SimpleHttpServer.java:242)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.access$000(SimpleHttpServer.java:38)

    at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer$1.run(SimpleHttpServer.java:185)

 

">

<f n="SourceName" v="com.sap.tc.mobile.mwd.laptop.container.AppContainer"/>

<f n="LocationName" v="com.sap.tc.mobile.mwd.laptop.container.AppContainer"/>

<f n="ThreadName" v="Thread[Thread-3,5,main]"/>

<f n="GroupLevel" v="-1"/>

<f n="GroupIndent" v="-1"/>

<f n="MsgType" v="Java"/>

</r>

How to Obtain User Name in MBO

0
0

When you setup the 'Connection Info' for the 'Sybase Mobile Workflow' app on your mobile device, you have to declare a 'User Name'.  The user name is visible when viewing the settings for Sybase Mobile Workflow.  On my iPhone, the user name is "sklingen" for my Sybase Mobile Workflow app.

 

Does anyone know how to obtain the 'User Name' value from within an MBO?  I just simply want to obtain the string value so that it can be passed to SAP ECC.  I don't want to use it for logon purposes or authentication purposes.

 

I have been unsuccessful in obtaining the user name value using the following two techniques.

 

1) I have added JavaScript code ... sapUserName = getURLParam("sapusername"); ... in the customAfterWorkflowLoad function as well as the customAfterShowScreen function.  The result is blank.

 

2) I tried using a personalization key of "username" in our MBO to capture and pass the user name.  However, the value I got was "supAdmin" instead of "sklingen".

 

We are currently using SAP Mobile Platform 2.1.3 and my iPhone is using iOS 6.0.1.

 

Thanks, W. Scott Klingensmith

Afaria - SSP custom afaria client download credential problem

0
0

HI All,

 

I have a custom afaria client which available to download from the SSP, we can using a window user (example demo_123) to login the SSP, but it require to provide the "Administrator" login when prompt to install custom afaria client app on the iOS device. Is that possible that we can use the existing user (demo_123) instead of using "Administrator" login?

 

Regards,

Choong


Facing Problems while Installing SAP Material Availablity App

0
0

Hi Experts,

 

I am currently installing SAP Material Availability app.

When i run the application It's coming online in SCC but after that am getting an exception "Network Error While retrieving Data".

 

I am attaching the detailed log for your reference.

 

Your help would be appreciated.

 

 

 

 

Log.PNG

 

Regards,

Abhishek Wajge

Not able to register user from native android app

0
0

Hi,

 

 

Created a user in SCC ex:midhun and activation code :123.

SUP version 2.1.3

 

From the android native application when I pass the credentials I am getting the error "MMS authentication failed".

 

But I am able to login using the SCC login credentials (supAdmina and s3pAdmin) from the application

 

Given below is the code I used;

 

try {

 

                                        ConnectionProperties connProps = app.getConnectionProperties();

                                        connProps.setServerName(HOST);

                                        connProps.setPortNumber(PORT);

                                        //connProps.setActivationCode(PASSWORD);

                                        PurchaseOrderApprovalDB.setApplication(app);

                                        LoginCredentials loginCredentials = new LoginCredentials(

                                                            USERNAME, PASSWORD);

                                        connProps.setLoginCredentials(loginCredentials);

 

                                                  if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {

 

//Getting exception during the below code

                                                            app.registerApplication(600);

                                                  } else {

                                                            app.startConnection(600);

                                                  }

                                        } catch (Exception e) {

                                                  returnMsg = e.getMessage();

                                        }

 

I have redeployed the app several times and tested but didn't work.

Please give a solution

qr code creating and reading in sap

0
0

i had created qr code in sap but problem is, now i want to read qr from my cell and pass the to sap screen directly.... how it can be done ....pls help for the same

connection problems with SAP Customer and Contacts

0
0

Hi,

We are configuring and activating the mobile standard application “SAP Customer and Contacts”. We have followed the configuration guides for Netweaver Gateway, SUP Installation configuration and admin guide for the application “SAP Customer and Contacts”. We enable the user on boarding, create the app on SCC and pointed this to the gateway service. On an iPhone is the application installed (we downloaded it through iTunes store), and configured the settings for connection. It’s tried to connect but an error is shown as I present on the following picture

 

test_iphone.png

 

When I look up the trace, an error like this is present “Data in stream was invalid or truncated…”

 

log_app.png

 

And when I check the SCC, I see that the user is registered but offline mode

 

usuario.png

 

When we test a connection created for the application, the SCC throws an error like this

 

test_result.png

 

Please help….we dont know why this error happens.... We are on SUP 2.1

 

 

Regards,

 

MC

Afaria SP2 enrollment error

0
0

Hi experts,

 

I upgraded my Afaria and now the system not enroll the ios devices. I see that in this version, the Certificate Authority service not need relay server redirection (I configured this with local parameters)

 

When I try to enroll the device using relay server (for aips services) no work.

 

When I try to enroll the device localy the enrollment works. can you help a soon as possible?

 

thanks for your comments

 

dvid

Error 516 @ SUP101-Tutorial (iOS)

0
0

Hi,

 

i´ve tried to go through the SUP101-Tutorial for Developing an iOS-App. Everythin works fine til getting a connection to SUP. I´ve already set a PIN and filled out the information in the iOS-Settings-Menu. When i run the code i have to fill in the PIN. Then a button with "Synchronize" is shown. Now there a two options:

  • And after waiting 5 minutes the error 516 ("Error sending request to server") appears.
  • When i click the "Synchronize"-Button twice the app crashes.

 

Here is the log:

2013-01-18 08:30:54.173 SUP101[736:c07] Application windows are expected to have a root view controller at the end of application launch

2013-01-18 08:31:01.299 SUP101[736:c07] App has been run before.

2013-01-18 08:31:01.299 SUP101[736:c07] Unlock messaging vault

2013-01-18 08:31:01.763 SUP101[736:c07] Got the encryption key: e45f05eb8d851770f6e3b039f36f0517a175f051430830c5ebc083e3ce820f7e00e34103f75103e77075d7a0b7efa0bb

2013-01-18 08:31:01.797 SUP101[736:c07] =================================================

2013-01-18 08:31:01.797 SUP101[736:c07] onConnectionStatusChanged: status = 102, code = 0, message = (null)

2013-01-18 08:31:01.797 SUP101[736:c07] =================================================

2013-01-18 08:31:01.805 SUP101[736:450f] =================================================

2013-01-18 08:31:01.805 SUP101[736:450f] onConnectionStatusChanged: status = 105, code = 0, message =

2013-01-18 08:31:01.806 SUP101[736:450f] =================================================

2013-01-18 08:31:01.806 SUP101[736:450f] =================================================

2013-01-18 08:31:01.807 SUP101[736:450f] onConnectionStatusChanged: status = 105, code = 0, message =

2013-01-18 08:31:01.807 SUP101[736:450f] =================================================

2013-01-18 08:31:02.351 SUP101[736:c07] waiting for connection...

2013-01-18 08:31:02.392 SUP101[736:5e03] =================================================

2013-01-18 08:31:02.392 SUP101[736:5e03] onConnectionStatusChanged: status = 103, code = 0, message =

2013-01-18 08:31:02.393 SUP101[736:5e03] =================================================

2013-01-18 08:31:02.393 SUP101[736:c07] Unlock SUP101 vault to get username/password credentials

2013-01-18 08:31:02.394 SUP101[736:5e03] =================================================

2013-01-18 08:31:02.395 SUP101[736:5e03] onConnectionStatusChanged: status = 103, code = 0, message =

2013-01-18 08:31:02.395 SUP101[736:5e03] =================================================

2013-01-18 08:31:03.595 SUP101[736:c07] [SQL TRACE][DEBUG] Synchronizing... ULRemoteId<Unknown> SynchronizationGroup<initialSync> UserContext<>

2013-01-18 08:31:04.437 SUP101[736:c07] [SQL TRACE][DEBUG] Synchronizing... ULRemoteId<Unknown> SynchronizationGroup<initialSync> UserContext<>

2013-01-18 08:36:02.829 SUP101[736:5e03] =================================================

2013-01-18 08:36:02.831 SUP101[736:5e03] onConnectionStatusChanged: status = 105, code = 516, message = Error: 516 Detail: Error sending request to server Native Error: -2 Source: /Users/iotabuilder/svn/Pioneer/MOClients/iPhone/../Common/C/moClient.cpp 1754.

2013-01-18 08:36:02.832 SUP101[736:5e03] =================================================

2013-01-18 08:36:02.833 SUP101[736:5e03] =================================================

2013-01-18 08:36:02.834 SUP101[736:5e03] onConnectionStatusChanged: status = 105, code = 516, message = Error: 516 Detail: Error sending request to server Native Error: -2 Source: /Users/iotabuilder/svn/Pioneer/MOClients/iPhone/../Common/C/moClient.cpp 1754.

2013-01-18 08:36:02.834 SUP101[736:5e03] =================================================

2013-01-18 08:36:03.324 SUP101[736:5e03] =================================================

2013-01-18 08:36:03.325 SUP101[736:5e03] onConnectionStatusChanged: status = 103, code = 0, message =

2013-01-18 08:36:03.325 SUP101[736:5e03] =================================================

2013-01-18 08:36:03.325 SUP101[736:5e03] =================================================

2013-01-18 08:36:03.326 SUP101[736:5e03] onConnectionStatusChanged: status = 103, code = 0, message =

2013-01-18 08:36:03.326 SUP101[736:5e03] =================================================

 

 

I hope someone can help me.

Thank you in advance!

 

Regards, Florian.

How to configure autoregistration for SAP application (e.g. Travel Expense Approval)

0
0

Hi all,

I'm facing some issues in configuring autoregistration for some SAP apps.

Can somebody guide me through the configuration process?

 

What are the advantages/disadvantages of autoregistration?

 

Thank you very much for your help!

 

Bernhard


App BI Ipad - url (link) in the email

0
0

Hi everyone,

I'm facing an issue:

Using the Ipad APP BI i can see all the webi reports and the app works fine.

When i want to send the report via email the app automatically generate

a link and put it into the email, but the url is generated like this:


[...]HOSTNAME.DOMAIN/[...]


My BO server is published to a public IP address and i would like to change from the hostname.domain to the correct IP.


Does anyone knows if, and eventually how can i change it?


Thanks in advance,


Adriano

SUP Application with MBOs and ODATA calls

0
0

Hi All,

 

we are facing a problem with an application that uses MBOs model and ODATA calls to Gateway.

Using iOS libraries, how can we use the same SUP connection to use synchronization features for MBOs and retrieving the Proxy address for ODATA CALL thru SDM libraries?

 

If you register the application using SUP libraries and than you register the gateway user with LiteSUPUserManager, the first connection will not work correctly anymore. The strange thing is that in SIMULATOR everything is working, but I think is related to the device ID itself.

 

SUP libraries does not contain methods to access proxy address configuration, so there's not different way than using SDM libraries to register the GW user and than access proxy address configuration. (The only way is to bypass SUP ODATA Proxy and connect directly to the GW using SDM libs. With this method you lose some control on users connection and related security).

 

Please, can you help us to undestand how to manage this issue?

 

Thanks.

Best regards,

Andrea -

SUP (SMP) support of web apps and Win 8

0
0

Hello,

 

I'm evaluating the SAP mobile platform and looking for a way to connect with a pure web application (HTML5, JS, CSS) to SUP (without the SAP NetWeaver Gateway). I'm aware of the REST API introduced in SUP 2.2. As 2.2 isn't available yet, are there any other options?

 

Besides that, I haven't found much information about the plans/ roadmap to support Win 8 (Phone, RT, Pro). The upcoming REST API is one way to go, others?

 

Thanks,

Bernd

SAP Employee Lookup

0
0

Hi,

 

I am currently running SUP 2.1.3 and I wish to configure SAP Employee Lookup on the SAP backend.,  When trying to implement the "Manage Object Model" section, when checking for the class, I get an error message stating that the class does not exist.  Please assist me on this if you can...

 

 

Thanks

MBO rezult on start screen

0
0

How I can call MBO when application started?

I have choice on start screen and data in choice should be from SAP.

thank

Viewing all 5512 articles
Browse latest View live




Latest Images