Quantcast
Channel: Jive Syndication Feed
Viewing all 10881 articles
Browse latest View live

SSO Configuration with Active Directory SAP Business Objects 4.2 (AES Encryption)

$
0
0

SSO for BI Launchpad

 

Reference Note:

1631734 - Configuring Active Directory Manual Authentication and SSO for BI4

 

Create an Active Directory service account

Note: User account must set to “User cannot change password” and “Password never expires”

 

 

On the SAP BusinessObjects server, add the DOMAIN/ServiceAccount user to the Local Administrators group.

 

Assign the ‘ServiceAccount’ user the right “Act as part of operating System” in the Local Security Policy snap-in.

 

 

Run the following command on the Active Directory server to create appropriate Service Principal Names (SPNs)

 

Note: Make sure domain.com is replaced with your domain name value

 

    setspn -a BOCMS/ServiceAccount.domain.com ServiceAccount

    setspn -a HTTP/BusinessObjectServerHostNameServiceAccount

    setspn -a HTTP/ BusinessObjectServerHostName.domain.com ServiceAccount

 

Change the user configuration of ‘ServiceAccount’ in Active Directory configuration, and under the Delegation tab, select “Trust this user for delegation to any service (Kerberos only)”

 

Change the user configuration of ‘ServiceAccount’ in Active Directory configuration, and under the Account tab, select “This account supports Kerberos AES 128 bit encryption” and ““This account supports Kerberos AES 256 bit encryption”

 

Login to CMC with Administrator user with Enterprise

 

Under the AD Authentication area in the Central Management Console and configure following...

 

    Enable Windows Active Directory (AD)

    AD Administration Name = DOMAIN\ServiceAccount

    Default AD Domain: DOMAIN.COM

    Add AD Group: DOMAIN\UserGroup

    Use Kerberos Authentication

    Service principal name = BOCMS/ServiceAccount.domain.com

    Enable Single Sign On for selected authentication mode

 

Click Update to save all your entries. Check under the Groups area to make sure your AD group has been added.

 

 

Stop SIA through “Central Configuration Manager”

 

Modify the Server Intelligence Agent (SIA) process on the BusinessObjects server to run as the DOMAIN\ServiceAccount user.

 

Create a file called "bscLogin.conf"and save it into "C:\Windows\" directory on the SAP BusinessObjects server, and put the following content into it using Notepad editor


com.businessobjects.security.jgss.initiate {

com.sun.security.auth.module.Krb5LoginModule required debug = true;

};

 

 

 

Create a file called "krb5.ini" file save it into "C:\Windows\" directory, and put the following content into it using Notepad editor

 

[libdefaults]

default_realm = DOMAIN.COM

dns_lookup_kdc = true

dns_lookup_realm = true

default_tgs_enctypes = rc4-hmac,aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96

default_tkt_enctypes = rc4-hmac,aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96

udp_preference_limit = 1

forwardable = true

[realms]

DOMAIN.COM = {

kdc = DOMAINCONTROLLER.DOMAIN.COM

default_domain = DOMAIN.COM

}

 

 

 

 

Execute  ‘kinit ServiceAccount’ in to folder location “X:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin”

 

If a new ticket is stored, the file is correct.

 

 

Stop Tomcat through “Central Configuration Manager”

 

 

Create file “BIlaunchpad.properties” at X:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\config\custom

Add following in to file using Notepad editor

 

authentication.visible = true

authentication.default = secWinAD

 

 

 

Open up the Tomcat Options, and add the following lines to the Tomcat Java Options:

 

-Djava.security.auth.login.config=c:\windows\bscLogin.conf

-Djava.security.krb5.conf=c:\windows\krb5.ini

 

 

Modify X:\Program Files (x86)\SAP BusinessObjects\tomcat\conf\server.xml, by adding ‘maxHttpHeaderSize=”65536″‘ in Connector Port 8080 tag.

 

 

 

Create new file called “global.properties” at “X:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\config\custom”

Add following text to it through Notepad editor

 

sso.enabled = true

siteminder.enabled = false

vintela.enabled = true

idm.realm = DOMAIN.COM

idm.princ = ServiceAccount

idm.allowUnsecured = true

idm.allowNTLM = false

idm.logger.name = simple

idm.logger.props = error-log.properties

 

 

 

Open up Tomcat Options Add the following lines to Tomcat Java Options:

 

Note: Clear Text Password is your ServiceAccount password

 

-Dcom.wedgetail.idm.sso.password=CLEARTEXTPASSWORD

-Djcsi.kerberos.debug=true


 

 

 

Start Tomcat and go to "X:\Program Files (x86)\SAP BusinessObjects\tomcat\logs\" check stderr.log has ‘credentials obtained’ shown.

Test silent single sign on is now working in a browser on client PC

 

Now time to remove cleartext password from Tomcat JAVA option. Inorder to do that please follow steps below..

 

 

Create a keytab on the AD server by running the following command:

 

ktpass -out bosso.keytab -princServiceAccount@DOMAIN.COM -pass CLEARTEXTPASSWORD -kvno 255 -ptype KRB5_NT_PRINCIPAL -crypto AES256-SHA1

 

File created as below

 

 

Copy this file "bosso.keytab" to "C:\Windows" of SAP Business Object server then stop Tomcat.

 

 

Add the following line to X:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\config\custom\global.properties

 

idm.keytab = C:/Windows/bosso.keytab

 

Open up the Tomcat Configuration, remove the “-Dcom.wedgetail.idm.sso.password=CLEARTEXTPASSWORD“  line in Java Options, restart tomcat and make sure ‘credentials obtained’ still showing up in stderr.log.

 

 

 

 

Remove debug=true from the C:\windows\bscLogin.conf file, and also remove the debugging line in Tomcat Configuration, Java Options.

 

Start Tomcat and check SSO for BI Launchpad is working and allowing you to login without entering credentials.

 

 

SSO for CMC

 

Referance SAP Notes:

2190831 - How to enable SSO for CMC in BI 4.1 SP6

2190487 - Is SSO for CMC supported in BI 4.1 with Vintela (AD SSO)?

 

 

Create “CmcApp.properties” at “X:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\BOE\WEB-INF\config\custom”

and add following to it with notepad editor

 

cms.default = CMSHOST:PORT

authentication.visible = true

cms.visible = true

sso.supported.types = vintela, trustedIIS, trustedHeader, trustedParameter, trustedCookie, trustedSession, trustedUserPrincipal, trustedVintela, trustedX509, sapSSO, siteminder

sso.types.and.order = vintela

authentication.default = secWinAD

 

Open CMC page of your BI server and it will allow you to login without entering credentials

 

 

I have used reference document located at : Active Directory SSO for SAP BusinessObjects BI4

created by :  Joshua Fletcher


Thank you for reading

Yogesh Patel


How to transport API assets between instances

$
0
0

In our series SAP API Management - Overview & Getting started we have tried to provide understanding of what API Management is, and many of its basic functionalities. But we have yet to touch on one small, but important item, landscape transport. This will be a short blog, about the current method to transport API assets between instances of API Management (for example, between Dev -> Test -> Prod).

 



TOC


 

 

 

 



PRE-REQUISITE TO THIS BLOG

 

To understand API Proxies, and Transport it is expected that you will have already read and understood the introductory Blog How to use SAP API Management on HCP Trial , describing the creation of API Providers, and API Proxies. Other blogs in the SAP API Management - Overview & Getting started will help as well.

 

 

Understanding the Process


Currently the mechanism for transport is the Export / Import function. Once an API Proxy is developed enough on one landscape, to be moved, the Administrator will simply export that proxy, which will create a downloadable .ZIP XML bundle, which can then be imported into the next landscape, containing all the same settings, policies, etc. except now exposed via the new landscapes FQDN.


The essential process looks like follows, using "Dev -> Test" as an example, exports an API Proxy from Dev, and Imports it into Test:

 

TransportOverview.png

 

In this example, API Management on a completely isolated Development Landscape, connects to a Backend in the same landscape, has an API Proxy exported by the Administrator, and then imported into another isolated Test landscape, which also contains a Backend which should contain a similar endpoint as before.

 

There are many other scenarios that could occur, for example Test and Prod could be on the same landscape connecting to the same backend, but only Prod is accessible externally, e.g.

TransportOverview_2.png

 

or the Backend could be in another cloud, etc. but the basic premise is the same.

 

Making it happen

 

So now, let's look at how it actually works in practice. As expected it is fairly easy. If you know another person with a trial account, you can export / import between trial accounts, or as a customer if you have provisioned separate landscapes within HCP, you can follow the same process. In this example, I will be demonstrating by exporting an API Proxy I created on Trial, and importing it into a productive landscape I have access to on US1, simulating Test -> Prod.

 

I begin by logging into my Trial Tenant of SAP HCP, API Management

 

Trial_Home.png

The keen observer will notice that the GoogleMaps API Proxy has been giving me a lot of errors, so it's good that I tested it a lot on Trial first, as that's the one I will be moving.

 

As usual, I open the "Manage" area of API Management, to get access to my API Proxy list.

 

Manage_Trial_API.png

 

I want to export the GoogleMaps API I have created, which currently resides on the Trial endpoint as you can see below.

 

GMaps_Trial.png

 

To do so, simply click the "Action" arrow for GoogleMaps and select Export, as below:

 

Export_Trial_with_description.png

 

And as mentioned earlier, this will generate a .ZIP file to be downloaded

 

DownloadExport.png

 

Now I switch landscapes to my "Prod" instance on US1

 

Prod_Home.png

 

Still have some errors, but I'm trying to keep it a little bit cleaner! Ok, again to Manage APIs as above, and now I import the API Proxy I just downloaded (don't fret about the API screen looking different, this is proof it's somewhere different!) by clicking the "Import API" button.

 

Import_Prod.png

 

This pops up the Import Wizard, and I click Browse to find the .ZIP just downloaded

 

Import_Proxy.png

 

Select_Proxy_Bundle.png

 

Import_Proxy_2.png

 

Now the bundle should import and automatically populate all the information as before, only now being called from the "Prod" Proxy Endpoint URL on US:

 

GMaps_Prod.png

 

Prod_Final.png

 

With this simple process, the Proxy has been transported from Test (Trial) to Prod (US1).

 

 

Advanced Notes

 

As mentioned above, if you have read the Blog How to use SAP API Management on HCP Trial you may remember that when you create an API Proxy, you are given the option of selecting an "API Provider" as well as the option of "Link API Provider" to API Proxy. This becomes much more relevant when we talk about the process of API Proxy Transport.

 

Link_Provider.png

 

Note at the creation time of the API, if an API Provider is selected, and Link API Provider is checked, that the URL path to the API is now a relative URL, instead of an absolute URL. This is useful in the case of the first example shown, where you have 2 isolated landscapes, where the Backend for the 1st landscape may not be accessible from the 2nd landscape. If the URL were absolute, it would require manually editing where the API Proxy points to get its data each time. However with the relative URL, the API Proxy simply needs to be pointed to the name of the API Provider (which can be named the same on both landscapes) and then find the same relative path to the data.

 

This helps to simplify the transport process between isolated environments, without having to reconfigure multiple API Proxies to point to the correct Backend URL.

 

Hope this helps, and happy transporting!

Let’s do QA - Dashboard Testing Fundamentals

$
0
0

Hello All, so here is some cool stuff for all those who try to ensure quality of your Dashboard.

Testing has always been my favorite area and here I would like to share few knowledge on this. Let me start with a question - Testing your Dashboard is easy? Its after all a Single Screen application , should be easy right? Well, answer depends on various factors but irrespective of whether its easy or difficult , remember it’s important.


A single screen visualization which pulls data from various sources, extracts data from multiple sources,calculates / consolidates numbers  and provides decision making information has to run into thorough QA right? Let’s discuss the  various testing types and testing approaches with respect to testing a Dashboard created using SAP Businessobjects Design Studio.I have not listed all the test scenarios but the key things to be taken care of in each type of testing.


Types of Testing:

Functional Testing

Functional Testing ensures the core functionality of the Dashboard as specified in the Requirements which includes but not limited to

  • Data Validation

Numbers are the heart of the Dashboard. If this goes wrong, then there is big trouble.

    • Validate the Data is extracted correctly at different levels and visualized properly.
    • Validate all the calculation and aggregation logics performed at different levels.
    • Check all the alerting rules , conditional formatting rules work fine based on the data in various scenarios.Boundary value analysis approach can be used here.
    • Always do not stick to testing your dashboard statically .Data is going to grow and Dimension members , key figure Values are going to change.Simulate the change of data like addition of new rows, deletion of rows, during runtime and check in those scenarios.
    • Ensure the working of your chart/ component for different kinds of data like decimal values, very large values,negative values,null values, zero values.
    • Ensure the same for Dimension Members. Few cases are members having space character in them, comma,semicolon,period within them. The reason is few special characters are used as separators while parsing data. If your data contains such characters then there could be a issue.




  • Searching,Sorting,Filtering,Paging
    • Most of the Dashboard have these features which play a major role in user   interactivity.
    • I have seen many Dashboards with searching working fine , but searching after a filtering may break. Sorting on a Search Result, etc are bug prone scenarios which may need attention.
  • Triggers/Events
    • Ensure your scripts work fine and run at configured events.
    • To Debug,At regular intervals alert and check if the values and type of values have passed correctly.Ensure the default values have set up on startup event.

 

  • Navigation

            A complex Dashboard used to have multiple views either by using tabstrip or by         switching visibility of the containers based on selection.

    • Ensure you are able to navigate to all the views in all possible combinations. By this I mean ,things may be fine if you navigate in order View 1,View2 ,View3 but not in the other way.
  • Scalability

            Test if your dashboard will be able to handle different scenarios due to changes in future.As a simple example you would have split a string by a seperator “/” and manipulated something. What if in future there is a data contains the separator within it.

Integration Testing

  Components individually may work fine delivering their functionality.But as a Dashboard the component is placed in containers in a nested manner and also placed with other components. There are few scenarios one component will affect the rendering of other component. Also few charts do not behave as usual when placed in container Components .

Non Functional Testing

  • UI Testing

          We need to ensure that the  dashboard meets the UI standards.Few Scenarios include.

    • Check if the alignment of all the components is proper relative to other components.
    • Dynamic resizing during runtime scenarios
    • Browser resizing scenarios
    • Ensure no Overlap between components and no overlap between the elements in the component.
    • Watch the boundaries. As an example there may be a dropdown at the bottom whose list may exceed the scope of the screen when expanded.


 

  • Usability Testing

            This area needs much focus as the end users should see and understand the dashboard in few seconds . The Dashboard should be intuitive enough so that the user needn’t undergo any documentation to use the Dashboard. Few scenarios include

    • Check if Tooltips are present wherever necessary.
    • Title ,Subtitle and other information should convey clearly what data is the chart showing.
    • Scroll Bars are necessary when the list exceeds the scope.
    • Warning,Warming messages at necessary actions.
    • Validations - As an example  if a user has selected an invalid filter , there should be a nice message instead of an error.
    • Clear buttons for all input and Search Boxes would be good.
    • All components should go well with the theme.

 

  • Compatibility Testing

This is most Challenging area. The environment , platform may branch out into a number of combinations and it is impossible to test in all environments that your Dashboard works fine.

  • Platform Compatibility:
    • BI/HANA/NW
      • versions
  • Datasource Compatibility:
    • HANA
    • Universe
    • Bex Query/BW Cube
    • Excel /CSV Datasources.
  • Browser Compatibility:
    • Chrome
      • versions
    • IE
      • versions
    • Firefox
      • versions
    • Safari
      • Versions
  • Device Compatibility:
    • Mobile
      • IOS
      • Android
    • Ipad
    • Desktop



  • Migration Testing
    • Tool Migration - Design Studio x version to latest version
    • Platform Migration - BI/HANA/NW x version to latest version
    • Environment Migration - Dev  to QA to Staging to  Production
    • Data(Backend) Migration - BW/HANA version migration
    • Extension  Migration - Your Dashboard may contain custom SDK extensions and when there is new version of those  , a migration testing is required.
  • Performance testing

Dashboard’s performance plays a major role in user experience.Initial load time of your dashboard should not exceed 5-10 seconds.

    • Analyse the cost of each datasource,Component rendering for every action like filtering etc and optimize accordingly.
    • Measure the performance for different volumes of Data.
    • Consider Parallel groups wherever possible .


  • Security/ Access restriction Testing



Regression Testing

  This area is a major challenge. Regressing your Dashboard after every fix is mandatory as that fix may bring a bunch of other issues.

regression.jpg

How to handle this?

My approach would be forming a Impact Distribution Matrix for your Dashboard which gives you information about the dependency of a component on a Datasource / Script/Variable etc.

With this information , if you change something somewhere, you know what are all the areas that needs to be tested.



Component

Datasource

Scripting

CSS class

etc..

Line Chart

DS_1

linecss

Column Chart

columncss

CrossTab

DS_3

View 1

View 2

List Box

DS_4

Onstartup

etc.



 


Hope this provides a bird eye view on Dashboard Testing. Happy Testing!!

For the love of SAP payroll

$
0
0
This is for the ones who find payroll interesting, but are not sure where to start. It’s also for the ones who find payroll intimidating and would rather steer clear! Either way, here’s my two cents on how to up your payroll game:  

How to include saved search results on CRM WebUI Home page

$
0
0

At the moment SAP delivers very few views that can be included on CRM WebUI Home page to monitor users' day to day work... and most of them are addressing very specific needs and can't be customized in any way (this is going to be improved a little bit with the last Customer Connection program, but not that much I guess). For example:

  • My tasks
  • My appointments today
  • Etc.

 

But what if users would like to see their opportunities, their quotations in progress, or newly created service requests assigned to them? Well, they can create saved searches that will be displayed on their home page too, but they'll need to click on each and every link to navigate to the results (which is somehow cumbersome already because when designing the application we'd like to prevent too many clicks). And the real problem is: if service requests are not assigned to them very often for example, after clicking on the link to get an empty table for the tenth time, they might forget (or choose not to open the link) next time.

 

So the idea came up to create a new component included on CRM WebUI Home page to display the results of selected saved search. At first, I thought it would be quite easy to "copy" what was already done for widgets that users can create and include on Home pages themselves, but it needed lots of modifications to SAP standard code. So in the end, I started the creation of a new component from scratch that would work like an overview page with dynamic assignment blocks. And I would like to thank Arun Prakash Karuppanan for his document that helped me a lot for the "dynamic" part: WebDynpro ABAP in CRM 2007: Dynamic Context Nodes and Component Usages. Here is the result:

Result.PNG

 

To get there, first I created a component with a MainWindow including a Dashboard viewset. I added one context node "RESULT" in the component controller to store the results to be displayed and added it to the component Interface. I also created component usage "PERSO" to be able to open a personalization popup where each user would choose which saved search he would like to include in his dashboard:

 

Repository.PNG

Then in the html code of DashboardVS all we need is to loop through the saved searches that our user decided to put on his home page, and to include them as view areas:

 

DashboardHTML.PNG

 

The important part here is LOOP AT controller->mt_pers INTO ls_pers. This MT_PERS variable is filled-in by method BUILD_PAGE which is called during DO_PREPARE_OUTPUT:

 

Do_PREPARE_OUTPUT.PNG

 

We're almost done. Now we need to tell the system how to call the personalization popup and fill-it with the user's saved search (for him to choose which one should be displayed in our Dashboard component). So all we have to do is to create two event handlers: EH_ONPERSO and EH_ONPERSO_CLOSED. The WebUI framework team really did a very good job on this one because the popup will take care of everything for us. Here is an extract from the code that can serve as an example:

 

PERSO.PNG

Et voilà. All the bits and pieces are here to include saved searches on CRM WebUI home page (provided that you add this component in SPRO >> CRM >> UI Framework >> UI Framework definition >> Define additional views for home page). Now there are only 6 steps to perform (with the help of wizards we are talking about a dozen of clicks maximum) for each query object that our Dashboard component should support:

  • Create a new window untitled 'EmbW<name of query object>'. No context node needed
  • Create view 'Emb<name of query object>' with context node RESULT corresponding to the query result bol entity
  • Bind RESULT context node from this view with RESULT component context node
  • Create the view configuration
  • Add view 'Emb<name of query object>' to window 'EmbW<name of query object>' inside the component repository
  • Add window 'EmbW<name of query object>' as component interface


Here is what I created to be able to embed saved searches for activities and opportunities:


Opportunities.PNG


I know the creation of new windows for each query object might look a little bit useless so far... but as I was designing this component, I wanted to make it ready for embedding views inside overview pages as well. For example: in the business partner OVP you might want to display an assignment block with opportunities of type xxx and status zzz assigned to yyy. This is something you can easily do if you create a rapid application, etc. etc. but then you need one rapid application for each object type you want to embed (and SAP do not deliver any of them out of the box). So as the result of a saved search or the result of a mapping from a rapid application looked very similar to me, I designed this Dashboard to be able to embed the query object views in any OVP. So in my next blog I'll explain how we can change the super class of those 'Emb<query object>' views that were created by the wizard, to transform this dashboard component into an embeddable views repository (i.e. you won't have to create rapid applications to insert query results into OVP anymore)...


The #BigData après–ski, the new challenge for #Retailers

$
0
0

In a Digital Enterprise age, competitors are very aggressive, they are fighting in a market share that is no longer loyal to a brand, the new consumers are loyal to the company who provide innovation, make their decisions easy and thereby bring a value to the offer, if you cannot provide this, they will “google it” and find another provider in a matter of seconds.

A couple of years ago the #BigData wave hit the Retail industry, nowadays almost all the key retailers implemented successfully a BigData architecture, elastic, analytic and bring data democratisation to their organisations.

But that is the past, now the Retailers face a new challenge, how to retain customers, how to make them to come again to your store (physical or virtual) and prefer you against the competitors, this is a recurrent block of questions that any retailer has in their mind.

The solution rely in a revolutionary Personalised Marketing strategy, not the typical one, this one will be based technology, specifically in Machine Learningtogether with Predictive Algorithms, and that’s for the backend of course, once your personal offer is selected by those two elements you need to give it in a customer hands in a non-intrusive manner, that looks so natural that the consumer feels it as an obvious option, Mobility is the key here, but mobility in the wide vision that include new TV Apps (Like AppleTV, Google ChromeTV, etc), Wearables (Apple Watch, etc) and Enhancement in native mobile behaviour.

Let me explain each component with a quick example:

Machine Learning: Machine learning is a subfield of computer science that evolved from the study of pattern recognition and computational learning theory in artificial intelligence, this can be exploit in the retail industry to analyse the individual trends, what does he/she like, what not, how reacted to previous offers, what attract him/her to our store. Whit your BigData and the right infrastructure (like SAP HANA, Etc) you can get this very easy.

Predictive Algorithm: Once you have a Machine Learning processing the data and learning what are your customer’s preferences and trends, you need to apply algorithms that identify when the customer has the next buy intention and if possible which articles are in his/her Wishlist, make an offer and wait for the catch, successful retailers like Amazon, Alibaba, etc already use this with an amazing results

New TV Apps: Yes, wake up, traditional channels are obsoletes, you want to have a personalised offer, you need to be sure the customer see it and when they expect to, so you need to link your publicity to the new Television, and it is on demand, via Apps on platforms like AppleTV (tvOS) or Android.

Wearables: Smartwatches and Virtual Reality are there, people get one device each day, new retailers already have VR stores, what about you ? what about notifications in the smartwatch ?

Native Mobile Behaviours: A coupon that goes directly to their digital wallet, using Paypal, Bitcoin. Your fidelity card virtual, with some money on it, you need to re-design your mobile apps to make it more attractive and use the latest technology gadgets, use iBeacons to detect that customer when is in your store proximity and offer him/her something he or she really wants, based in your machine learning & predictive algorithm from your backend.

This is the 2017 challenge, are you working on it ?

SAPUI5 sap.ui.table XML view

$
0
0

Hi All,

 

In this blog post, let us see how to create a simple sap.ui.table using XML view and a general controller using SAP Web IDE environment.

 

All you need is an access to SAP Web IDE environment and a some programming knowledge.

 

A public free trial is already open for you @ Cloud Cockpit

Register and that's it. You are ready to enter a new UI experience by SAP.

 

After everything is good to go you would hopefully be landing at one of the pages where in you could create your applications and start learning.

 

2016-09-04_1-37-17.jpg

Supply a name and start editing your application.

 

The basic file structure of SAP Web IDE looks like this

 

2016-09-04_1-47-42.jpg

The next step is to start creating a view with a name - remember every view will have a controller for it.

 

2016-09-04_1-45-25.jpg

2016-09-04_1-50-48.jpg

Once, the view is created in <App Name>/webapp//view folder, a controller for this application will be created in controller folder.

Location of these files can be anywhere throughout the view, controller or out of these both folders. But, specifying the location of controller to view is the important and basic troubleshooting we need to look at in cases we face a view-controller related problems.

 

You need to take care mostly of files that you create in view, controller folders and index.html

 

Copy the below code into the View1 view you just created.

 

View1.view.xml

 

<mvc:View

controllerName="UITable.controller.View1"

xmlns:html="http://www.w3.org/1999/xhtml"

xmlns:mvc="sap.ui.core.mvc"

xmlns="sap.m"

xmlns:table="sap.ui.table">

  <App>

  <pages>

  <Page title="{i18n>title}">

  <content>

  <table:Table id="Table1" rows="{/}">

            <table:title>

            <Text text="SAPUI5 sap.ui.table XML view"></Text>

            </table:title>

            <table:columns>

                        <table:Column sortProperty="name" filterProperty="name">

                                  <Label text="Employee name"/>

                                        <table:template><Text text="{name}" ></Text></table:template>

                        </table:Column>

                        <table:Column sortProperty="company" filterProperty="company">

                                  <Label text="Company"/>

                                        <table:template><Text text="{company}" ></Text></table:template>

                        </table:Column>

            </table:columns>

  </table:Table>

  </content>

  </Page>

  </pages>

  </App>

</mvc:View>

 

And now move on to View1.controller.js

 

sap.ui.define([

  "sap/ui/core/mvc/Controller"

], function(Controller) {

  "use strict";

   return Controller.extend("UITable.controller.View1", {

 

  onInit: function() {

  var table1 = sap.ui.getCore().byId("UITable--Table1");

  var oModel =  new sap.ui.model.json.JSONModel();

 

  var datapath=

  [{"name":"Sai Giridhar","company":"SAP"},

        {"name":"Vignesh","company":"TCS"},

        {"name":"Mike","company":"SAP"}];

      

    table1.setModel(oModel);

  oModel.setData(datapath);

  }

  });

});

 

And index.html looks as below

 

<!DOCTYPE HTML>

<html>

  <head>

  <meta http-equiv="X-UA-Compatible" content="IE=edge" />

  <meta charset="UTF-8">

  <title>UITable</title>

  <script id="sap-ui-bootstrap"

  src="../../resources/sap-ui-core.js"

  data-sap-ui-libs="sap.m"

  data-sap-ui-theme="sap_bluecrystal"

  data-sap-ui-compatVersion="edge"

  data-sap-ui-resourceroots='{"UITable": ""}'>

  </script>

  <link rel="stylesheet" type="text/css" href="css/style.css">

  <script>

  sap.ui.localResources("view")

  var app = new sap.m.App({id:"app_UITable",initialPage:"detail"});

  //declaring the View1

  var page1 = sap.ui.view({

  id:"UITable",

  viewName:"view.View1",

  type:sap.ui.core.mvc.ViewType.XML});

  //End declaring the View1

  app.addPage(page1);

  app.placeAt("content");

  </script>

  </head>

  <body class="sapUiBody" id="content">

  </body>

</html>


Once the coding part is done. Execute the application and you will see this page opening and working absolutely fine.

2016-09-04_2-08-29.jpg

Now coming to data binding part:

We used JSON predefined here in the controller.js to project data in the table.


This exercise will give you a chance to try your first simple table application in SAP Web IDE. You can still add seasoning on this to make it work as you want it to be.


Links to refer:

1. sap.ui.table - API : JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.table.Table

2. sap.m.table - API : JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.m.Table


For sap.m.table advanced functionality refer here.

1. SAPUI5 Explored


Thanks and welcome to SAPUI5. Happy learning !!!

SAP Hybris Strategy: The right SCM, process and product strategies (IoT, HCI, C4C & more!)...

$
0
0

The excess of products, shortage owing, an inability to predict demand, mismatch between the type of product vs SCM, let costs arise when supply exceeds demand and product has to be marketed down and sold at a loss, or when supply falls losing sales opportunities with dissatisfied customers. So we must consider the nature of the demand, devise the SCM that can best satisfy it, identifying a product life cycle, demand predictability of product variety and market standards for lead times and service in 2 point of views that ensure the SCM / Market meditation:

  • Functional product: satisfy basic needs, are stable, predictable but invites competition, which often leads to low profit margins.
  • Innovative products: contain value added, achive higher profit margins, are unpredictable and volatile demand, is fundamentally build a different SCM.


One of the main trends visualized by SAP Hybris Strategy is: "By 2018, one third of the top 20 in every industriy will be disrupted by digitally transformed competitors." Said by Frank Gens Chief Analyst, IDC… Expecting the digitalization to be easy to do business with, be better informed than they are, be one step ahead of them and be present where they hang out. In one context that companies must to understanding that: Customer now have control, omnichannel is business, digital transformation is an imperative, marketing is broken, context make the difference, data is the fuel...


So we can focus in how attract with contextually relevant experiences, how convert regardless of channel or device and how retain throughout the customer journey, maybe combining this visión with next questions that will be aligned to deliver an “Experience Management” in Business Models as B2B, B2C and others accelerator products:


How to match Supply Chains with Products?:

  • 1st we must determine whether their products are functional or innovative.
  • 2nd we have a sense about predictable products and which have unpreditable demand,
  • 3rd we decide whether their SCM is physically efficient or responsive to the market.


How to gain responsive Supply of Innovative Products?:

  • 1st companies must to accept that uncertainty is inherent in innovative products,
  • 2nd understand that the highest profit margins usually go with highest risk in demand,
  • 3rd employ three coordinated strategies to becomes more predictable by finding sources of new data, having different products and share common components.
  • 4th be against the remaining residual, focus on one segment and use the divisions strenghts to develop a responsive chain avoiding the high risk of overproduction.


When to implement Product Postponement?:

  • When the logic of integrated product is manufactured. Thus, the designer must wait for a new integrated component to be manufactured to make design changes.
  • When building a system with a programmable logic device, the customer incorporates the logic using software after the integrated component is manufactured.
  • When in a programmable logic, the logic system can be set up with the customer.


When to implement Process Postponement?:

  1. No-postponement: independent and minimum inventory for given level of safety stock, back orders estimated using the demand uncertainty and the planing lead time.
  2. Push-pull postponement: single inventory, back orders using the uncertainty demand, perfomance improvements to customers that require fast deliveries.
  3. Partial postponement: parts with the longer back-end lead time: inventory for the given service level, safety stock in finished goods for a maximum level of expected backorders. When few parts have short lead times, keeping most inventory in finished goods.
  4. Hybrid: allow to reduce inventories and maintain a high level of customer service.


Impementing process postponement requires redesigning products while trying to keep the changes transparent to the customer, wating for short time until the next product-generation release when customers convert their designs to take advantage of speed and price benefits.


With SAP Hybris Strategy we can focus energies in different pillars after reviewing one kind of ideas that we can align into "experience Management" as key point, before to continue with more new tech offer listed bellow:

  1. Commerce: the delivery of customer experience, product content management, modern - extensible - Standards based, Commerce, Order Management, Accelerators, Hybris extend and the Data Hub (as first consideration before to use SAP HCI), PCM, MDM.
  2. Billing: supported by 6 use cases for monetization challenges via new model business vision, growing when moving from product to services & outcomes, IoT & Connected devices, Digital commerce and Platform Busines Model protecting with Agility and Revenue Managment Renovation. In 5 pillars: Business Model Design & Pricing Simulation, Subscription Order Management, Usage Metering & Transaction Pricing, Billing / Receivables Collections and Partner Revenue Share.
  3. Marketing (see image 1): with key points as Marketing & Data Management, Segmentation, Acquisition, Recommendation & retargeting (convert), Planning & Insight and Logalty Management.
  4. Cloud for Customer: From the delivery vision with IoT, service management, service operation to the omni-channel customer engagement with social channels collaboration, sales, SAP Jam and more with self service visión… self-service, social service, service order management, resource scheduling, mobile, customer service, field service, knowledge, , analytics and more extensions with SAP HCP...
  5. Cloud for Sales: with paradigms to sell anywhere anytime, turn insight into action, sell more, admin less and know your customer...


Data Management: Gain insight in real-time, enrich across channels in contextual customer view, predict likelihood, social monitoring and engagement; supporting five pillars...


imagen 2.png

 

Image 1: SAP Hybris Marketing / Data Management: example.


Integration: can cover a lot of technologies, scenarios, standard or customized proposalsin order to support interoperability into engagement paradigm:

  • Technologies: as Commerce, ERP, CRM, C4C, Marketing, B1, Lumira, JAM, PCM, Open Text, SAP HCI, SAP PI, Data Hub, others...
  • Scenarios: Data master, Call centers, customer support, Loyalty data, social media / web / commerce / mobile / IoT, ASM B2C-B2B, Opportunity, Leads, Identity Target, Personalized Shopping Experience, Pricing, Sales Quote, others...
  • Example of SAP HCI package (see image 2): SAP Hybris Cloud for Customer Integration with SAP Hybris Marketing. Considering the integration process: Confirm Business Activity Replication to SAP Business Suite.
    • You can refer to my SAP HCI post: LINK…...

 

Imagen 3.png

 

Image 2: SAP HCI: Hybris package example.



Metodology to create this proposal: all the information here is supported as a personal review process obtaining the information from 3 prestigious authors and institutes (Harvard / Interfaces reviews / OpenSAP), so they are the owners of all rights reserved... The personal work here, was to create a new the review structured in my experience alligned to new SAP tech vision...


References:

  1. Brown A., Lee H 2000. Xilinx Improves its semiconductor Supply Chain using Product and Processes Postponement, Interfaces, 30 (4) pp 65-80 http://pubsonline.informs.org/doi/abs/10.1287/inte.30.4.65.11650?journalCode=inte
  2. Fisher, M 1997. What is the Right Supply Chain for Your Product? Harvard Business. https://hbr.org/1997/03/what-is-the-right-supply-chain-for-your-product
  3. Experience SAP Hybris Solutions by Marcus Ruebsam, Sven Feurer & Team, obtained by https://open.sap.com
  4. SAP Hybris: https://www.hybris.com/es/
  5. SAP: http://go.sap.com/index.html 

SAP Web IDE @TechEd 2016 - Fiori, Mobile, IoT, SAP HANA and more

$
0
0

Join us at SAP TechEd 2016 to find out how the SAP Web IDE assists you in your journey of digital transformation. More than ever, the SAP Web IDE is key to multiple development scenarios, prominently used in various sessions and topics…Fiori… mobile… SAP HANA… S/4HANA… IoT.


The SAP Web IDE journey continues as it is extending into new grounds. In addition to enhancing the end-to-end Fiori and mobile development offerings, the new SAP Web IDE for SAP HANA was introduced this year for creating native applications for SAP HANA. During TechEd you’ll also experience how the SAP Web IDE is used to develop IoT (Internet of Things) apps, SAP S/4HANA...and there’s a lot more to expect…


Come and meet the SAP Web IDE experts at the BUILD and EXPLORE zones (TechEd LV Showfloor - Inside Hall G).

 

Want to find out more about our sessions?

The following is a sample of the sessions where SAP Web IDE is presented and used:


Session ID

Session Title and Link

Session Abstract

UX207

Improves Your Productivity in Developing SAP Fiori/SAPUI5 Apps

In this session, you will be able to experience SAP Web IDE as we present the various use cases scenarios and tools (existing and new) that provide a simple and efficient way for developing the new user experience from SAP. You’ll learn how SAP Web IDE leverages its solution to create actionable benefits for its end users.

UX846

Road Map Q&A: SAP Web IDE

There are multiple delivery options for SAP Web IDE – SAP HANA Cloud Platform, SAP HANA extended application services, advanced model, and a local/personal edition. In this session, we will present an overview of SAP Web IDE, its newest capabilities and benefits, and lay out its road map and the strategy for the future.

MOB102

Next Stop: Enterprise Mobility in the Cloud

In this session we will demonstrate the end to end lifecycle of a mobile-optimized SAP Fiori app from a developer's perspective.  We will demonstrate creating an SAP Fiori app with SAP Web IDE and extending it with mobile qualities via the mobile service for SAP Fiori.  We'll then transform it into a hybrid app and test it on a mobile device, all with zero footprint for local tooling.  Once complete, SAP will show the resulting app in Mobile Place and cover all aspects of lifecycle management.

UX101

UI Technologies and Clients from SAP in Times of SAP Fiori and SAP S/4HANA

Get an overview of SAP’s strategic UI technologies and clients and how they support the SAP Fiori and SAP S/4HANA software strategy. Learn about key characteristics and road maps and see them in action in live demos.

DEV201

IoT Developer Experience for Building IoT Applications Efficiently

The IoT developer experience provides tools and components to support IoT developers from SAP, partners, and customers in developing and running state-of-the art applications collaboratively and efficiently. Tooling for the IoT application builder is based on SAP Web IDE enriched with IoT-specific plug-ins: • Thing modeler for configuring IoT-related things • Mash-up service builder for creating application flows based on microservices • Rules modeler for configuring simple and complex rules

DEV107

Introduction to the SAP Web IDE for SAP HANA

In this session you will receive a first look at the new SAP Web IDE for SAP HANA supporting native development with SAP HANA. We will show how to build database development artifacts, Node.js-based services, and user interfaces for SAP Fiori apps and SAPUI5 based upon the advanced model of SAP HANA extended application services, as well as the development infrastructure of SAP HANA using the SAP Web IDE for SAP HANA.

DEV204

What's New in Native Application Development with SAP HANA

In this session we will provide an overview of all the new developer-related features that were introduced in SAP HANA SPS 11 and SPS 12, as well as look ahead to the near future. There will be a special focus on the SAP HANA extended application services, advanced model, the deployment infrastructure for SAP HANA (aka HDI), and SAP Web IDE for SAP HANA. You will get an overview of how all these recently introduced technologies improve and expand the development options for SAP HANA.

 

Want to code it for yourself?

The following is a sample of the suggested hands-on sessions:

 

Session ID

Session Title and Link

Session Abstract

UX262

Adapt SAP Fiori and SAP S/4HANA Suite Apps to Your Business Needs Quickly

Learn how to read and write data back to SAP S/4HANA. You will see how to quickly develop UIs by using a SAP Fiori UX template on top of the application logic and data for SAP S/4HANA.

DEV603

Build Your First Extension for SAP Web IDE

Build your first extension for SAP Web IDE through which you can add new development capabilities and features. With these extensions, you can connect to other services and environments such as software development solutions. You can add the features you need to improve the development experience and increase productivity. In this session, you will create an extension for SAP Web IDE with your own UI and logic and then test it – all while using SAP Web IDE as the development environment.

DEV604

Add Your Custom SAPUI5 Project Template to SAP Web IDE

Enhance SAP Web IDE by adding your own SAPUI5 project templates. With SAP Web IDE extensions, you can add new SAPUI5 project templates dedicated to your business application. This will make new development easier and help you create standardized applications with the same look and feel. In this session, you will create an extension for SAP Web IDE with your own SAPUI5 project template and use it to create a new SAPUI5 application – all while using SAP Web IDE as the development environment.

MOB160

Agile Meets Mobile: Go from Prototype to SAP Fiori App in 15 Minutes

Learn how to use the SAP Splash studio and Build tool to quickly design and prototype an engaging SAP Fiori app. Discover how to transition this prototype into a working SAP Fiori app using SAP Web IDE.

MOB261

Build SAP Fiori Apps Using SAP HANA Cloud Platform and SAP API Management

Join us for a hands-on session on how to build your own mobile app based on the SAP Fiori user experience (UX) using the mobile services that run on SAP HANA Cloud Platform, along with SAP API Management. Learn how to create your own API proxy, consume it in SAP Web IDE, and enhance the project with mobile qualities.

DEV160

Intro to SAP HANA Database Development with Deployment Infrastructure

In this session we will introduce you to the new concepts of the deployment infrastructure for SAP HANA (aka HDI) as well as the new tooling that is part of SAP Web IDE for SAP HANA. We will learn the latest techniques for development using core data services to model your base entities and associations, and will use the graphical calculation view editor within SAP Web IDE for SAP HANA. We will also show how to view and debug your runtime objects using the runtime tools for SAP HANA (aka HRTT).

DEV161

Intro to SAP HANA Extended Application Services, Advanced Model Development

With SAP HANA SPS 11, SAP has introduced a major new application server architecture: SAP HANA extended application services, advanced model. This new architecture is based upon Cloud Foundry and the concepts of microservices. It expands the support runtimes to include Node.js and Apache Java- based development. In this session we will develop a first Node.js-based application using SAP HANA extended application services and SAP Web IDE for SAP HANA.

 

So why wait???

Grab the opportunity to enrich your knowledge and “meet the experts” to ask questions, network with experts and peers, find out the future directions of SAP Web IDE, watch and build demos. You get to choose between three great locations this year: Las Vegas, Bangalore, and Barcelona. If you still need another reason to register, watch Bjoern Goerke's video invite!


Its change in user interface, NOT in process ownership

$
0
0

FIORI is the front-end

 

With FIORI, customers could personalize the user experience for their SAP Applications. The back-end applications are supported by Functional Consultants who work in line with their counterparts in business – the Subject Matter Experts. It’s a typical support model where new business requirements / change requests are raised through the SMEs and are addressed by SAP Module Specialists, no matter what technical effort is applied in developing solutions.

 

Foreground (Functional), Background (Technical)

 

The developers usually work in background and hence they usually are least-known to end-users; their point of contact, at most, is the Functional guy if not the SME. The approach is useful in a way that technical people could focus on development while functional could handle the foreground work. In my recent encounter, however, in case of User Experience, I noticed instead of just technical issues even the process queries were being routed to FIORI Consultant. Content Package.jpg

 

Content (the Actual Application), Package (the User Interface)

 

The most apparent reason I have found is end-users’ misunderstanding of the process ownership; they, by merely looking at the interface, mistakenly assume any process / system issue as FIORI’s and perceive the change differently. I strongly believe the Technical Consultant – even of having process understanding and ability of handling such issues, shouldn’t be bothered with such support calls to

 

  1. utilize his time better i.e. on enhancing the interfaces of other SAP applications and
  2. avoid possible delays in addressing users’ concerns which otherwise could be handled by respective modular consultants promptly.

 

The Change Management stream has a role in controlling such behavior, in my opinion, by communicating it clearly in the

 

  1. awareness campaigns which are run to alert people of upcoming changes, and
  2. training sessions which are arranged to guide them of how to use applications.

 

The message should be clear that

 

Its change in user interface, NOT in process ownership.

SAP B1 ELECTRONIC INVOICE MX MYSTERIOUS ERROR

$
0
0
Anastasia Sanchez asked 2 days ago

 

 

I really appreciate your support. I already have installed three 9.2 PL3 using native electronic invoice, but the last One has not been successful.

 

The electronic invoice enabling has been simplified enough, it is very simple, therefore, I do not understand why the last installation failed. The SAP B1 server is also domain server and use of course the active directory (Windows Server 2012 and SQL Server 2012). The antivirus is F-secure. SAP B1 said:

 

1. The electronic object was generated successful.

2. waiting for processing, the mode is test.

3. IF does not show any errors and any process related to the electronic invoice generated by SAP B1.Besides

4. the user IFDBUSR_B1if is not in the permissions list for SQL Server 2012

 

I was checking f the windows log and there are lots of messages:

Log Name:      System

Source:        Microsoft-Windows-DistributedCOM

Date:          9/4/2016 11:51:20 AM

Event ID:      10016

Task Category: None

Level:         Error

Keywords:      Classic

User:          NT SERVICE\SQL Server Distributed Replay Client

Computer:      sapb1-s1.bossfood.local

Description:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

{6DF8CB71-153B-4C66-8FC4-E59301B8011B}

and APPID

{961AD749-64E9-4BD5-BCC8-ECE8BA0E241F}

to the user NT SERVICE\SQL Server Distributed Replay Client SID (S-1-5-80-3249811479-2167633679-2115734285-1138413726-166979568) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />

    <EventID Qualifiers="0">10016</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8080000000000000</Keywords>

    <TimeCreated SystemTime="2016-09-04T16:51:20.601386700Z" />

<EventRecordID>4538735</EventRecordID>

    <Correlation />

    <Execution ProcessID="708" ThreadID="4268" />

    <Channel>System</Channel>

<Computer>sapb1-s1.bossfood.local</Computer>

    <Security UserID="S-1-5-80-3249811479-2167633679-2115734285-1138413726-166979568" />

  </System>

  <EventData>

    <Data Name="param1">application-specific</Data>

    <Data Name="param2">Local</Data>

    <Data Name="param3">Activation</Data>

    <Data Name="param4">{6DF8CB71-153B-4C66-8FC4-E59301B8011B}</Data>

    <Data Name="param5">{961AD749-64E9-4BD5-BCC8-ECE8BA0E241F}</Data>

    <Data Name="param6">NT SERVICE</Data>

    <Data Name="param7">SQL Server Distributed Replay Client</Data>

    <Data Name="param8">S-1-5-80-3249811479-2167633679-2115734285-1138413726-166979568</Data>

    <Data Name="param9">LocalHost (Using LRPC)</Data>

    <Data Name="param10">Unavailable</Data>

    <Data Name="param11">Unavailable</Data>

  </EventData>

</Event>

 

 

 

 

MANY THANKS FOR YOUR HELP

SAP Tools for MS SQL Server update - SAP NW on SQL Server PS blog

$
0
0

We recently received some incidents from customers having problems to finish their database upgrade on SQL Server.


An essential part of upgrading SQL Server is running the Database Upgrade Completion, part of the SAP Tools for MS SQL Server, which is delivered within SWPM. It will perform many SAP specific tasks and will also increase the database compatibility level.

 

During the execution, the error was always the same, in sapinst_dev.log:

 

 

Errors when executing sql command: [Microsoft][ODBC SQL Server Driver]Associated statement is not prepared

[Microsoft][ODBC SQL Server Driver][SQL Server]The server principal 'DOMAIN\sidadm' already exists.

SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.

 

 

 

Well, the error is actually coherent but somehow strange. Firstly, one of the Database Upgrade Completion tasks is to adjust/modify the accounts <sapsid>adm (or simply <sid>adm or sidadm) and also SAPService<SID>. So, the first workaround was to try with another domain account, in the first case, with a Domain Administrator user. It simply worked!

 

Since we had already a few cases about this, we released a SAP Knowledge Base Article #2344768 explaining the scenario and the workaround, stating that the investigation for the root cause was still on the way.

 

The most challenging aspect was that it did not occur in every scenario. In other situations, a simply error was logged:

 


WARNING    2016-07-19 10:05:16.532 (DOMAINTEST\sidadm) [iaxmbcom.cpp:127] id=dbmodmssql.odbcdll.sql CMssLogger::logMessage

Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]Could not drop login 'DOMAINTEST\sidadm' as the user is currently logged in.

SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.


But it didn't prevent the Upgrade Completion to complete.

 

I remembered then about the Installation Guide for SAP NetWeaver for SQL Server. It is very specific to not use the <sapsid>adm account for installations, which for the same reason I never used it for a system copy (which in concept, also does a target installation).

Well, turns out, this is also true for running the SAP Tools for MS SQL Server! It wasn't clear before, but now it is documented in SAP Note 683447 too!

 

So I have updated the SAP Knowledge Base Article 2344768 stating that the root cause has been determined and now its solution is a final solution. You can still read a preview of this KBA without logging into SAP One Launchpad, but for the full content you have to be logged on.

 

 

Recommended readings and resources:

 

 

SAP Notes and KBAs:

NumberDescription
683447SAP Tools for MS SQL Server
2344768Database Upgrade Completion fails with "Server Principal Already Exists"
1890950Generic Installation Options
1609770Tracing database queries executed by sapinst, SWPM or SAP Tools for SQL Server

 

 

Additional spaces:

Database

Software Logistics

SAP NetWeaver Administrator

SAP NetWeaver Technology Platform

 

About SAP NW on SQL Server PS blog:

SAP NW on SQL Server PS blog is a non-periodic blog about SAP NetWeaver based products on SQL Server, maintained by the Product Support engineers which work on BC-DB-MSS and BW-SYS-DB-MSS components.

 

About the author:

Luis Darui is a Support Engineer at SAP Product Support, MCP with SQL Server. He works for SAP since 2014, with Databases and Operating systems.

#S4HANA customer series: Embracing Digital Transformation in the Mining and Metals industries with SAP S/4HANA

$
0
0

SAP S/4 HANA helps customers run simple in a digital and complex world. Many global companies have adopted SAP S/4HANA to become a Live business and a model digital enterprises. In this series we will show the value S/4HANA can bring with the help of examples businesses who already took to road to SAP S/4HANA.

cust-success2016.png

SAP is THE cloud company powered by SAP S/4 HANA that drives simplification and gives businesses the opportunity to consume innovation easily and become a Live business. By deploying S/4 HANA, enterprises can go beyond traditional transactions and drive end-to-end digitized processes based on a single source of information. From planning and execution to simulation and analysis processes, all are delivered in real-time.


One of the world's leading steel and mining company with a presence in many countries and 6 digit employee numbers, selected SAP S/4HANA to streamline its core business processes, increase overall productivity and drive significant cost savings. The company wanted to secure its position in the market by serving a strong innovation agenda globally, delivering better customer service to its varied customer base comprising of automotive, construction, household appliances and packaging, as well as creating more shareholder value.


The customer went live with the below listed business scenarios:

  • Finance (FI)/Controlling (CO) – AR, General Ledger (GL), Bank accounting, Enterprise structure (expanding with project), Controlling (expanding with project), and Billing
  • Sales and Distribution (SD) – Order entry, VC business partner functions, credit, billing (includes debit/credit memos, invoices), and acknowledgements
  • MM – Material Master Data
  • PP –  Work center, bill of material, route and production version, production planning
  • Quality Management (QM) – Claims management 
  • Workflow (WF) – Quality and Financial approvals
  • BP – Consolidation of Customer, Vendor Master, Contacts
  • Financial Supply Chain Management (FSCM) – Credit Management
  • Interfaces: WebSphere, SAP TM (Oracle), and SAP SCM (Oracle)


Significant added business value


Several reasons convinced this customer to choose SAP S/4HANA to take to path to the digital transformation. After the successful implementation, the business values were immediately noticeable. The usability and user adoption were rigorously better than before. SAP Fiori screen also improved the look and feel of the user interface and made work that much more enjoyable. This also positioned the customer for better reporting using Embedded Analytics.


Due to the better system performance, processing now goes significantly faster. And finally there were quite a lot of improvements in the Finance area, like a reduced coding effort in the General Ledger area, improved financial reporting for Trial Balance, Income Statement and Balance Sheet. And last but not least, automated reporting and faster access to high quality global data make decision making that much easier.


This is only one of many examples that prove SAP S/4HANA delivers the value needed to lead your business through the Digital Transformation. Find more Success Stories hereand stay tuned for more parts of this #S4HANA customer series.


Follow us via @SAP and #S4HANA, or myself via @SDenecken

Adaire Fox-Martin inspiring Session with Students at SP Jain Institute of Management Studies & Research Mumbai on 24th August 2016

$
0
0

We are extremely delighted to share with you Adaire Fox Martin, President SAP APJ visit to one of the Top B-school in India,  SP Jain Institute of Management Studies & Research (SPJIMR), Mumbai on 24th August. Together with SAP Early Talent Acquisition and the University Alliances team , Adaire’s visit started with a meeting with various Head of Departments from the college headed by Dr Anil Vaidya, Professor, Area Head-Information Management who welcomed Adaire to the campus. The meeting was a great opportunity to discuss various engagements that SAP can drive with Academics at SPJIMR in promoting SAP as an employer and ecosystem of choice for students and to become SAP Next-Gen consultants, developers and business leaders for the digital transformation. There were common synergies with the college in the area of Innovation and Digital Transformation and the college is keen to drive these to their student community.

 

Capture.JPG

 

 

We then moved on a packed Classroom where Adaire was welcomed and introduced by the student- Prakhar Kulshrestha.  Adaire addressed 100 bright students and 10 Professors on how SAP as a company had transformed itself immensely to cater to the market with SAP HANA being the real time digital core essential for digitization. She also talked about how the new startups have disrupted technology connecting people digitally  and how Cloud adoption in India has moved at a very fast pace than expected. Students were amazed to hear on how SAP is helping the world run better so that people can prosper in the Digital Economy and the new initiatives like the 1BL project which is a fantastic opportunity for SAP employees in APJ to showcase their terrific ideas and innovation. They thanked Adaire for her brilliant interactive session and looked forward to her visit again.

 

Capture.JPG

Launch of the 2nd SAP Next-Gen Lab in India at Chitkara University, Chandigarh -3rd August

$
0
0

Capture.JPG

 

We are extremely delighted to share with you the launch of the 2nd  SAP Next- Gen Consulting Lab in India at the Chitkara University Chandigarh on 3rd August 2016. The Lab was inaugurated by Dr Archana Mantri , Pro Vice Chancellor & Wg Cdr (Retd.) R.S.Gill, Vice President- University Affairs from Chitkara  University and Rahul Sachdev, Head SAP University Alliances India Subcontinent with the lighting of a lamp for an auspicious start to the launch event. This was an exciting moment for SAP and Chitkara University to offer a great opportunity for the Next Gen students to work on projects with SAP and our ecosystem on cool SAP Technologies and showcase fresh and bold new ideas via innovative designs and prototypes. The University is a SAP University Alliances member from past 4 years with their students actively involved in SAP competitions and projects recently on the SAP Mile platform which were showcased at the SAP Dkom event this year.


SAP Next-Gen Lumira CodeJam at Chitkara University, Chandigarh -3rd August 2016

$
0
0

Capture.JPGAn amazing SAP Lumira Codejam that took place at the University campus. The Codejam event was kicked off by Dr Meenu Khurana, Dean Chitkara University who thanked SAP UA for providing this wonderful platform to their students to challenge themselves and come out with innovative solutions. Rahul then spoke about the Next-Gen initiative and various other engagement possibilities for students with our SAP ecosystem.

The Codejam was facilitated by Pranitha Shivappa Kedambady and Sowmya Krishna from SAP Labs Bangalore P&I team where they gave an overview of the SAP Lumira software covering Business Intelligence, Self Service Business Analytics, with hands on exercises using datasets on Popular Website Analysis and Olympics Medal Tally. The event saw a great participation from 41 students who were then divided into teams with the best visualization winning some cool SAP goodies (Winners Dream Books by Bill McDermott and SAP Next-Gen caps). We then made it open for students to pick their own topics and datasets and the following were used by them: 1. Road accidents database analysis by gender and age and Time specific analysis of road accidents with respect to states 2. Natural resources and how it effects the economy of different continents. 3. Crime against women in India 4. Sales and marketing by country product wise 5. Plotting a radar chart about the different aspects of the Indian airforce 6. Most Popular brand in world 7. Analytics of Top 3 TV shows overall 8. Innovation/Patent by each country. The student entries were closely judged by Pranitha and Sowmya who considered the creativity, presentation, Dataset and team efforts put in by the student using SAP Lumira to showcase some stunning Visualizations at the cool SAP Next-Gen Lab Capture.JPG

SAP Next-Gen Code Jam on SAP HANA Cloud Platform NIIT University at SAP Labs Gurgaon

$
0
0

Capture.JPGA cool SAP CodeJam on SAP HANA Cloud Platform that took place at the SAP Labs with NIIT University. The University is member of the SAP UA program for last 3 years and have been actively involved in getting their students to learn SAP technologies like SAP Lumira, HCP. One of our SAP Student Ambassadors Vibhor Gupta, who participated in the ESA App competition in Finland and also showcased his HCP solution at SAP Techniversity in 2015, was closely involved in planning this Codejam for us. The Codejam was kicked off by Rahul who welcomed the students and spoke about the Next-Gen initiative for students to innovate on various technology offerings from SAP. He also encouraged students to participate more in SAP events and explore various career possibilities with SAP.

The Codejam was facilitated by Krishna Kumar S and Indhumathi Thiyagarajan from SAP Labs Bangalore P&I team where they gave an overview of the SAP HANA Cloud Platform and explained the steps involved in creating a "personlist" app through the various exercises. The application allows one to maintain a list of persons and is built on Java stack on HCP and uses SAPUI5 for the User Interface. The steps to build the app can be broken into 3 steps. 1. Creating an simple SAPUI5 application for "personlist" app with local persistence using JSON model. 2. Build the personlist service on HCP using Java. Expose the service as OData using Apache Olingo. 3. Connect the UI built in step 1 to the service build in step 2 and deploy to HCP. Based on the above exercises, we then divided students into 5 teams who came up with Apps on the following topics: 1. Parcel management system 2. Web Shopping application 3. Freelancing application 4. Blog for students community 5. Shopping application The students’ solutions were closely judged by Krishna and Indhumathi who considered the creativity, presentation and team efforts put in by the students with the best solution winning some cool SAP goodies such as T-shirts and SAP Next-Gen caps. The winners were the team who developed the app on “Parcel Management”.Capture.JPG

Create Cumulative figure in HANA Graphical Calculation View

$
0
0

Hi All,

 

This is a document how you can create a cumulative calculation using HANA Graphical Calculation View. It is one of the easy example, but you can extend it to any complex scenario.

 

I am creating a Simple file like this and our aim is to create the cumulative column as show bellow.

 

Product

Annual Sales(USD)

Cumulative Sum Sales

1070

3600

3600

1050

336

3969

1020

220

4156

1060

192

4348

 

Step 1:

Create a CSV file mention above. The file is already attached in this portal.

 

Step 2:

Consume the CSV file in HANA and create a Table (Table Name: Zt_Sales_001).

 

 

 

Step 3:

Create a HANA Model / Calculation View name CA_DATA_ CUMULATIVE_001

 

 

Step 4:

Take a projection and consume the table you have created.

 

Step 5:

Create a DUMMY filed with a constant value like ‘1’ (As created in the system)

 

 

 

 

Step 6:

Then use a Rank Functionality to get the sequence number of the data.

 

 

Step 7:

Divided the flow into 2 different projections, and again join with DUMMY field. You will get M*N number of field.

 

 

 

Step 8:

Add 2 calculative column create with following logic. One is Equal to sequence and other is Greater than Equally of sequence. Please have the logic.

 

 

 

 

 

Step 9:

Put a filter with Value ‘Y’ on top of the Sequence Column.

 

 

Step 10:

Put an Aggregation node on top of Projection node (which has the Greater than Equally of sequence filter). Then Do the aggregation on top of total sales column.

 

 

Step 11:

Now Put a Join node and join Projection and aggression node and join on Product field.

 

 

 

Step 12:

Execute the field and see the output.

 

 

Please Let me know if you finding any issue here.

Youth Day at SAP Labs Gurgaon and Bangalore on 11th and 12th August 2016

Holistic Farming Takes Root in India

$
0
0

Holistic living typically refers to how the mind-body-spirit connection relates to one’s health. DCM3.JPG

 

According to the U.S Department of Agriculture, ChooseMyPlate.gov website, eating vegetables provides many health benefits. Not surprisingly, many people have grown holistically and achieved greater wellness by eating more organic fruits and vegetables.

 

Good Soil is Important

 

An important factor for growing healthy food is the quality of the soil used by farmers must continually improve.  One company taking this seriously is DCM Shiram Limited, a one hundred and thirty-year-old business based in New Delhi, India. They work extensively with the farming community by providing extended services in the company’s agri-businesses, specifically within their sugar, fertilizer, farm solutions and seed lines.

 

Help for Farmers

 

Shriram Krishi Vikas is an integrated rural development program covering over 500 villages in India. It was initiated by DCM Shiram Limited a decade ago, and it provides help and guidance to farmers toward holistic development. The goals of the program include increasing farm productivity and the quality of produce, as well as maintaining soil health.

 

Farmers can visit agricultural universities where subject specialists conduct crop seminars and field days. Soil testing labs are also used to help enhance the organic carbon content of the soil and improve water management. The Shriram Krishi Vikas Program is using the latest in technology as it helps farmers keep pace with the growing demand for organic food – all while maintaining the crucial quality of the soil. 

 

Technology’s Role

 

Advances in technology have also greatly benefited DCM Shiram Limited, according to company Executive Director and CFO, J.K. Kain. During a recent discussion at SAP Sapphire Now, Kain stated that the company has kept pace with the dramatic technological change that has occurred over the last 20 years, pointing out that their journey with technology partner SAP began back in 1997. Kain also said that in keeping with the goal of automatically adopting the “best technology in the world,” DCM Shiram Limited recently implemented SAP S/4 HANA.

 

S/4 HANA has been implemented in nine business units and across all functions. This business transformation study details how DCM Shiram Limited is now seeing customer data more clearly. Kain said that as a result, the company is on track to achieve their objectives of having faster access to real-time data, better mobility and greater simplicity. “It is so fast that users find it very convenient to use. Our employees now get the report at the click of a button rather than waiting for it. This has enabled far greater process automation across the entire organization. We believe the resulting simplicity will contribute to greater efficiency.”

 

Holistic Made Simple

 

Achieving greater simplicity in business is often the result of taking a holistic approach. Through development programs like Shriram Krishi Vikas, DCM Shiram Limited is showing a way forward to a more sustainable future. Along the way, the higher-quality food that farmers in the program are producing is helping people in India achieve a healthier and more fulfilling life.

 

LEARN MORE ABOUT THE INNOVATION DRIVING DCM SHIRAM IN THIS VIDEO

Viewing all 10881 articles
Browse latest View live


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