Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all 2823 articles
Browse latest View live

Change data type of RowID attribute "ID" possible?

$
0
0

Dear all,

 

we redefined an easy query in our BW 7.31 system. The SEGW-process will integrate the attribute "ID" as key into the entities attributes. The data type is Edm.String without a definite length.

 

That is normally no problem. Now we want to be able to take advantage of the offline features of our SMP. However SMP has the restriction, that the key field has a maximum of 512 bytes. Therefore an unrestricted Edm.String leads to the following error in the SMP:

  • Caused by: com.sap.odata.offline.util.MODataException: [-100061] Property "ID" cannot be supported because it has a max length value that is too large for a key or referential constraint property

 

Is there a way to change the data type attributes of the generated "ID" attribute during service generation?

 

Thanks in advance!

 

Best regards, Daniel


Batch Operation error only with GET operation

$
0
0

Hi,

 

I'm trying to execute a batch operation and when I use GET operation, I get error "The Data Services Request could not be understood due to malformed syntax". It does not happen with any other operation (tested with PUT and POST).

 

I already tried several solutions discussed in the SCN, but I'm still getting this error.

 

My HTTP request:

 

get1.JPG

My response:

get2.JPG

 

Doing more deeply investigation (debugging) I found something interesting:

 

In method: PROCESS_BATCH (/IWCOR/CL_DS_PROC_DISPATCHER)

get3.JPG

 

And processing the BATCH, I found something that intrigues me:

get4.JPG

When it's processing the requests in the bacth, if operation is something different of POST/PUT/PATCH/MERGE/DELETE, in my case GET, the flow goes to exception and ends with the error above.

 

Does anybody already saw that? Any comments?

 

Thank you!

Flavio

error Resource not found for the segment 'SRMShoppingCartCollection'

$
0
0

Hello Everyone,

 

I am getting this error "Resource not found for the segment 'SRMShoppingCartCollection'" while opening an awaiting approval / saved shopping cart in UI5 Addon for SRM. The issue occurs randomly.

 

But, I could see all the required data loaded except for the error popup.

 

Steps that I already followed which didnt workout are:

  • Refresh Catalogs, Refresh Metadata for the SRMShoppingCart service.
  • Clear Cache.
  • Check for existing OSS notes (didnt find any)

 

I am confused why this service is unstable, that it runs fine some times and not some other time. I checked it for the same user, same shopping cart within a span of a minute and could observe the distinctive behaviour. When I put any external breakpoint, the issue doesn't seem to happen at all(didnt see it till now for some tens of runs). But when I remove the breakpoint the issue pops few times.

 

Also, should it not happen with shopping carts of all statuses.? It happens only for saved/awaiting approval shopping carts. and It happens when I try to open it from "My Carts" (Order tracking) as a requester.

 

Any quick help is appreciated, as I'm struck with this strange behaviour of the system.

 

Thanks & Regards,

Karthik

We need URI to test Odata service for Document number search help

$
0
0

Hi all,

 

We are trying to create an Odata service for Document Number search help.The search help should show (Controlling Area, Document No,Posting  date,Document date).The user should pass the Controlling area as a mandatory field to get the search help.

There is no elementary serach help at data element level. So we followed two approaches :

 

1) Create a CDS view . Call the Get Entity Set method to AMDP which queries from CDS view.

2) Create a Custom Search Help.Import this Search Help in SEGW .

 

*Now we can have multiple controlling areas as input.

 

We need to find URI so that we can test our service. For example we tried below :

 

/sap/opu/odata/SAP/ZCASE_TEST_SRV/Ztest1Set (works fine).

 

When the user gives Controlling Area :

/sap/opu/odata/SAP/ZCASE_TEST_SRV/Ztest1Set(KOKRS='US00')  (No Result , BAd request).

 

Can we give other parameters as blank like below :

/sap/opu/odata/SAP/ZCASE_TEST_SRV/Ztest1Set(KOKRS='US00',BELNR='')  (This also gives no result).


Can we write URI where we can give filter like :

/sap/opu/odata/SAP/ZCASE_TEST_SRV/Ztest1Set?(SIGN='I', OPTION='EQ', LOW='US00', HIGH='') ( Status 200, but no result )

 

Please suggest URIs so that  we can test the Odata service.

 

 

Regards,
SHUBHAM

How to connect to my app logic in a central hub scenario

$
0
0

Currently, we have already deployed an ABAP OO application that is exposing custom services directly from the ABAP stack. We are planning to migrate the service layer to Gateway and are now looking at what we need to arrange to get this running in both an embedded as well as central hub deployment.

 

In an embedded gateway scenario, I'll just be able to launch my ABAP code from the service implementation. But how does this work in a central hub deployment? Would I have to wrap all my methods into RFCs in order to call them from there?

Counting Gateway access license

$
0
0

Hi,


We have a SAP Gateway Hub installed with license for xxxxx calls. I think it is called GW Consumer Access License.

Does anyone know how we can audit how many calls we make. ?

unable to access register button in service maintenance

$
0
0

Hi All

 

1) Unable to access button register in service maintenance.

 

able to register service in /iwfnd/maint_service.

 

2) after generation of service , service took LOCAL as system alise.

 

register.png

Update Table not working(O Data)

$
0
0

Hi,

I have created one RFM with importing single parameter and exporting tabular.

 

For get entity set is working right but when I am trying to put(update) getting error.

 

1. For update I have written code in update_entity even external break point is not triggering, same worked for get entity.

 

Get entity Request URI : /sap/opu/odata/sap/ZUSER_DATA_SRV/ZUSERDATASet/?$filter=Uname eq 'P02050607'

 

 

Put Operation URI : /sap/opu/odata/sap/ZUSER_DATA_SRV/ZUSERDATASet(Mandt='300',Uname='P02050607')

 

-Amol S


IT_KEY_TAB in GET_Entityset method

$
0
0

Hi All,

 

I have implemented GET_ENTITYSET method and I would like to invoke this method with IT_KEY_TAB filled.

Does anybody help how should I invoke GET_ENTITYSET method where I have values in IT_KEY_TAB?

 

I tried /sap/opu/odata/sap/ZGW_EPM_SALES_ORDER_SRV/SalesOrder(SoID='500000002') but it is invoking GET_ENTITY method and passing IT_KEY_TAB there but I want to invoke GET_ENTITYSET method.

 

Entity Set - SalesOrder in my case and Key is SoID.

 

 

 

MetaData -

 

 

<?xml version="1.0" encoding="utf-8" ?>

 

-<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">

 

 

-<edmx:DataServices m:DataServiceVersion="2.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

 

 

-<Schema Namespace="ZGW_EPM_SALES_ORDER_SRV" xml:lang="en" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">

 

 

-<EntityType Name="SalesOrder" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData">

 

 

-<Key>

 

 

<PropertyRefName="SoID" />

 

</Key>

 

<PropertyName="SoID" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Sa. Ord. ID" />

 

 

<PropertyName="CurrencyCode" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency" sap:semantics="currency-code" />

 

 

<PropertyName="GrossAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Gross Amt." />

 

 

<PropertyName="NetAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Net Amt." />

 

 

<PropertyName="TaxAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Tax Amt." />

 

 

<NavigationPropertyName="SalesOrderItems" Relationship="ZGW_EPM_SALES_ORDER_SRV.OrderItems" FromRole="FromRole_OrderItems" ToRole="ToRole_OrderItems" />

 

</EntityType>

 

-<EntityType Name="SalesOrderItems" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData">

 

 

-<Key>

 

 

<PropertyRefName="SoID" />

 

 

<PropertyRefName="SoItemPos" />

 

</Key>

 

<PropertyName="SoID" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Sa. Ord. ID" />

 

 

<PropertyName="SoItemPos" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="PO Item Pos" />

 

 

<PropertyName="ProductID" Type="Edm.String" Nullable="false" MaxLength="10" sap:label="Product ID" />

 

 

<PropertyName="Note" Type="Edm.String" Nullable="false" MaxLength="255" sap:label="Description" />

 

 

<PropertyName="CurrencyCode" Type="Edm.String" Nullable="false" MaxLength="5" sap:label="Currency" sap:semantics="currency-code" />

 

 

<PropertyName="GrossAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Gross Amt." />

 

 

<PropertyName="GrossAmountExt" Type="Edm.Decimal" Nullable="false" Precision="12" Scale="4" sap:label="Amount" />

 

 

<PropertyName="NetAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Net Amt." />

 

 

<PropertyName="NetAmountExt" Type="Edm.Decimal" Nullable="false" Precision="12" Scale="4" sap:label="Amount" />

 

 

<PropertyName="TaxAmount" Type="Edm.Decimal" Nullable="false" Precision="15" Scale="14" sap:label="Tax Amt." />

 

 

<PropertyName="TaxAmountExt" Type="Edm.Decimal" Nullable="false" Precision="12" Scale="4" sap:label="Amount" />

 

 

<PropertyName="DeliveryDate" Type="Edm.DateTime" Nullable="false" sap:label="Time Stamp" />

 

 

<PropertyName="Quantity" Type="Edm.Decimal" Nullable="false" Precision="7" Scale="3" sap:label="Quantity" />

 

 

<PropertyName="QuantityUnit" Type="Edm.String" Nullable="false" MaxLength="3" sap:label="Qty. Unit" sap:semantics="unit-of-measure" />

 

</EntityType>

 

-<Association Name="OrderItems" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData">

 

 

<EndType="ZGW_EPM_SALES_ORDER_SRV.SalesOrder" Multiplicity="1" Role="FromRole_OrderItems" />

 

 

<EndType="ZGW_EPM_SALES_ORDER_SRV.SalesOrderItems" Multiplicity="*" Role="ToRole_OrderItems" />

 

 

-<ReferentialConstraint>

 

 

-<Principal Role="FromRole_OrderItems">

 

 

<PropertyRefName="SoID" />

 

</Principal>

 

-<Dependent Role="ToRole_OrderItems">

 

 

<PropertyRefName="SoID" />

 

</Dependent>

</ReferentialConstraint>

</Association>

 

-<EntityContainer Name="ZGW_EPM_SALES_ORDER_SRV" m:IsDefaultEntityContainer="true">

 

 

<EntitySetName="SalesOrderItems" EntityType="ZGW_EPM_SALES_ORDER_SRV.SalesOrderItems" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData" />

 

 

<EntitySetName="SalesOrder" EntityType="ZGW_EPM_SALES_ORDER_SRV.SalesOrder" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData" />

 

 

-<AssociationSet Name="OrderItems" Association="ZGW_EPM_SALES_ORDER_SRV.OrderItems" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1" xmlns:sap="http://www.sap.com/Protocols/SAPData">

 

 

<EndEntitySet="SalesOrder" Role="FromRole_OrderItems" />

 

 

<EndEntitySet="SalesOrderItems" Role="ToRole_OrderItems" />

 

</AssociationSet>

</EntityContainer>

 

<atom:linkrel="self" href="<>:8000/sap/opu/odata/sap/ZGW_EPM_SALES_ORDER_SRV/$metadata" xmlns:atom="http://www.w3.org/2005/Atom" />

 

 

<atom:linkrel="latest-version" href="<>/sap/opu/odata/sap/ZGW_EPM_SALES_ORDER_SRV/$metadata" xmlns:atom="http://www.w3.org/2005/Atom" />

 

</Schema>

</edmx:DataServices>

</edmx:Edmx>

 

Regards,

Sid

Supported OData Query Options

$
0
0

Hi all,

 

OData supports query options like $filter=cityfrom eq 'SINGAPORE' or $select=...

(A full list can be found [here|http://www.odata.org/media/16352/%5Bms-odata%5D.pdf])

 

1) Which options are supported by Gateway?

 

2) What is the "Gateway Solution" to filter the result of the GetList/Query command for a specific entity?

(e.g. return all flights with city of departure equal to 'Singapore')

 

Best Regards,

Florian

$filter option does not work after SAP_UI upgrade

$
0
0

We recently upgraded our SAP Gateway UI add-on to SAP_UI 740 SP13 (from SP10) as SAPUI5 libraries we were using were outdated. After the upgrade OData queries with $filter option do not work. OData services that use $filter option return empty result set. Example query that was working before the upgrade are as follows:

 

/sap/opu/odata/sap/ZCUSTOMER_LOOKUP_SRV/TShiptoSet?Kunnr eq '202768'

 

/sap/opu/odata/sap/ZGB_SRA016_PRICE_AVAIL_SRV_01/Customerhelp_shiptoSet?$filter=Mcod1 eq 'ABC*'  and  Parvw eq  'SH'

 

OData services that don't use $filter option are working properly. We have tried clearing the metadata cache on Gateway and backend for services in question and that did not help.

 

We are working on a fast track project and need this issue resolved quickly. Any assistance in this regard is highly appreciated.

Specify port for SAP Gateway gwrd

$
0
0

Hi

I can see on our SAP box that gwrd is running, but I would like to change the port on which it communicates.  Currently it is 3300, but I would like to change it.

How can I do it?

(The box does not have SAP NetWeaver Developer Studio installed)

Featured Content for SAP Gateway

$
0
0

New version of HCI OData Provisioning service available on SAP HANA Cloud Platform trial landscape

http://scn.sap.com/people/people/bjoernw/avatar/46.png?a=57770

Posted by  Bjoern Woppmann  on Nov 24, 2015

Check out this document to find out more about the new version of HCI OData Provisioning service that is available on SAP HANA Cloud Platform trial landscape.

Sneak Peek into SAP Gateway and API management Program at SAP TechEd, 2015

http://scn.sap.com/people/sonali.desai/avatar/46.png

Posted by Sonali Desaion Sep 18, 2015

Check out this blog to find out what are the interesting sessions and demos that are going to be offered by SAP Gateway and API Management team at TechEd 2015 at Las Vegas.

Meet SAP at “I love APIs 2015” Conference on Oct 12-14 in San Jose

http://scn.sap.com/people/sonali.desai/avatar/46.png

Posted by Sonali Desaion Sep 8, 2015

I Love APIs 2015’ will be the world’s largest networking and training event dedicated to APIs and digital business with three forums dedicated to developers, IT experts, and strategists. SAP has a strong presence at this event. Check out here the highlights of SAP’s presence at this event

Perform server side pagination and test it from SAP Gateway client

/people/arshad.ansary2/avatar/46.png?a=31565

Posted by Arshad Ansaryon Aug 9, 2015

This blog provides step by step guide on how to do server side pagination and how to test it from SAP Gateway client.

See More: Recently featured content for SAP Gateway

Recently featured content for SAP Gateway

$
0
0

New version of classroom training GW100 available as a 4 day course

http://scn.sap.com/people/andre.fischer/avatar/46.png?a=31565

Posted by Andre Fischeron July 10, 2015

This blog provides details about new version of classroom training GW100 which is now available as a 4 day course. It explains what is there in the course and why you should attend it.

How to create the Trusted RFC connection between Gateway and Back end systems?

http://scn.sap.com/people/bhaskar.rao13/avatar/46.png?a=59811

Posted by Bhaskar Non July 8, 2015

This document provides step by step guide on how to create the Trusted RFC connection between Gateway and Back end systems.

Recorded Webinar: Enabling Digital Transformation with SAP API Management

Himanshu_Pande.png

Presented by Himanshu Pandeon May 21, 2015

Discover how global enterprises are using API Management to accelerate the process of delivering new services and features for their products to customers, partners and employees through digital experiences.Please register first and then login to view recorded session.

Capabilities Matrix: Which SAP product to use to expose your business data as OData service for UI consumption
Bjoern Woppmann

Posted by Bjoern Woppmannon May 8, 2015

This article provides a detailed capability matrix showing key differences between the Gateway Hub, SAP Process Orchestration and the SAP Mobile Platform 3.0 while exposing your business data as SAP Gateway OData service for UI consumption

Video: Your role in Digital Transformation with SAP API Management

featured1.png

Published on April 30, 2015

Check out this 2nd fun cartoon styled video in the series about SAP API management. It focuses on the key roles (architect, API owner, developer…) involved in the digital transformation with SAP API Management based on a hotel business scenario.

API Management with Android Wear for SAPPHIRE

Paul J. Moddeman

Posted by Paul J. Moddermanon April 27th, 2015

Paul shares the developer's experience creating Smartwatch application powered by SAP API Management and Gateway with Beacon technology, also where you can see it at SAPPHIRE.

Preview of SAP API Management powered by HANA Analytics in the SAP Cloud

Elijah Martinez

Posted by Elijah Martinezon Jan 20, 2015

This blog provides the first look at the In-Cloud Beta release of SAPs API Management Platform including a preview video.

SAP CodeJam in Hannover on May 21st focusing on Fiori like apps with SAP Gateway, OData service &Web IDE
Andre Fischer

Posted by Andre Fischeron May 4, 2015

This event focuses on end-2-end development of a SAP Fiori like application. It is of interest for ABAP developers and frontend developers.

How Complex are your OData Models? Need Your Feedback!
Andre Fischer

Posted by Andre Fischeron March 18, 2015

Looking for your input on OData model's complexity

SAP API Management at SAP TechEd Bangalor 2015

Ning-Jing Gao

Posted bySudeesh Kon March 13, 2015

This blog provides great insides of last day at TechEd Bangalore.

Support of multiple backend systems - How to use Multi Origin composition and Routing
Andre Fischer

Posted by Andre Fischeron Feb 2, 2015

Learn how to configure a service to use multi Origin Composition to retrieve data from different backend systems

SAP Gateway and API Management Coming to TechEd && D-Code Bangalore

Ning-Jing Gao

Posted by Ning-Jing Gaoon Jan 31st, 2015

This blog provides the program overview and highlights of both products at upcoming March event in Bangalore.

DEVELOP AN E2E INTEGRATION SCENARIO WITH SAP GATEWAY, SAP HANA AND SAPUI5
Andre Fischer

Posted by Andre Fischeron December 2, 2014

Creation of OData service from scratch making use of a CDS (Core Data Services) view from HANA

Tutorial on SAP Gateway User Self Service

Aakash Raj

Posted by Aakash Rajon December 15, 2014

Step by step video tutorial on how to use SAP Gateway User Self Service for B2C scenarios

SAP Gateway, SAP Process Orchestration, OData, SAP Mobile Platform – how does all this fit together?
Martin Bachmann

Posted by Martin Bachmannon November 21, 2014

Covering technologies that are designed to best support our customers with OData

Release Information & Constraint Notes for Gateway Developer Tools
Amit Nigam

Posted by Amit Nigamon October 16, 2014

Follow this blog for latest software updates, enhancements, new features, bug-fixes, etc.

SAP Gateway and API Management Footprints at TechEd Berlin and Outlook for the Final Day
Ning-Jing Gao

Posted by Ning-Jing Gaoon November 13, 2014

A busy day for SAP Gateway team at TechEd && d-code Berlin. Check out the highlights here

Simple Step-by-Step SAP-Gateway Service Guide
Arshad Shaikh

Posted by ARSHAD SHAIKHon November 2, 2014

More details here on how to create a simple OData service to perform basic operations including media and deep entities

SAP Gateway & API Management, Here, There and Everywhere @ TechEd && d-code Final Day

Elijah Martinez

Posted by Elijah Martinezon October 24, 2014

A busy final day at TechEd && D-Code Las Vegas! Check out the highlights here

Day 2 Highlights for API Management and Gateway at TechEd && D-Code 2014
Monika Chandamaraichenguttuvan

Posted by Monika Chandamaraichenguttuvanon October 23, 2014

An eventful day 2 for SAP API Management and Gateway team at TechEd && D-Code Las Vegas!

SAP TechEd Day 1: A Huge day for API Management and Gateway!
Elijah Martinez

Posted by Elijah Martinezon October 22, 2014

Check out the day 1 highlights for SAP API Management and SAP Gateway team at TechEd && D-Code Las Vegas

SAP API Management (Beta) on SAP HANA Cloud Platform
Ning-Jing Gao

Posted by Ning-Jing Gaoon October 21, 2014

SAP API Management Beta version is now available on HANA Cloud Platform. Check out the blog for more details

Another TechEd season is upon us
Mustafa Saglam

Posted by Mustafa Saglamon October 4, 2014

Meet Mustafa and other SAP executives for inspiring keynotes, interesting lectures and hands-on sessions

Outside-in modelling - a practical guide (RFC Rehab 1)
Ron Sargeant

Posted by Ron Sargeanton October 3, 2014

More detailed practical demonstration of SAP Gateway outside-in approach

What's New in Integration Gateway in SAP Mobile Platform 3.0 SP04
Mustafa Saglam

Posted by Mustafa Saglamon September 27, 2014

A brief but conceptual blog about new features in SAP Mobile Platform 3.0 Integration Gateway

Let's code association/navigation and data provider expand in OData service!
Chandrashekhar Mahajan

Posted by Chandrashekhar Mahajanon September 24, 2014

A do not miss blog for developers on creation of simple SAP Gateway OData service

{API: World} An Unforgettable Experience
Ning-Jing Gao

Posted by Ning-Jing Gao on September 19, 2014

SAP became a popular demo area at "API World" show floor. Check out the details in the blog

SAP Gateway 2.0 SP09 features now available with SAP NetWeaver 7.40 SP08
Andre Fischer

Posted by Andre Fischer on September 17, 2014

NetWeaver 7.4 SP08 was released on September 15th. Read the blog for more details

A look back at the APIWorldDataweek Hackathon
Elijah Martinez

Posted by Elijah Martinez on September 15, 2014

SAP brought their Smart Vending Machine out to the APIWorld + Dataweek Hackathon 2014. Read the blog for more details

SAP Certified - Google Sheets with SAP - CloudShuttle
Gavin Quinn

Posted by Gavin Quinn  on September 15, 2014

The product is now officially out on the SAP Store, and Google Marketplace. You can find the details here

Sneak Peek into the World of SAP API Management and Gateway at TechEd && d-code in Vegas
Ning-Jing Gao

Posted by Ning-Jing Gao on September 12, 2014

Check out the interesting sessions our team offer on SAP API Management & SAP Gateway

I Love APIs 2014 Conference welcome reception and Day 1 highlights
Elijah Martinez

Posted by Elijah Martinez on September 10, 2014

Read this blog to get details on the sessions, demos and more at "I Love APIs" Conference 2014

Gateway protection against Cross-Site Request Forgery attacks
William van Strien

Posted by William van Strienon August 26, 2014

Do not miss blog on how SAP Gateway protects against CSRF attacks

Meet SAP at “I love API 2014” Conference Sep 8 – 10 in San Francisco
Ning-Jing Gao

Posted by Ning-Jing Gao on August 25, 2014

Check out the exciting activities SAP team has planned for "I love API" event

What to Expect from SAP Team at {API: World} 2014 in San Francisco
Ning-Jing Gao

Posted by Ning-Jing Gao on August 22, 2014

Check out the exciting activities SAP team has planned for "API World" event

Unified Inbox in Gateway SP09
Shyam Sunder Suthar

Posted by Shyam Sunder Suthar on Aug 19, 2014

Check out the detailed list of features in Unified Inbox Gateway SP09

Tips for Creating a Google Apps Script/SAP Gateway Mashup
Paul J. Modderman

Posted byPaul J. Moddermanon July 28, 2014

Get tips on integrating Google docs with an SAP back-end through SAP Gateway

Uploading Files to SAP GW, Downloading Files from SAP GW - New Techniques
Peter Marcely

Posted byPeter Marcelyon July 25, 2014

Learn about new techniques to upload and download files to and from SAP Gateway

Implementing Expand Entity/Entity Set
Srikanth Gajula

Posted bySrikanth Gajulaon July 18, 2014

Learn more about implementing Expand Entity/Entity set in this blog.

What's new in SAP Gateway 2.0 SP9?

Andre Fischer

Posted byAndre Fischeron July 15, 2014

SAP Gateway 2.0 SP09 has been released! Read to know more about the features delivered with SP09

How to transport Fiori like applications using SAP Solution Managers Quality Gate Management
Andre Fischer

Posted byAndre Fischeron July 7, 2014

Learn how to transport Fiori like applications using SAP Solutions Manager based on SAP Gateway

SAP Gateway Developer Tools – Bridging the Past, Present and Future

Amit Nigam

Posted by Amit Nigamon July 4, 2014

Learn what has changed about SAP Gateway developer tools.

SAP Gateway deployment options in a nutshell
Andre Fischer

Posted by Andre Fischer with last update on July 2, 2014

Get a clear understanding of the different deployment options available for SAP Gateway, their advantages and disadvantages.

SAP CodeJam in Bielefeld about SAP Gateway and SAPUI5

Andre Fischer

Posted by Andre Fischer on June 30, 2014

Read the details of the SAP CodeJam event

Recorded Webinar Session: Integration Gateway in SAP Mobile Platform 3.0
Stephany Treadway

Posted byStephany Treadway on June 24, 2014

If you missed our webinar, get the details in this blog!

Upcoming SAP CodeJam events around SAP Gateway in June in Germany and Switzerland
Andre Fischer

Posted by Andre Fischer on May 28, 2014

Sign up for SAP CodeJam events around SAP Gateway! This event will take place in Switzerland on June 18th and Germany on June 25th 2014.

Day 3 Highlights for SAP Gateway at SAPPHIRENOW 2014

Peter Ng

Posted byPeter Ng on June 4, 2014

Get the highlights for SAP Gateway on the final day of SAPPHIRE!

Day 2 Highlights for SAP Gateway at SAPPHIRE 2014
Supriya Ananthakrishnan

Posted bySupriya Ananthakrishnan on June 3, 2014

Read the highlights of day 2 for SAP Gateway at SAPPHIRE

Day 1 highlights for SAP Gateway at SAPPHIRE 2014
Ningjing Gao

Posted byNingjing Gao on June 2, 2014

Get the highlights for SAP Gateway on Day 1 at SAPPHIRE

What is Exciting about SAP Gateway at SAPPHIRE
Ningjing Gao

Posted byNingjing Gao on May 15, 2014

SAPPHIRE NOW is around the corner, read to know more about the events, sessions and demos scheduled

Upcoming Webinar: Integration Gateway in SAP Mobile Platform 3.0
Stephany Treadway

Posted byStephany Treadway on May 28, 2014

Sign up for the upcoming webinar! This session will introduce you to Integration Gateway and the unique value it adds to SAP Mobile Platform 3.0

'Gateway as a Service' is now 'HCI OData Provisioning'

Posted by Martin Bachmann on Apr 10, 2014

Learn how 'SAP HANA Cloud Integration' and 'Gateway as a Service' offerings have been bought close together

There is a Gateway for that ...

Posted by Mustafa Saglam on March 20, 2014

SAP NetWeaver Gateway is a technology solution that provides design-time and runtime features to expose SAP Business Suite data as OData services

Some new features in SAP NW Gateway 2.0 SP08

Posted by Duong-Han Tran on Jan 30, 2014

Read about some new and helpful features in SAP NW Gateway 2.0 SP08

Structure in Complex Type with Function Import and Cardinality 0..n

$
0
0

We are trying to use a complex type as the return type for a function import with cardinality 0..n. If the complex type is referenced to an ABAP structure, we dont get back any values. If i remove the ABAP structure reference, we get the correct output with multiple rows.

 

Is this a known bug or we are doing something wrong?

 

While debugging the framework code, came across a section which checks for "conversions" and if this is true, treats the complex type as a structure, ignoring the cardinality.

 

IF lo_complex_type->get_no_conversion( ) = abap_false.

 

          ASSIGN cr_data->* TO <ls_source_structure>.

          lo_struct_descr ?= lo_complex_type->create_data_descriptor( ).

          CREATE DATA lr_target_struct TYPE HANDLE lo_struct_descr.

          ASSIGN lr_target_struct->* TO <ls_target_structure>.

 

          /iwbep/cl_mgw_data_helper=>convert_complex_property_outb(

            EXPORTING

              io_complex_type     = lo_complex_type

              is_source_structure = <ls_source_structure>

            CHANGING

              cs_target_structure = <ls_target_structure>

          ).

 

          cr_data = lr_target_struct.

 

This code isnt executed if its a complex type without ABAP structure.

 

Gateway: IW_BEP SP8

 

Regards,

Parag.


New version of HCI OData Provisioning service available on SAP HANA Cloud Platform trial landscape

$
0
0

Recently, things have been a bit quiet regarding HCI OData Provisioning (this is the service on HCP formerly known as 'Gateway as a Service'). Now, I have great news:


As of this week, a new version of HCI OData Provisioning is available on the SAP HANA Cloud Platform (HCP) trial landscape.

 

HCI OData Provisioning.jpg

 

What is HCI OData Provisioning?

To make it short, HCI OData Provisioning gives you a new, additional deployment option of exposing SAP Gateway services to SAP HANA Cloud Platform. You might also call it your "Gateway Hub in the Cloud".

 

What's new?

In this version we have reworked a few things:

  • Destinations
    Destination handling has been changed to work with the destinations created in the HCP admin cockpit on subscription level (Services > HCI OData Provisioning > Configure HCI OData Provisioning).
    We have decided not to migrate the existing destinations, as we assume most destinations were used for test purposes only and did not want to import potentially obsolete destinations. So I would kindly ask you to recreate any destinations that you might have used before in the trial landscape.
  • Compatibility with SAP Fiori, Cloud Edition
    We have made some behind-the-scenes changes to enable all the cool SAP Fiori apps running in SAP Fiori Cloud Edition, which is now available in a controlled availability program for productive usage. If you are a part of said program, we can make HCI OData Provisioning available for productive use already today. For details on how to join the "beta" program, please have a look at this blog post: SAP Fiori Cloud Edition is now available for Productive Use!
  • Frequent updates
    We will now release updates to the HCI OData Provisioning service more frequently, potentially on a monthly basis.
  • User Interface
    We have updated the user interface to be consistent with the general theme used on HCP.

 

Does this mean that SAP Gateway is obsolete?

No. Basically SAP Gateway consists of two parts: One part is the Gateway Backend Enablement that allows you to build and create OData services, the other part is the Gateway Hub to expose the Gateway services (see the Gateway deployment options). You will still need to use the Gateway Backend Enablement in the future for the OData service exposure. However, as of SAP NetWeaver 7.40 the necessary SAP Gateway components come preinstalled, so in many cases you are ready to use HCI OData Provisioning with your SAP NetWeaver system straight out of the box.

 

What is planned for HCI OData Provisioning?

We are working with full speed on making HCI OData Provisioning available for productive use for everyone. The current plan is to make it generally available (GA) by the end of Q1/2016. (However, please bear in mind that there is always some uncertainty about unreleased software and therefore these plans might change. )

 

In addition to the use with SAP Fiori, cloud edition, there are some further cool use-cases planned on the SAP HANA Cloud Platform where HCI OData Provisioning will simplify your IT landscape setup:

  • API enablement: If you want to enable your Gateway services as APIs, HCI OData Provisioning can be used in combination with SAP API Managemt on HCP.
  • Mobile enablement: You might want to build some native mobile apps for iOS/Android/Windows Phone that require offline capabilities, or other mobile qualities. In this case you can use HCI OData Provisioning in combination with HCP mobile services.
  • Custom UI development: Of course you can also use the exposed Gateway services on HCP to build your own Fiori-like UIs using SAPUI5 technology with SAP Web IDE.

 

Feedback

Of course, I am happy to hear your feedback on this new release so that we can further improve the service, before it becomes widely available for productive use. So please write a comment below, send me an e-mail or if you encounter a bug, please open a support incident in component OPU-GW-OD-FW.

 

Enjoy!

Björn

how to pass a value to BAPI in sapui5 using odata services?

$
0
0

Hi ,

 

Require Help to understand how to pass a value through oData services to BAPI to fetch the required result.

 

Detail:

I am  trying to create a mobile app in sapui5 where Im consuming a odata service(Net Weaver gateway)...which is linked to a BAPI,

To Fetch few records from the BAPI, the user in the front end have to input a value...

This value i have to pass through the odata services to the BAPI.

 

Please Share Your Valuable Comments.

 

 

Thanks,

Ashwin

execute_action with mass CONFIRM in gateway

$
0
0

Hello,

 

I am trying to implement mass creation of so order in gateway.

can you anyone provide me some snippets code on this?

 

I have defined in model

 

  lo_action = model->create_action( 'CONFIRM' ).

   lo_action->set_return_entity_set( 'SOHdr' ).

   lo_action->set_http_method( 'POST' ).

   lo_action->set_return_multiplicity( '1').   " what should we put here ??

   lo_parameter = lo_action->create_input_parameter( iv_parameter_name = 'WiId'

                                                     iv_abap_fieldname = 'WI_ID' ).

   lo_parameter->/IWBEP/IF_MGW_ODATA_PROPERTY~set_type_edm_string( ).  "What should we put here ?

 

can we define the type of parameter as a range of a table?

 

Thank you.

 

Benjamin

How to annotate an OData Attribute with sap:display-format="Date"

$
0
0

Hello experts,

 

for a Fiori SmartFilterBar I need an Edm.DateTime attribute to be recognized as a Date field.

Intention: From the annotation the Filterbar recognizes, that a Datepicker needs to be displayed.

 

I got the idea with the Annotation from here:

Re: Rules for OData datetime properties

 

 

The Annotation (display-format) is of course mentioned here:

SAP Annotations for OData Version 2.0

 

 

I do not see any option to set this Annotation for my attribute in transaction segw.

The explanations on the second link confused me quite a bit.

 

Any hints appreciated.

Error /IWCOR/CX_DS_BAD_REQUEST while using Deep Insert

$
0
0

Hello fellow SAP GW experts. I have found myself stuck with an issue trying to test my code for a Deep Insert Service.

 

The structure of the entities is something of the sort:

 

-LoanRequest

Contains: Loan Data, this is a header data

     -Customers:

       Contain: Customer Data, this is a table, the loan request may have associated 1 or n customers to it

      -CustomerLoanProperties:

        Contains: The corresponding customer's conditions for the loan, like the amounts, card numbers and such.

 

The relationship is as follows:

 

Loan can have 1 or n Customers, and Customers can only have 1 loan properties each.

 

In order to generate the payload we redefined the expand_entity method given that a simple $expand wouldn't let us generate a real payload for this case given the relation/navigation properties as far as I tried, I might be wrong tho.

 

The issue on question is that, once we get a succesfull answer from the expand entity method we redefined, we use it as a payload, however once we change it to a POST method, the error we're gettng is:

 

/IWCOR/CX_DS_BAD_REQUEST: The Data Services Request could not be understood due to malformed syntax


Logs give the same text so there's no real way to pinpoint where in the XML the syntax is wrong.



I'll also add the payload request for more clarity on this issue.


In any case if you guys could advice me in any tool that could help me analyze this better, since the logs are too generic to understand the issue. Or what would be a better way to achieve the creation of payloads for DEEP INSERT operations.


Thank you guys in advance.


Cheers.

Viewing all 2823 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>