Skip to Content

Updates

  • 23.01.2018 – Show how to enter a TCODE
  • 29.05.2018 – Added the section “What you can’t do with the SAP Gateway Demo System”

The beta phase for our new SAP Gateway Demo system that was announced by Former Member in his blog Netweaver Gateway Demo – ES5 now in Beta!  is now over and we can thus announce the availability of our new “production system” ES5.

As Jonathan already wrote we look forward to your feedback and encourage you to use our new system since ES4 will be shutdown in the future.

What you can’t do with the SAP Gateway Demo System

  • You can’t develop your own repository objects such as tables, CDS views or classes to ensure stabiltity of the system. If you want to develop your own OData Services you have to get a trial versions of SAP NetWeaver AS ABAP which can be found here: Trials and Downloads 
  • Access is limited to WebGUI
  • You will not find any real Business data in this System since ES5 is just a pure SAP NetWeaver AS ABAP 7.51 System without having a SAP S/4HANA system running on top of it.

What’s new?

The new SAP Gateway System is based on SAP NetWeaver 751 and thus comes with several new features as opposed to the predecessor system ES4 which was based on SAP NetWeaver 740.

SAP Fiori Launchpad and SAP Fiori Reference apps

For all users we have configured SAP Fiori Launchpad where you will find four applications that have been deployed.

 

 

Launch the SAP Fiori Launchpad

Demo services for SAP Fiori development

You can use SAP Web IDE to develop SAP Fiori applications on top of the demo services that are provided in the SAP Gateway demo system.

SAP Fiori Sample Applications

As an example you will find OData services that allow you to create SAP applications based on SAP Fiori Sample Applications.

Approve Purchase Orders

A SAP Fiori Reference Application used to demonstrate the approval process
Oased on the EPM model This is a master-detail applicatiom

Shop

A SAP Fiori Reference Application used to demonstrate a shopping scenario on the EPM model This is a full screen application.

Manage Products

A SAP Fiori Reference Application used to demonstrate the creation and maintenance of product entities for the EPM model This app is Oased on Fiori Elements

Procurement Overview

A SAP Fiori Reference Application used to demonstrate an over,new ofthe EPM model. This app is based on the new SAP Fiori Elements Overview page.

Sample service GWSAMPLE_BASIC

There is also the well known basic sample service GWSAMPLE_BASIC available that provides you with a practical, working OData service with meaningful content that supports basic OData operations.

The following link would provide you a list of items of a sales order from the Enterprise Procurement demo data:

https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/SalesOrderSet?(%270500000001%27)/ToLineItems

You can find more information about the basic sample service in the SAP Online Documentation

SAP Online Documentation: Sample Service – Basic

OData V4 demo service

In ES5 there is now also a first demo service available that supports OData V4.

https://sapes5.sapdevcenter.com/sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/$metadata

More details can be found in the following blog OData V4 code based implementation – Overview.

RMTSAMPLEFLIGHT

Also the RMTSAMPLEFLIGHT service is available

https://sapes5.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/$metadata

How to get access?

As with the predecessor system you have to sing up for an account in ES5. To do so simply follow this link:

Sign up for a demo account on ES5 here

After you have signed up for an account you can access the demo system in various ways:

SAP Web IDE

In your SAP Cloud Platform Cockpit you have to create a destination using the following data:

#
#Tue Dec 05 14:36:33 UTC 2017
Description=SAP Gateway Demo System
Type=HTTP
TrustAll=true
Authentication=NoAuthentication
WebIDEUsage=odata_abap, bsp_execute_abap, odata_gen
Name=ES5
WebIDEEnabled=true
CloudConnectorVersion=2
URL=https\://sapes5.sapdevcenter.com
ProxyType=Internet
sap-client=002
WebIDESystem=ES5

You can simply create a text file that contains the above mentioned data and import the destination as follows:

  1. Login to the SAP Cloud Server Cockpit
  2. Select your account
  3. Click Connectivity
  4. Click Destinations
  5. Click Import Destination
  6. Select your destination configuration file and click Open.

 

SAPGUI for HTML

Using this link SAPGUI for HTML access you can log on to the system using SAPGUI for HTML.You will see the following logon screen: Access is a restricted to read-only access for developers though. Reason is that otherwise the stability of this system could not be guranteed.

In order to add a transaction code you have to click on the ellipsis and choose GUI Actions and Settings →  Show OK Code Field.

Then you will be able to enter transaction codes in the OK Code field on the left hand side of your screen.

 

and here a description how to access a transaction without having to activate the TCODE field …

How to access the SAP Gateway Error Log as a SAP UI5 developer

To report this post you need to login first.

73 Comments

You must be Logged on to comment or reply to a post.

  1. Paul Hardy

    Mr. Andre,

    I am desperate to ask you a philosophical question about Gateway.  Another SAP employee was blogging about Gateway on the weekend, but it turns out there are many components inside SAP, all called Gateway, so i got confused and asked him about Gateway and he told me I had the wrong Gateway.

    So just to be clear, I am talking about the Gateway component where you define services using SEGW (at least for now) and they get exposed as ODATA. that sounds just like what you are talking about above. If, after reading my question, it turns out there is yet another component in SAP called Gateway, please point me in that direction.

    We have a customer portal where the user enters a sales order on their phone or laptop or whatever, and the JavaScript code on the device does a call to a Gateway service I wrote in SAP. It all works just fine, and we are on top of the indirect licencing thingy, so everything in the garden was rosy.

    Now we have a proposal for a generic middleware layer, all Microsoft based, taking in the HTTP call from the mobile device, in whatever country, working out dynamically the correct source system and connecting to it. All lovely and object oriented, several layers all abstracted from each other.

    The problem is the architecture calls for assorted Microsoft integration services connecting to the source systems. the one chosen to connect to SAP is from a company called Theobald software, which works by connecting to custom RFC function modules inside SAP.

    Now I don;t want to give up Gateway. The arguments I am facing in favour of RFC function modules instead of Gateway are as follows:-

    • it (RFC) works and it is easy
    • all the other source systems are contacted directly and contacting Gateway is contacting “middleware” instead of the actual source system, thus giving one source system special treatment instead of treating all source systems the same
    • the call to Gateway will introduce two more HTTP calls in addition to the original one from the device, thus negatively effecting performance, and making t more difficult to pinpoint any point of failure
    • Gateway cannot do an asynchronous call

    Now, I would like to tell me that these arguments are nonsense, and give me some cast iron reasons I can use to knock holes in the proposed plans. However if the above are valid arguments, please tell me that as well.I try to keep an open mind, and I have a lot of respect for the architect of the middle ware framework and how well designed it is from an abstract OO perspective. It is just this one little technical part of the pie I am concerned with.

    I have talked to lots of my fellow SAP Mentors about this, and the only argument I have thus far is a philosophical one in that Gateway is SAP’s future direction. Whilst I agree with this 100% it is not getting me very far at work as an argument. I need something more concrete.

    Cheersy Cheers

    Paul

     

    (0) 
    1. Andre Fischer Post author

      Hi Paul,

      yes there is a problem with all the Gateway’s within the SAP stack and with regards to the naming we unfortunately haven’t followed the highlander principle.

      So yes there is the SAP Gateway you are using to develop and publish OData services and the RFC Gateway within the ABAP AS which is responsible for the RFC based communication.

      But coming back to your questions around the architecture. First of all I do not see a point in replacing an existing OData service through a RFC call to build a new UI on top of this.

      This would be taking several steps down the ladder of evolution of SAP UI’s which meanwhile have fully embraced OData with SAP Fiori 2.0 also being available for the SAP Business Suite and OData being the basis for SAP Fiori UIs in S/4 HANA.

      With regards to your questions I can answer as follows.

      1. .”it (RFC) works and it is easy”

        RFC is not that easy that’s why we at SAP have decided to go for OData for UI scenarios. RFC has definitely is pros but this is more in the area of system to system communication where for example two SAP backend systems are talking to each other exchanging huge amount of data

        OData services having being added more and more to our portfolio (there are already a large number being part of the latest EHP8 in the SAP Business Suite) and going forward with SAP S/4 Hana the SAP Fiori is the UI paradigm and SAP Fiori UI’s are typically using OData services.

      2. .”all the other source systems are contacted directly and contacting Gateway is contacting “middleware” instead of the actual source system, thus giving one source system special treatment instead of treating all source systems the same”

        It is also possible to run the SAP Gateway Hub and Backend components on one system using the so called embedded deployment. As of 750 SP04 (which is for example used with SAP Business Suite EHP8) you can gain significant performance improvements as described in my blog
        https://blogs.sap.com/2016/10/10/take-advantage-performance-improvements-sap-gateway-sap-netweaver-7.50-sp04/
        Replicating data into a middleware also poses a security risk since you have to rebuild authorization checks that are in place in your SAP Business Suite backend system. Also features such as Read-Access-Logging (RAL) that are available for OData with SAP NW 750 could not be used in a reliable way.

        The SAP Gateway Hub scenario (used as a frontend server for SAP Fiori) also has it pro’s especially when using several SAP backend systems as described in landscape deployment recommendations in the SAP Enterprise Architecture Explorer
        https://eaexplorer.hana.ondemand.com/_item.html?id=11122#!/overview

      3. “the call to Gateway will introduce two more HTTP calls in addition to the original one from the device, thus negatively effecting performance, and making t more difficult to pinpoint any point of failure”

        Putting a middleware in between the UI and your backend will definitely make the search of a root cause of a problem more complicated. But this is also true if your UI speaks RFC with your backend opposed to OData. But when you have the OData services in place you can consume those via your SAP Fiori frontends directly without the need of any middleware at all.

      4. “Gateway cannot do an asynchronous call”

        It is true that the OData V2 protocol does not offer asynchronous calls as part of the OData V2 specification. But I see several options how to achieve this.

        • You can use a function import that even can take some parameters that simply takes the data, performs some calculations and would inform the end user later on for example via email
        • Using the notification channel such asynchronous scenarios could be implemented as well and the end user would receive a notification on the side panel of the SAP Fiori Launchpad.
          I did a mini code jam about this at SAP TechEd and will publish a blog about this in January https://sessioncatalog.sapevents.com/go/agendabuilder.sessions/?l=159&sid=49582_474721&locale=en_US

      Hope this helps,

      Best Regards,

      Andre

       

      (1) 
  2. Former Member

    Hello,

     

    I just created a user id for ES5. I used ES4 for the past few 6-9 months and within ES4 I see the LOGISTICS menu in place. I specialize in MM/PP/SD/WM/QM etc. within the SAP applications. This menu does not exist in ES5 and the transaction are also missing. VA01 VA03 MM01 MM03 etc. Can you explain?

    (0) 
  3. Andre Fischer Post author

    Hi Sean,

    the reason is that ES5 is only a SAP NetWeaver System and not a SAP Business Suite System.

    The system is meant to be a demo system for the latest technologies (SAP Fiori, OData, SAP Gateway) and these are only available on pure SAP NetWeaver stacks or S/4 HANA.

    Best Regards,

    Andre

     

    (0) 
    1. Former Member

      Hi Andre,

       

      I’m a bit confused now. I attend a OPEN .SAP.COM class last year. See below

      Building Portal Sites on SAP Cloud Platform

      Instructors: Ido Shamesh, Murali Shanmugham and Thomas Hensel

      During this class we connected to ES4 within the SAP Cloud portal via a P number and on the SAP CP built a Portal site and then designed a APP Roles catalogs to produce a FIORI AND freestyle APP. The app connected to ES4 returned materials and sales orders. So I don’t understand your comments from above:

      @Andre “The system is meant to be a demo system for the latest technologies (SAP Fiori, OData, SAP Gateway) and these are only available on pure SAP NetWeaver stacks or S/4 HANA.”

       

      Secondly if ES4 is being replaced by ES5 will the APP work?. If we don’t have the Business suite in place (that contains a massive investment) then how do we get at the data we have in the back end system.

       

      (0) 
        1. Former Member

          Hi

          The course asked that we connect to ES4: I did this all in my SAP CP account P (NUMBER) and I created a SAPUIG App. Created a portal site and a FIORI launch pad. And is good. We get sales order and materials from ES4.  When I logged onto ES5 there was no logistics hence the note. So how do we get at that information that I belived came from ES4 using SAP CP PORTAL APP & FIORI? Do I need to talk to the course owners mentioned above or can you do that?

           

          I added ES5 at the request of the help desk within OPEN.SAP.COM and I have never used or seen the link from the service GWSAMPLE_BASIC

           

          I can go over it with you if you have time or can send more details

           

          Thanks,

          Sean.

          HTTP ES4 Authentication

          BasicAuthentication

          ProxyType

          Internet

          URL

          https://sapes4.sapdevcenter.com

          HTTP ES5 Authentication

          NoAuthentication

          ProxyType

          Internet

          URL

          https://sapes5.sapdevcenter.com

          (0) 
  4. Di Ana

    Hi!

    just replaced ES4 with ES5, but when I log in I don’t see any tcode input field. Is that supposed to be this way and I should add tcode manually using favorites or am I missing something?

     

    Thanks,

    Di

    (0) 
    1. Andre Fischer Post author

      I just tested the registration process and it works fine for me.

      You have to authenticate using a SAP CP user when registering for ES5.

      When you have been authenticated by SAP CP a user will be created for you in ES5 and mail with the credentials will be sent to you.

      Regards,

      Andre

       

      (0) 
      1. Harpreet Daphu

        Hello Andre,

        When I try creating a Master – Detail Application using the – RMTSAMPLEFLIGHT service, it doesn’t allow me to proceed. Can you confirm if this service is maintained in ES5?

        I am able to access the metadata of RMTSAMPLEFLIGHT service but not able to use it in my application.

        GWSAMPLE_BASIC works fine.

        (0) 
          1. Prasad Ganta

            Hello Andre,

             

            Having trouble with RMTSAMPLEFLIGHT service, it doesn’t allow me to proceed during creation of master detail app. Are you able to find the issue?

             

            Thanks,

            Prasad

            (0) 
  5. Former Member

    Hi,

    Do you have plans for setting up the workflow (TCODE SWU3)? To start the demo workflow, the “Notification of Absence” (TCODE SWXF).

    And also configure the application Fiori MyInbox (OData-service TASKPROCESSING).

    Now when sending a request to the object data, an error occurs: “The task phase for the provider is not implemented.” I can help customizing on and send instructions.

    I’m studying sap ios sdk, and I want to develop an iOS application based on the oData service.

    Thanks

    Regards,

    Denis

    (0) 
  6. Former Member

    Hi Experts,

    I have gone through this page. I have logged into demo es5 system in cloud but there is no provision provided for going gateway client. When i type tcode /iwfnd/gw_client, it throws me message popup that the tcode does not exist. Please help me.

    Thanks,

    Gowtham

     

     

    (0) 
    1. Andre Fischer Post author

      You have to add a “/n” in front of the transaction code since the transaction code starts with “/I” which is a reserved keyword.

      So try to enter “/n/iwfnd/gw_client” instead.

      Best Regards,

      Andre

      (0) 
  7. Michael Koch

    Hi Andre

    Thanks for this helpful blog post.

    However, I’ve just spent a couple of frustrating hours establishing what was wrong with my ES5 connection. I imported your ES5 profile text file from above, but because it doesn’t contain authentication details, my account became locked after probably about 3 attempts.

    I’ve now waited for an automatic reset of my ES5 user and edited my profile to contain Basic Authentication with my registered ES5 user and pw.

    Maybe it would make sense to add that authentication is required?

    Thank you for submitting all the helpful info about ES5.

    Kind regards,

    M

    (0) 
  8. Mihai Dipsan

    Hi Michael,

    I think I have the same problem as you with my ES5 user. I cannot connect and after I changed my password it still doesn’t work. I get the same message every time, that my user or password is not correct.

    It works for you now? Can you please tell me what you’ve done?

    Kind Regards,

    Mihai

    (0) 
  9. Former Member

    Hi Andre,

    when i try to practice UI5 using webide and when i wanted to create ODATA for that APP, I couldn’t create it(since i don’t have authorization). When i try to use any existing ODATA  Application no existing odata application was available. can you kindly suggest me a way to create or use any ODATA application so i can link it with webide and practice end to end.

    (0) 
    1. Andre Fischer Post author

      There is no need to register this service since it has already been registered.

      Administrative access to this system is limited.

      If you want to try out such things you have to get your own ABAP trial system in the cloud or download it.

      Regards

      Andre

      (0) 
  10. Former Member

    Destination is giving me this pop up when trying to connect

     

    Connection to “ES5” established. Response returned: “307: Temporary Redirect

     

    (0) 
  11. Former Member

    Hello,

    I am testing PTC thingworx with the Odata Connector and I would like to make sure that I have the following correct..

    Base URL:  https://sapes5.sapdevcenter.com/sap

    Retative URL:  /opu/odata/IWBEP/GWSAMPLE_BASIC/

    Connection URL: /opu/odata/IWBEP/GWSAMPLE_BASIC/$metadata

     

    Please see the screen shot from the configuration. 

     

    (0) 
  12. Federico Sebastián Alvarez

    Hi,

    I just keep getting the error “ES5 Catalog service is unavailable”. Would be nice if you could update the post with (maybe?) the right settings to make it work. Or perhaps point me in the right direction to find what´s wrong?

    Much appreciated in advance.

    Federico

    (0) 
  13. RSB SAP

    Hi ,

    I just signed up in ES5 but I’m unable to create any custom table to create sample service and unable to access contents from std tables .Im getting authentication while creating custom table and RFC error .I have tried to create destination but Im unable to find  connectivity option in SAP Cloud Platform cockpit  .Can any one please help to access ES5 without errors

    Thank you ,

    Ravi.

    (0) 
    1. Andre Fischer Post author

      Hi Ravi,

      you can’t create repository objects in this system. See also my latest update “What you can’t do with the SAP Gateway Demo System” at the top of this blog.

      Regards,

      Andre

       

      (1) 
  14. roman gryaznov

    Hi,

    cant establish connection to ES5 in webide using  configuration posted here.

    Check connection return

    Connection to “ES5” established. Response returned: “403: Forbidden”

    What’s wrong with destination?

     

     

    (0) 
    1. Andre Fischer Post author

      I deleted the second link since it points to a test system that definitly does not run and I informed the owner of the registration page that the same is not running.

      Regards,
      Andre

       

      (0) 
      1. Nelson Kharat

        Hey Andre,

         

        Thank you for your reply, however I am not able to access it. When I tried accessing it, I get this. Need directions.

         

        (0) 
    1. Andre Fischer Post author

      I deleted the second link since it points to a test system that definitly does not run and I informed the owner of the registration page that the same is not running.

      Regards,
      Andre

       

      (0) 

Leave a Reply