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
1
vote
2 answers

UI5 oData Service for two (or more) different backends

At the moment i still only have about 2 months of experience in UI5. i developed a little sample-app, used sap gateway builder to pass my requests to sap backend. Now my employer asked me to research the possibility to access two different backends…
Gunni3
  • 21
  • 1
1
vote
1 answer

OData getEntity method fetches only first entity

I have a service with a working getEntitySet method. The output looks like this: But when I try to get only a single entity with /ColumnSet(1) my Output fetches only the first entity which is ColumnSet(0) method COLUMNSET_GET_ENTITY. data:…
Penrock
  • 143
  • 1
  • 3
  • 16
1
vote
1 answer

LIKE filtering of LCHR field in OData service

I am developing a UI5 application consuming OData services with SAP Gateway, where I have implemented a search functionality which is producing an SQL where condition. One part of the condition looks like follows: ... OR DESCRIPTION LIKE…
miskohut
  • 957
  • 1
  • 14
  • 34
1
vote
2 answers

SAP GATEWAY & UI5: How can reset the CSRF token?=

I need to reset the CSRF token in an OData model. Based on the UI5 documentation I am trying to do that with refreshSecurityToken(fnSuccess?, fnError?, bAsync?) function. (click here for reference) I wrote the following code: var oDataModel =…
MJBZA
  • 4,796
  • 8
  • 48
  • 97
1
vote
1 answer

SAP Odata service metadata do not output fully in browser

My MPC Provider is not fully providing metadata to the browser when called. I am calling the service like follows: http://SERVER/sap/opu/odata/sap/SERVICE/?$metadata It's returning:
Zack Cain
  • 35
  • 7
1
vote
0 answers

How can I access performancedata which i can access with transaction ST03N via OData interface?

I am currently working on an SAP Gateway based on SAPUI5 to build a maintenance cockpit for a large warehouse management system. I need to access some KPIs via OData. At one point I can not go any further: how can I access the response times, which…
flxplzk
  • 127
  • 1
  • 1
  • 12
1
vote
1 answer

SAP Gateway get create ID as response

I'm using OData services to send data to an SAP system. When I'm doing a oModel.create({data}) Is there any way to let the server give me as response the ID or field I just created in the database? Any suggestion is welcome.
Kevine
  • 110
  • 1
  • 1
  • 15
1
vote
0 answers

How to use SAP Gateway for Microsoft without Azure?

I have a SharePoint 2013 Server and a SAP HANA Server that both are on-premises. And I have no Azure. Now, I want to integrate these two platform via SAP Gateway for Microsoft. How could I do this? Or does there have any other component that…
Frank Code
  • 101
  • 12
1
vote
2 answers

$batch request resulting in error "Default changeset implementation allows only one operation"

I am making a worklist application using SAPUI5. The problem is that when I create an entry and then create another one right after that, I get the following error: Default changeset implementation allows only one operation. I checked the $batch…
SAPUI5GUY
  • 71
  • 1
  • 2
  • 10
1
vote
1 answer

OData function imports do not work with Edm.DateTime format

I'm using SAP RMTSAMPLEFLIGHT. It has function imports which require DateTime as input parameter
fay28
  • 13
  • 1
  • 4
1
vote
2 answers

How to read image using oDatamodel V2 in sapui5?

I am stuck trying to read an image from the gateway. If I run this uri directly in the SAP gateway it runs OK and the image data is read: /sap/opu/odata/sap/ZSA_USERS_SRV/UserPhotoSet('someone@gmail.com')/$value" Now I want to read this image in my…
Oscar Bermedo
  • 11
  • 1
  • 3
1
vote
0 answers

RFC server with .Net connector Gateway not matching

I'm working on a really simple app running as RFC Server. I installed SAP Netweaver 7.5 trial version. Here is the code to start the server : private void button2_Click(object sender, EventArgs e) { …
1
vote
1 answer

How to upload large files using SAPUI5 FileUploader

I am using the FileUploader in SAP WEB IDE to upload text files to SAP back end database through OData Services. I am able to upload small files with size around 10-20 KB but my requirement is to be able to upload files with size 100-150 MB. Code…
sky
  • 55
  • 1
  • 10
1
vote
2 answers

No system in Service Maintenance while generating OData service

I generated my Service over Transaction "SEGW" and everything is fine, but after I generated the services (MPC and DPC) no "Service maintenance" occurs like in all tutorials i've done. Is there a way to generate an entry in the maintenance folder?
invasion
  • 101
  • 1
  • 4
  • 16
1
vote
0 answers

Move data from an external system into Teradata database

I have exposed a set of data as OData service from SAP ERP via Gateway. I get the data in the form of xml/json. I would like to access the XML/JSON data and update it onto a table in the Teradata database. How to consume XML data on…
Sangamesh
  • 435
  • 3
  • 8
  • 19