Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all 1657 articles
Browse latest View live

Information on SAP Gateway of Hub Architecture

$
0
0

Hello Guys,

 

I have one doubt and need your help on this.

 

I am going to develop an OData using the Gateway  HUB Architecture with backend development.

 

For example : I have created the OData service in my crm backend system (Lets suppose ICD) using tcode SEGW and i am going to register it to system located(Lets say PGD) at DMZ.

 

Now i am deploying  my ui5 application in PGD system.

 

So when i am using my UI5 Application its going to hit the PGD System , from there how the ICD system gets called , where my actual logic has been written and the data is fetched.

 

In other way my question is how the PGD system is going to call ICD System.

 

Please explain.

 

Thanks and Regards,

Vikash


SEGW - Create transport request entry for whole project

Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten

How to Generate PDF Based on Multiple Selection from Query's Hit List

$
0
0

Hi All,

 

We have this requirement wherein user should be able to generate PDF file after selecting multiple entries from the hit list (result of a query) by ticking checkboxes. Can you please advise how could this be achieved? We have created OData Service for this one.

 

Thanks,

Jay

Odata Service Creation Using SEGW Transaction

$
0
0


Hi All,

 

I am trying to create an Odata service using one RFC that takes three input parameters and returns one structure as output parameter.

When I am trying to do mapping of Get Entity Set it is saying that key variable does not have output mapping. But my key variable is input parameter so I am unable to change the mapping direction of key variable.

Please some body suggest how to change the mapping direction of mandatory import parameters in get entity set query.

 

 

 

With Regards

Neha Pandey

Fetch data from mysql database into SAPUI5 application

Eclipse: unable to create a Gateway Connection

$
0
0

Installed SW (Frontend)

 

Backend

  • AS ABAP 7.40

 

Hello Collegues,

 

I've created a NW Gateway Service on the backend (Service is working correctly) and now I want to create a UI5 Application on the Eclipse site.

Before creating the project I have to create a Gateway connection first. But I'm getting a "Network Connection Error".

 

error.PNG

Connection data (host, port) is correct, also tried with IP instead of hostname already.

I'm getting the same error if I'm using the (new) ES Workspace data (sapes1.sapdevcenter.com, Port 80?).

 

Tried also on another PC, same error.

 

Any ideas?

SEGW - Method 'X_GET_ENTITYSET' not implemented in data provider class

$
0
0

Dear All,

 

My server environment is IWBEP IWFND in the SAP ECC server, I create a gateway project by importing Login RFC interface with the following parameters:

 

Input parameters

Username (text)

Password (text)

Ztype (text)

 

Export Parameters

EsTechnDetail (structure)

EsMsg (text)

SEGW Project.JPG

 

I tried to request the LoginCollection EntitySet on Gateway Client occurs the error as display on the below;

 

URL on Gateway Client : /sap/opu/odata/SAP/ZTEST3_SRV/LoginCollection


Error :

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

 

-<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

 

 

<code>/IWBEP/CM_MGW_RT/021</code>

 

 

<message xml:lang="en">Method 'LOGINCOLLECTION_GET_ENTITYSET' not implemented in data provider class.</message>

 

 

-<innererror>

 

 

<transactionid>557FEF69E2CD27DFE100000083010A17</transactionid>

 

 

<timestamp>20150623093428.0969950</timestamp>

 

 

-<Error_Resolution>

 

 

<SAP_Transaction>Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction>

 

 

<SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note>

 

</Error_Resolution>

 

-<errordetails>

 

 

-<errordetail>

 

 

<code>/IWBEP/CX_MGW_NOT_IMPL_EXC</code>

 

 

<message>Method 'LOGINCOLLECTION_GET_ENTITYSET' not implemented in data provider class</message>

 

 

<propertyref/>

 

 

<severity>error</severity>

 

 

<target/>

 

</errordetail>

</errordetails>

</innererror>

</error>


Please help.


Regards

Choong


Change/Enhance Generated Gateway Metadata

$
0
0

Is there a way to change the gateway generated metadata?  I understand that there Model Provider Extension Class which allows to manipulate some values however here is what I'm looking for.

 

Smart Filterbar and SmartTable controls require the attribute sap:filterable="true" or sap:required-in-filter="true".  While the gateway doesn't allow to set or return required-in-filter attribute but it does allow to set the filter field to true/false.  The default is true, so the meta doesn't return those values:

 

Capture.JPG

 

The examples from SAPUI5 Explored always contain embedded metadata with correct attributes set, hence work as expected, but they do not work with the gateway metadata.

 

I could modify the metadata and using the mock data make my code work, however I need to be able to do the same to the generated metadata until sap gateway team provides a fix or ui5 development interprets the metadata respecting the defaults.

 

Capture2.JPG

 

Appreciate any help from the Gateway gurus.

 

Thank You

"Wrong format of delivery address:" and "OData Client - notification to - - failed - HTTP" when sending Push Notifications via SAP Backend

$
0
0

Hi experts,

 

Recently I am trying out SMP Push Notifications using this documentation http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ab6d83-b7b8-3010-65bc-d7a08f0f35f3?overridelayout=true

 

I believe many of the configurations is done. So I decided to try out the SAP Standard Demo Flight Service "RMTSAMPLEFLIGHT" starting page 14 in the document .

 

I did all the tasks from running SubscriptionCollections via rest client to running the sample standard program /IWBEP/R_MGW_PUSH_TEST in the program the sending was apparently successful but when I checked tcode SLG1 for the log I got these messages

 

 

I am not sure what these messages mean but in the case of the delivery address I am not sure why the format is incorrect. Since i tried both format specified in page 15 of the document:

  • urn:sap-com:channel :<RFC destination>:<request URI>
  • http(s)://<host>:<port>/..

 

Here are the records in table /IWBEP/D_MGW_SUB

 

 

 

 

 

I would like to hear from all of you soon


Regards

Fetch data from mysql database into SAPUI5 application

How to setup dynamic serving of SAPUI5 applications based on User Agent ?

$
0
0


Dynamic serving is required to be setup where the server responds with different HTML (and CSS) on the same URL depending on the user agent requesting the page.

 

We require redirection to a BSP application based on the User Agent of the incoming request. For example : If the User Agent is iPad/Android/...any mobile/tablet device it should open one BSP application say :

sap/bc/ui5_ui5/sap/mobile_version and if the user agent is laptop/desktop device then it should open another BSP application : sap/bc/ui5_ui5/sap/desktop_version.

 

The User Agent property is part of the request header.



Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten

Issue in using the same parameter in the filter of a query operation

$
0
0

Hi,

 

I have created a Query service document which accepts a range of fields as filter parameters.

 

The following works

https://<...>/sap/opu/odata/<...>/<....>/<...>Collection?$filter=timestamp_date le datetime'2012-08-27T00:00:00'

 

The one that DOES NOT work.

https://<...>/sap/opu/odata/<...>/<....>/<...>Collection?$filter=timestamp_date le datetime'2012-08-27T00:00:00' and timestamp_date gt datetime'2012-08-18T00:00:00'

 

I also noticed that someone has already reported something similar as well.

http://scn.sap.com/thread/3170195

 

Is there a note that fixed this issue or this is a known limitation in the gateway?

 

Thanks for your help,

Yohan

SAP GW Service Builder - How to recover unintentionally deleted project

$
0
0

Hello everyone

 

I accidentally mangaged to delete the SRA016_PRICE_AVAIL (SAP Standard Service for Fiori App) project in SAP Gateway Service Builder. Don't ask me how this happend exactly. I most probable just misinterpreted something during my 1st redefinition trials with it.

 

Is there an easy way to recover the project data for it?

 

...DPC_EXT and ...MPC_EXT classes are still there.

 

Unfortunately I don't have a EDMX file of it to reload using the import function... if that would be the solution.

And unfortunately I even don't have another system to create the $metadata from it as it happend on our sandbox system.

 

The only way I can think about it right now is to restore the system from a recent backup we have. But this would have some other impacts I'd like to avoid if somehow possible.

 

Thanks in advance for any help on it!

 

Regards

Renaud


Access to Netweaver Consumption Demo

Eclipse: unable to create a Gateway Connection

$
0
0

Installed SW (Frontend)

 

Backend

  • AS ABAP 7.40

 

Hello Collegues,

 

I've created a NW Gateway Service on the backend (Service is working correctly) and now I want to create a UI5 Application on the Eclipse site.

Before creating the project I have to create a Gateway connection first. But I'm getting a "Network Connection Error".

 

error.PNG

Connection data (host, port) is correct, also tried with IP instead of hostname already.

I'm getting the same error if I'm using the (new) ES Workspace data (sapes1.sapdevcenter.com, Port 80?).

 

Tried also on another PC, same error.

 

Any ideas?

Remove Service Builder Project

$
0
0

Hi guys,

 

I stumbled upon the following issue:

I created a new project in Service Builder and removed it later on, I also deleted service and model in transaction SPRO but I cannot remove the GW Service Builder Project in se80, in fact I can't do anything with it! My intention was to delete the folder containing the project but even reassigning another package is not possible.

 

Any ideas?

 

Regards,

Thomas

Search Operation in Odata

$
0
0

Hello Experts,

 

I came to a situation where there are 4 search fields  and on clicking the search button the table entries should get filed.

 

Now the situation is out of this four search fields , two fields belongs to one entity set and the other two belongs to different entity set ,

 

I don't want to create a new entity which contains this four fields , then how i can do the search operation based on the value provided in the

 

text fields.

 

Kindly help on this.

 

Best Regards,

Vikash

Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten

Viewing all 1657 articles
Browse latest View live


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