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

Rename entity for OData service generated via Referenced CDS views?

I implemented some CDS views with associations on a SAP NETWEAVER 7.5 SP 19 (09/2020) system. I used in the SEGW transaction the reference by data source feature to automatically create the ODATA types and associations from the CDS views and add…
Thomas H.
  • 63
  • 2
  • 9
1
vote
1 answer

How to get back the redefined DPC method which redefinition was deleted?

I have a DPC class in sap for a gateway service. I redefined a getEntitySet method and wrote some code in it. Then I accidentally undid the redefinition and all my code is gone. Is there any way to get my code back?
1
vote
1 answer

In SAP UI5 `List` the "count-indicator" [ item-N / total-M ] is missing below the "More" button

I'm developing software for 40+ years but I'm absolutely new to SAP UI5, so maybe this is very basic or a trivial problem but half a day of searching the internet brought no results: In a Master-Detail View (defined in xml) I want to display a list…
1
vote
1 answer

SAP OData Service Filter is not filtering

I'm learning to get delta data from SAP Fiori sample gateway to Azure SQL by using Azure Data Factory and filter feature on OData service. I'm using OData Service that exposed by Fiori sample, and one of the table sample is PurchaseOrders. I tried…
Adityo Setyonugroho
  • 877
  • 1
  • 11
  • 29
1
vote
1 answer

SAPUI5 Error_Log in Frontend: Statuscode 202: User does not have the sufficient authorizations

I made a SAPUI5 app. When I call it with my developer authorization, everything runs fine. When my customer runs it with his limited authorizations, he gets the message "User does not have the sufficient authorizations". This happens to him only…
Julia
  • 49
  • 1
  • 1
  • 9
1
vote
1 answer

Return delta from SAP OData Sample service

I am trying to extract data from a SAP's Basic Sample Service via OData, I registered. It is working fine in 'normal mode' and is returning like 302 records. What I am failing to get is data in delta mode with like 20 records, instead it is still…
Alex Jones
  • 768
  • 9
  • 23
1
vote
0 answers

SAPUI5 Function import with Date

I have the following problem. I have an Function import where I have two date fields. SEGW Function import here is how i call the function import: this.getView().getModel("odata").callFunction("/SavePos", { method: "GET", …
Gander
  • 11
  • 1
  • 5
1
vote
0 answers

SAPUI OData 405 (Method Not Allowed)

I am new to SAPUI and I'm doing some tests with OData. I built a simple project showing products of an oData service and a buttons for create/delete/edit a product. When I try to create a new product or to delete/update it I got: POST…
hera hoc
  • 21
  • 2
1
vote
0 answers

Access onprem SAML / OAuth protected SAP API with Azure AD authentication (ADFS federated)

Context: AD domain, AAD Connect, Office365 tenant ADFS deployed, federation between AD and AAD SAP GW on premise, with SAML and OAuth configured SAP GW does not support integration with AAD (only SAML SSO, and it's required to use it's own OAuth…
1
vote
1 answer

Posting to a complex typed array

I have an ORDER structure in ABAP that has another ITEMS structure within it which will contain multiple items per order. I'm populating this structure through a SAP Gateway service, which works for an ORDER + a single ITEM. { "d": { …
Adam Harkus
  • 2,050
  • 2
  • 36
  • 64
1
vote
1 answer

SAPUI5 Metadata is not refreshing after changes

We got a problem with SAPUI5 service maintenance. After making changes in service entities through SEGW transaction, the metadata that loaded in GW client stays in the state of before changes. For example, there was a field of a date changed into…
Dorad
  • 3,413
  • 2
  • 44
  • 71
1
vote
1 answer

Change the processing mode to "routing-based" before adding system alias

While adding OData service from /IWFND/MAINT_SERVICE I get this error Change the processing mode to "routing-based" before adding system alias I am trying to add a service locally pointing to the same system as the OData is existing in. Can…
Nandan Chaturvedi
  • 1,028
  • 3
  • 16
  • 32
1
vote
1 answer

How to upload multiple files simultaneously using create_deep_entity method?

As we all know we can upload files using create_stream method in SAP Gateway(oData). I want to upload multiple files using Create_Deep_entity along with create_stream method. How to achieve the same.
1
vote
3 answers

OData vs BAPI in SAP environment

Whatever we can do with OData, we can able to do using BAPI right? So,what's the main thing which OData is having compared to BAPIs ? Please let me know your views
BalajiB
  • 326
  • 6
  • 29
1
vote
1 answer

SEGW entity type without key

I am trying to create a OData service that returns user parameters found in the databasde usr05. Those can be accessed by the ABAP statement: GET PARAMETER ID 'XXX' FIELD YYY. This means, that basically do not need a key value. In SEGW it is…
Erch
  • 589
  • 5
  • 25
1 2
3
12 13