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 ABAP ODATA order of query option parameters

I have created an odata service for testing purposes in SEGW. My Query string looks like: /.../ProductsSet?$select=Id,Title,Description,Price,Rating&$filter=startswith(Title,'S')&$inlinecount=allpages&$skip=10&$top=10&$orderby=Rating…
MMMM
  • 3,320
  • 8
  • 43
  • 80
0
votes
0 answers

How to use nested $expand on CDS Views with OData.publish:true

Imagine we have three nested CDS Views A>B>C that are linked together with associations with 0..* from top to bottom (e.g.: A > 0..* > B > 0..* > C). All three CDS Views are published with @OData.publish:true and their corresponding service is…
Fabian D.
  • 37
  • 7
0
votes
1 answer

submitChanges() with Deep Entity?

I have an odata with a navigation set. For example, Order entityset with Items entityset. Items entityset is a navigation set (subset) of Order. It's a one to many relationship. Each order may have 0 or many items. My sap ui5 page allows people to…
Fahmi Eshaq
  • 318
  • 3
  • 10
0
votes
0 answers

ODATA pass etag from response to request

I'm working on an SAP integration where one transaction requires multiple GETs, PATCHes and POSTs. Also there is a requirement to pass etag between the calls. I'm trying $batch but don't know how to pass etag between calls because one modification…
Jijo Joseph
  • 127
  • 6
0
votes
0 answers

CSRF Issue using SAP OData Sevice via MS c# OData Client V7

I have a CSRF protected OData Service on a SAP server for which I have generated the service class / references using Microsoft OData Connected Services in VS 2022. Now I do a GET request in order to fetch the CSRF Token and hand it over to the POST…
0
votes
0 answers

Can the INIT OData Source Kafka Source Connector pull data from XSODATA services?

I'd like to preface this with the fact that I am completely new to SAP and SAP HANA, and OData. I was tasked with pulling changes from a SAP HANA table and transfer those to Kafka. I noticed there was a Kafka source connector already written, which…
eitaporra
  • 51
  • 7
0
votes
1 answer

CSRF Token Validation Failed Error while triggering a PATCH request from Microsoft Power Virtual Agent BOT to S/4 HANA through OData service

We are getting an error while trying to trigger a PATCH request via HTTP AZURE Gateway from Power Virtual Agent BOT to S/4 HANA through OData v2 service. The same service works fine when we test it from POSTMAN and through SAP Gateway Client. The…
0
votes
2 answers

Fiori : Could not open App, target was not found

I have activated the apps 'My Work Queue and Assign Work', and when i click on the apps i got the error "Target was not found" (adding element with duplicate id) I have activated the ICF nodes and the ODATA services as well as the role assignment. I…
0
votes
1 answer

Real time Data Extraction from SAP ECC

We have requirement to extract data from ECC tables to Azure data lake in real time. Azure data factory has connectivity option to SAP ECC system but it will not support real time ingestion. Please let me know if there is any native implementation…
user1941025
  • 541
  • 6
  • 21
0
votes
1 answer

SAP Fiori Elements - Object Page Table Items XML Annotation

Please, what are the XML annotations needed in a Fiori Elements Object Page in order to display a table in it? This app is not a RAP one, this is OData service with gateway (SEGW). Example: Main Entity Purchase Orders and in Object Page display all…
0
votes
1 answer

Why am I getting oEvent.getParameter('data') undefined on dataReceived event?

this.getView().bindElement({ path: `/Employees('${this._userId}')`, parameters: { expand: 'aaa,bbb,ccc' }, events: { dataReceived: (oEvent) => { this.getView().setBusy(false) debugger } } }); I can see data in the…
Pieter
  • 1,751
  • 3
  • 30
  • 65
0
votes
0 answers

Sap Fiori launchpad 403 Forbidden metadata

I get a "403 forbidden" error (metadata of the application) after deploying the app on our new system. The Launchpad and also the Launchpad Customizer works, but as I open the application it leads me to the app but no data. metadata always 403. Also…
Jünge alles
  • 491
  • 1
  • 5
  • 19
0
votes
1 answer

How to send EDM.TIME as a parameter in HTTP GET request

Can't find how to send edm.time as a parameter in get request in an url. Tried many variations but with no luck. I think it has to do maybe with character escaping but it didn't work for me either, I'm probably missing out something. For example, I…
Wahalez
  • 489
  • 1
  • 6
  • 22
0
votes
2 answers

Filtering based on abap timestamp fails

I have an Odata Service where there is a field for ABAP Timestamp in Edm.Decimal format. Now when I try to filter the data between a given time frame, it is failing with error ( 400 ). Example: I tried to filter the data from 01-03-2022 to…
Badhusha
  • 88
  • 1
  • 1
  • 9
0
votes
1 answer

HTTPS POST Request from Java Application to OData-Service in S/4HANA System with valid CSRF-Token

The situation is as follows: On the one side I have created an OData-Service which should create an entry when it receives a POST-Request. The Service is created in an S/4HANA System and is reachable via the SAP-Gateway. On the other hand I have a…
Fabian D.
  • 37
  • 7