Questions tagged [sap-gateway]

Use this tag when the question involves implementing OData-compliant REST APIs in SAP Gateway, and everything about SAP Gateway Foundation: OData service implementation, proxy classes for OData services, REST messages (GET, PUT, POST, DELETE), etc.. NOT to be confused with "SAP Gateway for Microsoft" [sap-gwm].

SAP Gateway (Formerly known as "SAP NetWeaver Gateway") is a technology that allows connecting different platforms and environments based on open standards like .

It provides tools and environment for development OData services for connecting SAP and non-SAP systems. SAP Gateway can be deployed either standalone or on top of ECC system by installing SAP_GWFND component.


Official community page: https://community.sap.com/topics/gateway

190 questions
0
votes
1 answer

How to write a SELECT for a field of type "quantity" in SET_GET_ENTITY method?

I want to select a single row with all columns from my table zbookings. zbookings table has a structure based on zbooking data structure - see tables below. Table ZBOOKINGS: Structure ZBOOKING: My BOOKINGSET_GET_ENTITY method: method…
user9254958
0
votes
0 answers

Reach OData service from locally running SAPUI5 app

I am having a problem running an SAPUI5 application locally with Visual Studio Code. I am serving the webapp files with a static files server run by Grunt at localhost:8080 The problem is reaching the backend OData services. The first problem which…
DTAP
  • 1
0
votes
2 answers

SAP gateway unauthorized when trying to get a csrf token

SAP gateway we are getting 403 unauthorized when trying to get a csrf token. The same username / password is working for read operations. I've looked at some other posts in the sap forums and also posted…
Derek
  • 7,615
  • 5
  • 33
  • 58
0
votes
0 answers

Cannot deploy due to missing tile templates in Fiori launchpad designer

After developing a first small application on the SAP web IDE, I want to deploy it. For that I launch the launchpad designer via /UI2/FLPD_CUST and then create a catalogue. Then I want to add a tile, but no template is proposed to me. So I'm blocked…
0
votes
1 answer

When is referential constraint mandatory

I created a service using expanded entity set method. There were two entities in the entity model connected by association. I did not keep any referential constraint between them, but it worked. Could anybody kindly explain me when is a referential…
bodhi
  • 43
  • 1
  • 2
  • 8
0
votes
2 answers

Power Query add-on fetching OData feed working using SSO not working

I am trying to fetch data in Excel using OData feed. This was working perfectly fine with Basic Authentication. Later on, SSO was implemented on server. Now every request is redirected to a site for SAML authentication. OData…
Ashish Chandra
  • 381
  • 7
  • 21
0
votes
1 answer

Consuming OData from SAP System with JavaScript

I want to consume data in XML format from an SAP System. To do that, I implemented an OData Service in the SAP System and activated it. I tested it in my SAP Web IDE and it works. But now I am developing another project in NetBeans consisting of…
Lukas Giesler
  • 17
  • 1
  • 10
0
votes
1 answer

SAPUI5 oData POST 500 error

I'm trying to do a oData create on checkbox pressed and getting the following errors. Not sure if this is front end or a back end ABAP issue as have got this same function working in another project. It is failing on the create part but strangely is…
Scott
  • 171
  • 3
  • 23
0
votes
1 answer

How to use ENQUEUEGETSTAT function module in Gateway service

How can I use ENQUEUEGETSTAT function module in gateway service, this fm returns 3 parameter (ENTRIES_TOTAL, ENTRIES_PEAK, ENTRIES_ACTUAL) I can map tables in Gateway but cant figure out this. How can I collect these parameters in to internal table…
İbrahim Özcan
  • 103
  • 3
  • 12
0
votes
1 answer

Method 'DUMPSETSET_GET_ENTITYSET' not implemented in data provider class

I created a function module and gateway service that reads data from SNAP_BEG table which is stores DUMP issues. There is no any error except that. When I try to use link as /DumpsetSet I get "Method 'DUMPSETSET_GET_ENTITYSET' not implemented in…
İbrahim Özcan
  • 103
  • 3
  • 12
0
votes
1 answer

Cannot filter by more than one field in SAP GatewayClient

This is the url I try to call: /sap/opu/odata/sap/ZEITERFASSUNG_SRV/ArbeitszeitenSet?$filter=Pernr eq '00000141' and Datum='20120822' The fields exist, are filterable and written correctly. If I remove the Date part from the URL it is working.…
Felix D.
  • 4,811
  • 8
  • 38
  • 72
0
votes
1 answer

SAPUI5 searchelp shows duplicate lines

Using SAP Gateway, I import a search help into the model of an SEGW project. This creates an entity, an entity set and an implementation. Debugging in backend and frontend shows that the search help works correctly and the JSON result contains the…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
0
votes
2 answers

Failed to connect to SAP Gateway from Eclipse

I am trying to get the logged Sap Gateway user. The code below is in my controller: onInit: function (evt) { var oUserData; var y = "/sap/bc/ui2/start_up"; var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() { if…
Rubens Cesar
  • 29
  • 2
  • 3
  • 10
0
votes
1 answer

SAP UI OData Create does not initialize IT_KEY_TAB parameter

I'm testing oData functinality with SAPUI5. So far I've implemented GET & DELETE which is working fine. No when I want to add a new Entry I get some problems. Im sending the Create-Request like this: var oEntry = {}; oEntry.EmailAdresse =…
Felix D.
  • 4,811
  • 8
  • 38
  • 72
0
votes
0 answers

Pass http request header parameter in SAP Gateway

I created a oData in the SAP Gateway system and want to read odata from SAP gateway system with passing parameter in the HTTP header. In the UI debug view I can see my parameter in the "Request Headers" But the custom parameter "_user" doesn't…
Yong
  • 11
  • 3