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

Responsive Design In SAPUI5

$
0
0

Hi,

 

 

 

Easy way to split Tablet/Desktop UI screens.

 

Details: To divide our SPLIT screen Detail page into 2 screen under mobile library, Splitter is the best solution to complete our task.

 

 

 

With resize option:


var oLayout = new sap.ui.layout.Splitter({

  contentAreas : [detailViewpage,detailViewpage2],

    });

 

Inside this content area, we have two views name. While using this SAP automatically split our detail page it into 2 parts, with resize option

 

Without resize option:

 

var nonResize = new sap.ui.layout.SplitterLayoutData({

  resizable : false,

  });

  detailViewpage.setLayoutData(nonResize);

 

we need to use above code.

 

1. According to Split App architecture, Layout data roles are important.

2. Under splitter i put two views

3. if we assigned splitter layout data with resizable as false, resize option will disapers




 

 

 

This is available in version 1.22

 

 

 

Thanks,

Karthik A


SPLIT APP in SAPUI5 MOBILE View have some problem

$
0
0

Hi All,

 

We are facing problem in Split App ( sap.m.splitapp) in mobile view.

In Desktop and Tablets we can able to see master page view. But in mobile,we are not able to see master page.

 

In Desktop and Tablets :

                                              fig 1:                                                                                                                     fig2

c1.JPG                              c2.JPG      

fig1 : On click of that icon we can able to see our master page( fig2). This is possible only in Desktop and Tablets.

 

When I run this same app in mobile, I am not able to see master page. I want same output in mobile. If you have any idea please share with us.

 

 

Thanks,

Karthik A

Query on adding steps in transactions

$
0
0

Hi All,

 

I have a query on adding steps on any transactions.

 

1. I created a .java file (say CustomerSteplet.java) in Java project then exported the application in the jar file. Then I placed the .jar file in server directory and mentioned the path in the JaveBE.ini file.

 

2. In Agentry , I created a Java step

          a. Create Java steplet - > From Existing class - > and then gave the newly created java file name (CustomerSteplet)

          b. Use the existing script ( Since we have already copied the file in the server hence I do not override the existing script)

 

       

By default it creates the step name as NewJavaSteplet1 ( or any other numeric value like NewJavaSteplet2, NewJavaSteplet3.. etc)  and the Java class will have the entire path ( say com.sap.steplet.CustomerSteplet)

 

Now When I want to change the name from NewJavaSteplet1 to CustomerSteplet . It gives me a warning message

 

 

StepNameWArning.png

I still clicked ok and then associated it with a transaction ..

 

During the client - server communication , when this transaction was invoked it gave the Java error as class not found .. Is this the reason that that the new .class file could not be recognized.

 

Please suggest.

 

Thanks and Regards

Neha Mahanty

SAP Fiori : Issue with custom theme

$
0
0

Hi Experts,

We are working on the Theme Designer and facing an issue when we set it as the default theme.

 

We have built a custom theme for the launchpad in the Theme Designer /UI5/THEME_DESIGNER where we have added a new background image and logo.

 

When we go to the transaction /UI5/THEME_TOOL we get the parameter for the theme.

We add the parameter to the launchpad url and the theme works fine.


But when we set this theme in the transaction /UI2/NWBC_CFG_CUST and try to open the launchpad, No theme is loaded in the launchpad not even the standard Bluecrystal theme.


We go to the chrome debugging and see the error:

Failed to load resource: net::ERR_INSECURE_RESPONSE

https://XXXXXXXXX:8100/sap/public/bc/themes/~client-100/~cache-9w.pXDlxd4mykTThSmDpk1Nr-Og/custom_theme_bluecrystal/library.css

Delivering an Elegant Mobile Experience

$
0
0

Recently, at SAP TechEd && d-code in Las Vegas, I had the opportunity to host a panel live from the ASUG studio on the show floor. I enjoyed a great discussion with four of our mobile experts covering several important topics when it comes to mobility areas; mobile security, mobile app development, and the user experience. Our discussion focused on mobile app usage in the enterprise touching all of these aspects. The panelists, Senthil Krishnapillai, of the Mobile Secure team, Chittu Ganesan of the SAP Fiori team, Gerhard Henig, of the SAP mobile platform team and Alan Panezic of our partner Mocana, all have a strong understanding of what it takes to ensure a great mobile user experience.


The interview was broken up into 3 phases – build, deploy and use. Each expert addressed questions regarding new ways to build and secure apps. The panelists agreed that user experience is not about pretty screens and nice graphics, but rather is something that affects the entire experience and has a major impact on the app’s usage. A great user experience helps the user get the information they need – in a secure fashion – without having to constantly sign in to networks and reenter credentials.


You can watch the recording of the 12 minute video below to see how the teams at SAP are working together to combat the burning issues of user experience, connectivity and security measures improved with SAP Mobile Secure, SAP Fiori and SAP Mobile Platform.


Agentry error messages customization

$
0
0

Hi All,

 

There are many agentry generic error messages would be displayed at the time of sync. But I couldn't see the complete error details like the work order number and the operation number from the error message.

 

Below are some of the error messages:

1. Error during processing of BAPI Methods.

2. Start time is Later than Finish time.

3. User status not allowed for object etc...

 

In SLG1 logs and agentry logs also I could see the same error message and I don't have any other details which gives some light on the work orders & operation which causing the error.

 

So it is difficult to identify the error orders. As per my knowledge, at now the only option to get those details is through debugging only.

 

But can we customize the error messages with the order details which gives more information and would be very helpful to identify the problem and the resolution.

 

Or is there any other way to get these details.Please suggest.

 

 

 

Thanks & Regards,

Roopa.

No authorization for maintenance plant 'xxxx' in work manager 5.3

$
0
0

Hi Experts,

 

When iam performing sync from the device(IPad), "Getworkorders-"No authorization for maintenanace plant XXXX (Plant number)" error has been encountered to a specific user.The user has all authorizations like the user can create work orders,notifications...in ECC but not able to download to device.When i have performed sync by using another user id, to the same ecc backe end work orders are downloaded.Please suggest weather we need to provide any user level authorizations to download the work orders for individual users.(like there are any settings to be done in configpanel or admin level..etc).

 

Thanks in advance.

 

Thanks & Regards,

Sravanthi Polu

SMP 3.0 SP03 Server Installation Error

$
0
0

Hi Experts,

 

I am trying to install SMP 3.0 SP03 Server on Windows machine.

 

Below are the system details:

SMP Server: 3.0

Patch Level: 03

Windows OS: Windows 7 64 Bit i3-3220 @ 3.30GHz

Microsoft .Net Framework: 4.5

Microsoft Visual C++: 2005, 2008, 2010

 

The error which I am facing during installation is;

 

"Failed to create Windows service SAPSMPTestUserLogonService to try to set service LOGON permissions for smpServiceUser user account."

Please find the attached screenshot.

 

Prior to this error, I was getting another error "Failed to create Windows User account smpServiceUser".

And therefore I have created smpServiceUser manually on the Windows machine which has Administrator privileges.

 

I have also attached the installation logs. Unable to find any clue in it to resolve the issue.

 

I have followed the installation steps provided on Running the Installer - Installation: SAP Mobile Platform Server for Windows - SAP Library.

 

Please put in your valuable suggestions.

 

Regards,

Dharmaraj Patil


SAP Fiori Client Certificate Configuration

$
0
0

Hi Sankurati,

 

I have installed SAP Fiori X2 applications and am able to open Fiori in mobile phone and browser using the intranet. I need to configure the same for outside network so that I can use the same on external network.

Please let me know the procedure.

 

Thanks,

Rachit

SAP Fiori Client Error (Certificate Error)

$
0
0

i tried method suggested by gopi, http://scn.sap.com/thread/3611575, but still i am getting same error.

 

also i use reverse proxy.

 

my fiori url is HTTP

and for Apache reverse i gave self signed certificate.

 

so for witch server i will need certificate gateway fiori server or apache server.

 

Message was edited by: Michael Appleby

Sales Manager Server not working?

$
0
0

Hello Everyone,

 

I'm currently facing the same issue mentioned in http://scn.sap.com/thread/3558948, but with the Sales Manager Server (Agentry Standalone version). I have tried all the options mentioned here, plus even uninstalling and reinstalling the server, but the issue remains. It's important to say that it was working fine before and for what I can see the server itself starts successfully. The issue is more with the Administration Tools (GUI and CMD), and from what I can think; could be something related with ServerPipes.lst not been generated with the right information. Because when I start the server from the Agentry Administration Client or the command-line tool the server startup process runs without issue, but at the very first moment throws the message "Unable to connect to the server that we just started"

First message.PNG

In parallel to the message on the server thread.

Status connection not detected.PNG

 

And finally everytime that I try to connect to the started server I got the message described for the original post.

 

If anyone has any suggesting, its very welcome.

 

Thanks and regards!

 

Message was edited by: Michael Appleby

SAP Hybrid Web Container for Windows tablets

$
0
0

We have few apps that built for SAP HWC and for ipads. We are currently exploring windows 8.1 tablets. Is there a HWC for windows 8.1 tablet?

Connecttest.bat not working

$
0
0

I have SMP 3.0 installed (patch 04) and I believe the server credentials are correct but cannot get a connection.

Connecttest.bat is installed in folder: C:\SAP\MobilePlatform3\Server\configuration\com.sap.mobile.platform.server.agentry.application

Where are LOGS for the connecttest.bat or where should errors show up please?

 

JavaBE.ini:

[HOST]

;server=localhost

server=epd.xxx.com

;  mobile application name configured in sap like SMART_WORK_MANAGER_51, SMART_CUSTOMER_SERVICE_10, SMART_ISU_WORK_MANAGER_10...etc

APPNAME=SAP_WORK_MANAGER_61

 

[CONFIG]

;  Used to get the SAP Configutaions from SAP if source=SAP or from JavaBE ini file

;  SAP Configurations are [ENABLE_TABLE], [TABLE_CHECK], [TABLE_REFRESH], [BAPI_WRAPPER],

;  [SAPOBJECT], [CT_SAPOBJECT], [CT_BAPI_WRAPPER], [CT_RETURN_TABLE], [CT_DELETE_TABLE].....etc

source=SAP

;source=INI

 

[JCO]

CLASS=JCO3

 

[TEST_LOGON]

UID=sapServiceUser

UPASSWORD=sapServiceUserPW

UPASSWORDENCODED=false

UGUID=

SERVERSERIALNUM=SAP_WORK_MANAGER_61

 

;  Service login user is used to get the SAP Configutaions from SAP if source=SAP

;  Set ENABLED=true if source=SAP or ENABLED=false if source=INI

;  If ENABLED=true, set the UID, UPASSWORD and SERVERSERIALNUM

;  SERVERSERIALNUM is the Agentry server serial number

[SERVICE_LOGON]

ENABLED=true

UID=sapServiceUser

UPASSWORD=sapServiceUserPW

UPASSWORDENCODED=false

SERVERSERIALNUM=SAP_WORK_MANAGER_61

Using Agentry Windows Comand File Mappings And Cyrillic Text - Encoding Problem

$
0
0

Hello everybody,

 

I am trying to create(export) a file with some Cyrillic text in it from an Agentry application.

 

Here is what I do:

 

I am using a Windows Command step in an action. In this step there is a file mapping property. I am passing a string property to the above mentioned file mapping property. Using this I can successfully create a file that is written in Windows %TEMP% folder. The content of the file will be exactly the same as the string property, that I am passing. So far, so good. The problem is that if I write some text in Cyrillic in this string property and try to write it to a file, it doesn't work. The text that is supposed to be in Cyrillic is unreadable after the export. My guess is that the encoding is messed up.

 

Example:

If I write this:
тест
It will result in something like:
test2.png


I am using Agentry Windows Client and Agentry Windows Test Environment for the tests.

 

Has anybody faced this problem before? And can you please give some advice about how to resolve the issue?

 

All help will be much appreciated!

How to access the .db file's data exported using 'Export DB' option from Work Manager app

$
0
0

Hi All,

 

I have been trying to use 'Export DB' option of Agentry Client. The database file will be exported and saved into the following location as I have read from some other posts. Query about the WPF client 6.1.3


<Drive>:\users\<username>\AppData\Local\SAP_AG\Agentry Client {XXXX-XXXXX-XXXX}

 

My requirement is I want to show the data present in this .db file to the user when he logs in to the Work Manager application,

 

How it will be possible to make it user readable and show all the data saved in the exported db file. Please suggest how it can be achieved.

 

Thanks!


Fiori Approval App - HTTP request failed - workitems 0.00

$
0
0

Hi all,

 

since today we have a problem with App "Approve shopping carts".

There are two items in the worklist

 

That shows an error

 

As the App was already running a few days earlier we don't have any idea what happend.

 

Any ideas? Thanks a lot.

 

Regards,

Özlem

Agentry - Identifier Property Auto Increment

$
0
0

What is the best way to auto increment an identifier property in Agentry?  The identifier property will not be saved to the database and will just be used as the key property in Agentry.  I would like for the value to be max(ID) + 1.  Please let me know if there is a way to do this in Agentry.

Agentry Time Property Unset Value

$
0
0

Hi,

 

We have a time property on an object and it's value comes from backend. Problem is that the value comes as empty from backend but Agentry converts it to 12:00:00 AM. Is there any way to set time property empty? (Date properties have an option such as "Display blank for unset value")

 

Here is log :

 

2014/10/30 10:36:01.512:             Setting Time property 'Endtime' to "12:00:00 AM" from Java string 'Endtime' ""

 

Best Regards,
Serkan DEMIR

SAP Fiori - RFC Error: Syntax error in program /GBHCM/CL_MANAGER_APPR_RDP2===CP

$
0
0

Hi Experts,

 

While executing Leave Request Approval application, I am getting an error :

 

{"error":{"code":"/IWFND/CM_BEC/026","message":{"lang":"en","value":"RFC Error: Syntax error in program /GBHCM/CL_MANAGER_APPR_RDP2===CP        ."},"innererror":{"transactionid":"F77158E49B38F1EBB8D1001018C91576","timestamp":"20141020155853.7080000","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[]}}}

 

 

Pl find the attached screenshot.

 

 

Suggest pl.

 

 

Thanks

 

A J

SMP 3.0 for Developers - Native Apps

$
0
0

Building Native Apps with SAP Mobile Platform - Enablement Resources

OverviewAdmin & ArchitectDeveloperIntegrationEvents
Native AppsKapsel 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 the HttpConversationManager, 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.

 

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
  • Loggin Operations (Demo) - 43:00

 

 

android_48.png


Android Apps

 

Top Links

 

 

Viewing all 6147 articles
Browse latest View live


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