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

SAP Gateway projects: How to re-anable import functionality of Date Models after project copy?

Using t-code SEGW, I created a SAP Gateway project with several data models based on RFC function modules. The data structure is based on the handy "Import" funtionality. Due to a customer request, I had to copy the project into another, customer…
SDD64
  • 706
  • 13
  • 28
0
votes
2 answers

Developing Mobile Native iOS applications to integrate with SAP middleware

I am currently involved in defining strategy for a large future project, where it is proposed to developed native mobile phone applications that would integrate with SAP middleware. I would like to understand how one would develop a native iOS…
0
votes
1 answer

SAP Gateway runtime odata path permissions

Is there standard way to change runtime permissions for a user to be able to call certain odata resources of a SAP gateway service, other than manually writing code in every service implementation method to check if the request is allowed? For…
Sebastian B.
  • 287
  • 4
  • 19
0
votes
1 answer

MobileFirst SAP Adapter http HEAD requests

We are working with MobileFirst 6.3, mobilefirst server running on RHEL linux. We connect to SAP and have used Discovery to generate adapter code and used those generated adapter calls except for custom authentication. If we do a create in toward…
0
votes
1 answer

Change precision of RFC parameter in OData service builder?

I am using SAP function BAPI_TRADINGCONTRACT_GET_LIST in which there is property reqquality whose type is edm.decimal, precision is 13 and scale 3. I want to edit it, but can't do it. How can I change the scale value to 2? Or how can I edit a…
Koga Dandy
  • 23
  • 1
  • 6
0
votes
1 answer

Session Timeout in Fiori: Does SAP UI5 or the Gateway layer provide an event which gets called when the user's session times out

I'm working on resource locking in SAP Fiori. To be more elaborate I am trying to lock a resource once a user logs in and opens my application and unlock the resource once he logs out or gets logged out. I am aware of the onExit() event handler…
Reeth
  • 62
  • 1
  • 8
0
votes
1 answer

WCF or ASP.net Webservice which uses Sap gateway for microsoft

I hope my question isn't too broad to answer: I am planing to create a webservice (either wcf or asp.net) to connect my Windows Desktop Software to various datasources one of them is a sap database. Is using the SAP Gateway for Microsoft the best…
GBoehm
  • 183
  • 1
  • 16
0
votes
1 answer

Getting issue in making JSON request from xml request of SAP

My Requirement is to create a JSON for the below xml, and send as POST request to SAP Netweaver adapter. SAP End point URI: /sap/opu/odata/sap/ZPM_MOBILE_SRV/WOHeaderSet Method: POST Payload: 1 operation, 2 materials XML request which contain two…
0
votes
1 answer

How consume REST service to expose it in oData

I have a REST service that I call from my client app. The service use JSON to manage data. I want insert SAP NetWeaver Gateway between client and REST server to expose the REST data as oData. The REST service have get and put methods to read and…
padibro
  • 1,324
  • 10
  • 56
  • 95
0
votes
1 answer

Connecting SMP Server (on SAP HANA Cloud Platform Mobile Services) with Netweaver end point

I am mobile iOS developer and need a demo environment while making a Proof Of Concept app that will run against SAP Mobile Platform 3.0 (SMP) and Netweaver Endpoint using OData service. I need to be testing against SMP Server 3.0 SP05 or SP06 as I…
Martin Koles
  • 5,177
  • 8
  • 39
  • 59
0
votes
2 answers

Missing CSRF Token Android App with SAP Netweaver Gateway

I am doing an Android application that consumes OData from SAP Gateway in java. In this moment, I am able to retrieve data from the gateway, but when I want to update or create something, an error occurs saying "Expected Status OK or No…
Gargim
  • 59
  • 8
0
votes
2 answers

OData call with $filter and $expand simultaneously

I've been trying to call a entity, but i'm supposed to call the results from its associated entities. I tried to do it with the following URL: /sap/opu/odata/XXXXXXXX/SERVICE_NAME/MatnrGetdetailCollection?$filter=IVendorId eq '1701' and ILanguage eq…
0
votes
1 answer

SAP Gateway CSRF Protection only works over HTTPS, not over HTTP

Today I faced the problem that (suddenly) the SAP Gateway stopped acceppting CSRF tokens issued by himself. Checked the network trace, everything is fine. The Client gets a token using GET Method and the HTTP Header X-CSRF-Token: Fetch receiving…
iPirat
  • 2,197
  • 1
  • 17
  • 30
0
votes
3 answers

SAPUI5 and dynamic URL for OData service

I am doing sample example using sapui5. I want to pass URL service dynamically and load ODATA service, but I really new with sapui5 and I don’t know how to do it. This code below is what i tried to do but it is not working. Thanks a lot for your…
0
votes
2 answers

Metadata queries to SAP Gateway from Breeze always return 406 Not Acceptable

I'm using BreezeJS 1.5.1 in an Angular 1.3 project to try to query a SAP Gateway server, which I'm assured implements OData. As the title says, every request to the $metadata service returns a 406 Not Acceptable response from the server.
davewragg
  • 15
  • 6