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

Data truncation in SUP 2.1.3 HWC application on iOS device

$
0
0

HI All,

 

I have developed a HWC app on SUP 2.1.3 to get details of payment request but when data is displayed on device it is truncated.

 

On Ipad i can see the full data in the label field but data is truncated in iphone device. Itried increasing the number of lines of Label field but no sucess.

 

This is the screenshot from iPhoneiphone.PNG

 

 

This is the screenshot from iPad ipad.PNG

 

 

I would request to suggest me how can i fix this on iPhone device so that full data can be seen inside the label box.

 

 

 

Regards

Rahul


Weird behavior while Suppress “Bookmarks” button in SAPUI5, Fiori

$
0
0

Some times ago i've successfully suppressed the "Save as Tile" button that exists in the Standard Fiori App, MM_PO_APV:


// Standard application buttons (Remove Forward)
  
this.setHeaderFooterOptions({
  oPositiveAction
:{
  sI18nBtnTxt
: that.resourceBundle.getText("XBUT_APPROVE"),
  onBtnPressed
: jQuery.proxy(that.handleApprove, that)
  
},
  oNegativeAction
:{
  sI18nBtnTxt
: that.resourceBundle.getText("XBUT_REJECT"),
  onBtnPressed
: jQuery.proxy(that.handleReject, that)
  
},
  onBack
: jQuery.proxy(function(){
  
//Check if a navigation to master is the previous entry in the history
  
var sDir = sap.ui.core.routing.History.getInstance().getDirection(this.oRouter.getURL("master"));
  
if(sDir ==="Backwards"){
  window
.history.go(-1);
  
}else{
  
//we came from somewhere else - create the master view
  
this.oRouter.navTo("master");
  
}
  
},this),
  
// Remove the 'Save as Tile' button
  bSuppressBookmarkButton
:true
  
});

But they had updated the SAPUI5 version, I think the lastest, and it comes with a problem. The button is appearing, but with a weird behavior, as you can see:


img_suppress_error.png


All my code remains the same, and as I've seen on documentation API, it remains the same too.

Could you help me on how to resolve this?

Regards,

Andre

Want to run SAP Syclo workmanager with french and dutch language with iPad

$
0
0

Dear All , I want to start my SAP syclo workmanager application in 3 languages . Currently i am running with english but now i want to run with french and dutch with iPad client . Can you please suggest ? how can i run ? Thanks & Regards , Kunal Varaiya

 

Tags edited by: Michael Appleby (but please start doing this on your own)

Launchpad - SupportTicketAdapter.js

$
0
0

Hi all,

 

I have an issue opening my Fiori launchpad. When I open the URL the Fiori "flower" does not stop loading. In the console I get the following error: 


GET http://sapfiogw.ls.lagaude.ibm.com:8000/sap/bc/ui5_ui5/ui2/ushell/adapters/abap/SupportTicketAdapter.js 404 (NOT FOUND) sap-ui-core.js:27

  1. Uncaught Error: failed to load 'sap/ushell/adapters/abap/SupportTicketAdapter.js' from /sap/bc/ui5_ui5/ui2/ushell/adapters/abap/SupportTicketAdapter.js: 404 - NOT FOUND



I am a little bit confused, because I did not get the error the last days. The SICF service "ushell" is still activated. Google and SCN did not show any solutions..

 

- Why does Fiori launchpad need the SupportTicketAdapter.js?

- How can I fix the problem?

 

Thanks a lot!

 

Regards,

Michael

SAP WM 6.1 with SMP 3.0 SP04 not loading on ATE/device.

$
0
0

Hello All -

 

I am working on implementing SAP WM 6.1 with the SMP 3.0 SP 04 server. The application has been deployed & configured on the server. I can also get to the page for application test

 

https://host.fqdn.com:8082/SAPWM

 

where I get a response "I am here". I have downloaded & installed the smp_crt on the laptop before running the test.

 

When testing the application from the ATE 7.0.x the user is able to login to the app itself, however the loading and rebuilding index definitions just takes too long to finish and is stuck at this stage for hours before I have to kill the app. (See screen shot below).

 

ATE_stuck_loading.jpg

The backed is IS-U EHP7 of ERP 6.0 and all the necessary config and data exist on the ECC. There are just a few records on the backend.

 

Any clues to resolve this is much appreciated.

 

Thanks

Raza.

Agentry Android Branding-7.0.5

$
0
0

Hi .

I am trying to do agentry android branding. I am trying to use eclipse to generate APK file. When I install the SMPAgentryClientFramework-Android-7.0.5 file to eclipse it shows errors in many xmls (says resource not found in  themes.xml , colors.xml so on) and also lint errors. Its not allowing to generate APK file. If I disable lint error checking, its generating but the application fails to load in the device. I installed API level 17,18,19,21 . Still same. Any help appreciated.

 

 

Thank you.

Fiori launchpad designer page issue

$
0
0

Hi Experts,

 

We are facing an issue while opening Maintain page where catalogs and groups are not showing.

 

Getting issue like :

 

Error "NaN" is of type number, expected int for property "counter" of Element sap.m.StandardListItem#__item1-__xmlview0--catalogList-0

 

Please find the attached screen shot

 

Maintain page issue.PNG

 

Can you please help me how to move forward..

 

Regards,

Krishna.M

Branding Agentry Clients-7.0.5

$
0
0

Hi I am trying to do Branding Agentry Clients for Android by following this link.

 

SyBooks Online

 

I got stuck at point  15. I gave version code and version name.  I could not see any folder by name 'platform-tools' in my SDK. But there was a folder called tools. So I replaced it. I have environment varaible for sdk as '$ANDROID_SDK_ROOT' .  When I try to put the following command in line 15 ,

it shows errors. I am trying to do this on agentry 7.0.5. Kindly help on how to proceed . I have covered everything successfully so far up to line  14. Thank you.


Customizing Inventory Manager 4.0 mobile application

$
0
0

Hi,

 

I need to make some customization on Inventory manager 4.0 mobile application. For this I need to know the following:

 

  • Do I need to customize the java source code of the application in order to adapt the mobile application to my business process, like for example: Add fields, Add actions, etc?  or just extending java classes and do modification on the IM Agentry Application is enough to do the customization?
  • If I need to include a complete new screen on the mobile application, which is a complex customization. Will I need to ask for this java source code to the sale representative in order to make the customization?


This questions were raised on this post Integration SMP 3.0 and Inventory Manager 3.2 / 4.0  and as I also read Migrating from SAP IM 3.2 to SAP IM 4.0  I found out the java source code must be requested to SAP because on this version is not available to download from marketplace. But I really want to know if I need to do this or not, I'm not very clear about this. It make sense what Stephen Streeter wrote in one of his answers, I don't want to modify the base java classes... I just want add functionality /fields to what is already develop on IM 4.0, but on the other hand, If I want to add a field to MDO, maybe I will need to change the stepHandler class so... I guess that is why Jason Latko confirmed that I need those file... and therefore I need to request to SAP in order to get it and make the customization possible... But I'm not really sure... so at that point I got so confused that I realize I need to ask about this on another thread.

 

Please help me...

 

Best Regards,

 

MC

 

Michael ApplebyManju Venkatesha

Agentry & relay server

$
0
0


Hello,

 

I want to know when is planned the support of websockets for Relay Server?

 

I have a existing RS 16 integrated with SMP 3.0 for OData concept and I'm Reading that I can't configure this RS for Agentry apps because the communication through websocket is not supported for this product. I have to remark, this RS is used for my AFARIA server too... I really dont want to have a RS and ReverseProxy on my landascape for the SMP to practically do the same thing... so I want to know when is planned the support of this technology for RS? or Agentry Apps will support communication through RSOE's any time soon?

 

BR,

 

MC

Connection time out failed retrieve data on SAP CNC

$
0
0

Hi,

We are experience a connection problem with the application. The error says: "client time out waiting for server - time out set as 30 seconds". This happens when we try to retrieve the detail information of a client which and the client has an important quantity of sales orders history, partners and items. When we check out on the app a small client with a few sales orders in its history, the application respond and retrieve data.

 

On the logs we see the following errors:

 

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: [ERROR] 571:client timed out waiting for server - timeout value set as 30 seconds/Location:callServer + 369

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: [ERROR] 571:client timed out waiting for server - timeout value set as 30 seconds/Location:-[SUPRequest startSynchronous] + 1147

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: Network error!

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: Request url was: http://<server>:8000/sap/opu/sdata/MIVE/SALESCUSTOMER/SalescustomerCollection(CUSTOMER_ID_KEY='ID')?$expand=SalescustomercontactCollection,SalescustomerorderheaderCollection

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: Response string: (null)

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: Response status code: 571

Feb 20 09:52:37 iPad-de-NCG SAP Customer and Contacts[216] <Warning>: Response status message: (null)

 

2013-02-20 09:39:01.094 ERROR PROXY MessageChannel Thread-345 [com.sybase.suplite.gwc.req.handler.GWProxy]IOException caught in

fire request :while connecting to the URL sent:
at java.lang.Thread.run(Thread.java:662)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at com.sybase.djc.rmi.iiop.server.MessageHandler.run(MessageHandler.java:310)
at com.sybase.djc.rmi.iiop.server.MessageHandler.processRequest(MessageHandler.java:798)
at com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl_DJC.$invoke

(InboundMoIIOPTransportImpl_DJC.java:100)
at com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl.execute(InboundMoIIOPTransportImpl.java:70)
at com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl.process(InboundMoIIOPTransportImpl.java:127)
at com.sybase.sup.server.msgchannel.internal.MessageChannelInternal_DJC.dispatch(MessageChannelInternal_DJC.java:39)
at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:747)
at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:845)
at com.sybase.sup.server.msgchannel.internal.MessageChannelInternal_DJC$1.invoke(MessageChannelInternal_DJC.java:25)
at com.sybase.sup.server.msgchannel.internal.MessageChannelInternal_DJC.access$001(MessageChannelInternal_DJC.java:4)
at com.sybase.sup.server.msgchannel.internal.MessageChannelInternal.dispatch(MessageChannelInternal.java:110)
at com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler.execute(GatewayConnectorHandler.java:118)
at com.sybase.suplite.gwc.req.handler.GWProxy.handle(GWProxy.java:286)
at com.sybase.suplite.gwc.req.handler.GWProxy.fireRequest(GWProxy.java:506)
at shaded.org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at shaded.org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
at shaded.org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at shaded.org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at shaded.org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at shaded.org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
at shaded.org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
at shaded.org.apache.http.impl.conn.LoggingSessionInputBuffer.readLine(LoggingSessionInputBuffer.java:115)
at shaded.org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
at shaded.org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
at shaded.org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketTimeoutException: Read timed out

 

The question is: How can we enlarge the SUP (client) time out value in order to minimize the connection problem with this app?. Your help will be very valuable.

 

Best Regards

Push scenario on Inventory Manager 4.0 (WHM1.0)

$
0
0

Hi

 

We want to configure the push scenario for the exchange object SWHM10_PURCHASE_ORDER but is not working. At the technical settings, we checked the active flag and at the push settings we set this scenario as push relevant. We also assign the EFI object /SYCLO/MM_EFI_EBELN_EX_INCL to exchange object mentioned. Then we created a push scenario definition for our exchange object  as you can see on the attached image.

 

push_sce.png

 

With this configuration we managed to fill the exchange table if we have changed any field of the a purchase order and this register a record on the log ( /syclo/admin - push instance). Then we run a program for the execution of the push and the status records change to completed but the device is not getting the updates. What might be wrong???

 

Jason LatkoManju VenkateshaBill FroelichMark Pe

 

Best Regards,

 

Mariana

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 Clusters, SolMan Monitoring (recording)

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 - Integration

$
0
0
OverviewAdmin & ArchitectDeveloperIntegrationEvents

 

 

SMP 3.0 Simplifies Integration

Jump to: Integration Gateway |SMP ToolsOData Services | Exchange Framework |

 

SMP 3.0 brings together different mobile technologies - SUP, Agentry and Mobiliser -, each of which had previously implemented their own integration framework and that each came with its own capabilities and purposes.

 

With the consolidation of the different technologies, SMP 3.0 introduces a much simplified and unified approach to (back-end) integration: relying on the standard OData protocol. SAP NetWeaver Gateway provides the direct OData connectivity to SAP back-ends, whereas Integration Gateway provides additional integration to 3rd party systems using protocols such as SOAP, JDBC, JPA, and more.

 

In his blog There is a Gateway for that ..., Mustafa Saglam addresses in more detail what the different Gateway solutions are used for.

 

Got a question on Integration? Ask!

 

 

Integration Gateway

Integration Gateway is a technology component that provides design-time tools and the associated run-time for modeling, composing and provisioning OData services. These can be based on one or more APIs from various SAP and non-SAP data sources.

The data sources supported as of today are SOAP, JPA and JDBC to access non-SAP data sources as well as ODC for accessing OData services provisioned via SAP Gateway.

 

Integration Gateway is delivered inside SAP Mobile Platform 3.0 as an on-premise solution. It is fully implemented in Java and runs on SAP Lean Java Server, a lightweight OSGi based application server.

To build the services, you use the SAP Mobile Platform Tools, which are based on Eclipse (Kepler) (see below for details).

 

Resources

  • Documentation of Integration Gateway is part of the SMP 3.0 Server Documentation (SP4)

 

How-To Guides

  • Develop and deploy an OData service to the SMP3 on an Oracle database, by Marvin Hoffmann
    • Part 1 describes how to set up the HSQLDB and how to deploy the JDBC driver to SMP3

    • Part 2 describes how to model, implement and deploy the OData service with Integration Gateway

    • Part 3 describes how to configure the Integration Gateway on SMP3 to bind the OData service to the backend and how to display the OData service

  • Create an OData Service based on SAP Gateway, SOAP, JDBC and JPA Data Sources, by Bjoern Woppmann

 

 

SAP Integration on SAP CodeTalk

Webinar Recording - Intro to Integration Gateway

For a first introduction to SAP Gateway, watch & listen to Ian Thain's interview with Jeff Gebo from the SAP Customer Experience Group.

 

Find Ian's complete list of SAP Code Talk interviews on YouTube!

Mustafa Saglam, Product Manager SAP Gateway, introduces Integration Gateway and the unique value it adds to SAP Mobile Platform 3.0.

  • SAP's Strategy for Integration in Mobility
  • SAP Gateway & Integration Gateway
  • Integration Gateway in SMP 3.0
  • Provisioning OData Services in SMP 3.0
  • Demo SAP Gateway & Integration Gateway
  • Q&A (starting at about 00:48)

 

 

SAP Mobile Platform Tools

The SAP Mobile Platform Tools are the design time tools that you use to design and provision OData services for SAP Mobile Platform. The tool set comes with two components: The OData Modeler is used to design OData models, the API Toolkit is used to bind the OData to data sources.

Read Amit Nigam's blog on how SMP Tools relate to the now deprecated NetWeaver Gateway Productivity Accelerator (GWPA):  SAP Gateway Developer Tools – Bridging the Past, Present and Future.

 

  • OData Modeler
    The OData Modeler lets you create, import and design Odata models. It follows the open OData standard and is suitable for creating & editing OData Models from different sources and for different destinations.

 

  • API toolkit
    Using the API toolkit, you can bind OData models that you created with the OData Modeler to additional data sources, such as SOAP, JPA, JDBC or ODC (OData Channel for SAP NetWeaver Gateway).

 

Getting Started


5 Videos to understand SAP Mobile Platform Tools

Bjoern Woppmann, Product Manager for SAP Gateway, provides a great overview of the SMP Tools in his 6 videos:

 

 

Video 1: Introduction to SAP Mobile Platform Tools


Videos 2 - 6:


 

 

 

NetWeaver Gateway - Implementing OData Services

The SCN Space for NW Gateway holds all knowledge about NW Gateway in one place. Make this a frequent stop!

Three How-To guides help with offline features for mobile apps:

  1. How to Develop a Gateway Service using Code based Implementation
  2. How to Develop Query Options for an OData Service Using Code-Based Implementation

 

 

NetWeaver Gateway & SAP (Syclo) Exchange Framework


Together with other technologies, NetWeaver Gateway helps you compute delta queries. Patrick Kelleher describes this in great length in his blog Delta Calculation using the SAP Exchange Framework.

Additional, detailed resources are:

 

 

DEPRECATED!  NetWeaver Gateway - Productivity Accelerator (GWPA)

 

SAP has officially ended the support of Eclipse Juno in June 2014. Since GWPA is only available on Juno, this tools is no longer offered by SAP.

Features relevant to the SAP Mobile Platform are now published as the "SAP Mobile Platform Tools".

 

What does that mean for you? Amit Nigam explains this how we have you covered in his blog SAP Gateway Developer Tools – Bridging the Past, Present and Future.

 

As as summary for the three individual components of GWPA:

  • OData Modeler: We will have a new and improved tool in the Kepler release
  • Provisioning Tools: Currently we have “Toolkit for Integration Gateway” which supports SMP 3.0 (more above).
    In Kepler we will have an improved toolkit called “API Toolkit for SAP Mobile Platform”.
  • Consumption Tools: Please refer this link for more details

Why in ATE the Date And Time type field show wrong time?

$
0
0

Dear,

2.jpg

1.jpg

In my project,the "Date And Time" Property field always show the wrong time but the right date, why?

The detail you can see the two pics,one is the actual field in oracle database and another is the ATE screen to display the field value.

 

Best regards,

Xin


How to import existed project created by eclipse into SAP Web IDE

$
0
0

Hi everyone,

 

Is there any document about how to import Eclipse projects to SAP Web IDE?

 

The Menu Items in File->Import are all disabled.

 

sapwebide.png

 

Thank you and best regards.

Kapsel Push Plugin Registration Issue

$
0
0

Dear All,

 

We are building a mobile application (using HTML5, JS). The application makse use of Push plugin of Kapsel. All the settings mentioned in the http://scn.sap.com/docs/DOC-49529 are followed and the push notification works when the user is on index.html page (registration is done on index.html page). We however, have many pages in our application. When the user is on any other page (other than index.html), he does not receive any notification. This behavior is seen across multiple mobile devices which we tested.

 

My question is does the push notification work only on index.html ? How to ensure that the user receives notification even when he is on any page of the application?

Registering Push notification on each page does not look a good coding standard.

 

Thanks.

 

Unable to Connect (Afaria Trial Version)

$
0
0

Hello Experts,

 

I am using Afaria free trial version of 30 days. I had uninstalled the afaria client from android device.

Now, after successful re-installation, I am not able to connect to the server.

It is showing the highlighted error The client is not approved.

I have entered the enrollment code.

I have checked some past threads but it didnt help me.

Also, while uninstalling, I had removed the checkmark from afaria in device administration settings. Still, I am not able to connect.

Can anyone help me on this?

 

Regards,

Bino

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

Delta token number error

$
0
0

Hi ,

 

     Please help me in delta token concept,

 

          /iwbep/cl_query_result_log=>create_update_log_entry_hash 

 

     While debugging this method , im getting an error msg

 

       "    An exception (/IWBEP/CX_QRL_BASE) occurred    "

 

Can anyone tell me what is the issue, or what i have to do ?

 

Thanks and Regards

   

 

 

 

Viewing all 6147 articles
Browse latest View live


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