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
1 answer

SAP OData Service - X-CSRF-Token validation failed from client app

Anyone here have good knowledge of X-CSRF-Token behaviour on SAP OData services, in particular when used with Windows Auth (Kerberos) authentication? Am developing against GET/PUT services which behave fine in testing via Postman; X-CSRF-Token…
Soundwave
  • 154
  • 1
  • 11
1
vote
0 answers

Implementing Single sign on in sapui5 launchpad to JBOSS

I am a sapui5 developer,Toady Client came up with proposal of single-sign-on. As i know that single-sign-on is feature of sap gateway(presume configuration are done prior to this). x-csrf-token can be considered as session id which is set by…
bharath muppa
  • 1,070
  • 12
  • 30
1
vote
0 answers

IBM Mobile First - Http request failed: javax.net.ssl.SSLHandshakeException

I am trying to consume an OData service using SAP Netweaver Gateway Adapters. But I am facing an issue like below Runtime: Http request failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building…
Venkatesh Voona
  • 423
  • 8
  • 27
1
vote
1 answer

Configure SAP Gateway service to ignore properties from payload that are not defined

The scenario is simple: I have a list of products and on frontend I create a property on the fly in the oData model ("EditMode"). I use this property only for frontend to enable/disable some input fields. When I perform an update(POST) the gateway…
gmodrogan
  • 323
  • 5
  • 14
1
vote
3 answers

How to get customer id KUNNR of current Launchpad user?

I am writing a custom Fiori to access sales data from an SAP ERP backend system using a Gateway. The use case is "customer logs in launchpad, opens Fiori app and sees all his/hers sales items based on the customer id". The customer id is stored in…
SDD64
  • 706
  • 13
  • 28
1
vote
1 answer

How to add headers to odata get service

I am working on following odata service: https://10.49.78.69:8083/gateway/odata/SAP/SOA_LOGIN_GET_DATA;v=1/InspectionSet This service runs only when following four headers are defined. InterfaceID ADFCA_CRM_SBL_023 LanguageType ENU / ARA UserName…
1
vote
1 answer

Include SAP Gateway labels in Breeze custom metadata

I am building an Angular 1.3.5 app using Breeze 1.5.1 to interface with a SAP gateway server. One requirement is to minimize duplicate UI translations by re-using the human-readable metadata labels provided by the server. From what I can gather,…
davewragg
  • 15
  • 6
1
vote
1 answer

BreezeJs, saveChanges() - Uncaught TypeError: Cannot read property 'statusText' of undefined

I'm using BreezeJS with Angular to consume data from a Restful OData Service provided by an SAP Netweaver Gateway System. The application is currently reading the data from the service correctly, including the metadata and has this all held in the…
0
votes
2 answers

How to get two same entities in ABAP OData according to the id?

I am developing a fullstack ABAP OData and SAPUI5 application. I have some issues with connect two entities in the request. I have a table called "Flight" and a table called "Airport". In the "Flight" table I have a primary key and two foreign…
dave25
  • 121
  • 1
  • 5
0
votes
0 answers

SAP CAP - Select OData Entity With Primary Keys

We have the following URL that leads to the desired result (executed in gw client): //xyz.com/myEntity(key1='12345',key2=datetime'2022-02-01')/Results I have now imported this OData API into my Java project via CDS import and am trying to recreate…
Tobias
  • 4,921
  • 4
  • 31
  • 40
0
votes
1 answer

Update entity data using OData V4 and oListData

I am new to SAPUI5 and want to update an entity data using oListData. I am not able to find any tutorial that explicitly explains this. My onSave function looks like this: onSave: function() { var oDialogContext; …
Maliha
  • 45
  • 1
  • 5
0
votes
1 answer

CSRF error after create entity POST request in ABAP OData service

I am about to learning OData Services in ABAP for working purposes. Implementing the create entity request I run into some issues. METHOD airportsset_create_entity. **************************************************** *…
dave25
  • 121
  • 1
  • 5
0
votes
0 answers

How can I use SAML for ASP.NET Core API authentication

I want to apologise as I have absolutely no clue of SAML, but here is my (probably stupid) question: In our corporate environment, we use SAML to authenticate users on our SAP Launchpad. I have a SPA on the Launchpad, which is thus secured by SAML,…
Georg Edlbauer
  • 205
  • 2
  • 12
0
votes
0 answers

OData Filter by Multi value 'in()' not working

I'm using OData Filter Client V2 to filter different product by passing keyword and different filter for example based on 'origin' or 'size', want to achieve like this $format=json&$top=50&$filter=substringof('COFFE', searchKey) and (origin eq 'BRA'…
Killian Pierce
  • 121
  • 3
  • 12
0
votes
1 answer

SAP ABAP AUTHORITY-CHECK is granted in ODATA Service builder without correct rights?

I was trying to implement an authority-check in my DPC_EXT class of an OData service for the entity todos in the get_entity method: METHOD todosset_get_entity. AUTHORITY-CHECK OBJECT 'S_TABU_NAM' ID 'ACTVT' FIELD '03' ID 'TABLE' FIELD…
MMMM
  • 3,320
  • 8
  • 43
  • 80